Toshiba TOPAS900 user manual Spy ROM-Monitor, IAR Tools Limitations

Page 18

Users Manual TOPAS900 Flash V2.1

In case of a direct start C-Spy will open a desktop with File”-“Open enabled. An executable file can be browsed then.

When starting C-Spy from the Embedded Workbench the executable file is defined by the project file. Hence, no definite settings have to be done in addition. Clicking the magnifying glass icon in the project bar starts the C-Spy Debugger

The C-Spy Debugger is a powerful tool for program debugging because it comprises a platform for real-time debugging in co-operation with the Monitor on TOPAS900 Flash board as well as an off-line, window supported controller simulator.

Consequently the user has to select between both:

In case of a direct start of C-Spy and trying to load an executable, a window named “Session Options” comes up in which “ST900” or “RT900” can be selected. Choose ST900 for invoking the simulator or RT900 to select the download to Monitor option.

In case of using the Embedded Workbench, before clicking the magnifying glass icon, in the “Project” menu the “Options...” have to be selected to adjust the debugger. Choose C-Spy from the “Category” and “Simulator” or ROM-Monitor to preset C-Spy. Then click the magnifying glass to invoke C-Spy.

In both modes the following C-Spy desktop is displayed. When coming up only the report window is displayed. All other windows can be opened on request and tiled like shown (Toolbar, Window).

4.1.3. C-Spy ROM-Monitor

The C-Spy ROM-Monitor is installed by default on TOPAS900 Flash board. For re- programming the on-board (external) flash memory with this monitor please refer to section 5.2. The yellow led does not flash in opposite to the Toshiba ROM monitor when the ROM monitor is executing. The speed of serial connection is 38400 baud This is very important to know when recompiling projects for the debugging environment. The Intel- hex file containing this monitor is IAR.h20.

4.1.4.IAR Tools Limitations

The Demo version of the ICCT900 compiler does not support the -A and -a options.

The Demo version of the ICCT900 compiler has a code size limit of 4K compiled code.

The Demo version of the AT900 assembler has a code size limit of 4K assembled code.

The Demo version of the EWT900 workbench has a code size limit of 4K linked code.

The Demo version of the EWT900 workbench does not include the command line versions of the assembler and compiler.

Use the supplied project file: <installation root>\t900\demo.prj to generate demo files for C-SPY simulator and ROM-monitor.

HWU Elektronik Oberhausen

Page 18

Image 18
Contents TOPAS900 Flash Preface Contents Figures Definitions and Abbreviations CPUWhat is TOPAS900 Flash? Key Features of TOPAS900 Flash PackageIntroduction What is in the box? Let’s start with TOPAS900 FlashUnpacking Glance at the TOPAS900 Flash Board SUBPrincipe of Connection Breaking off TOPAS900 Flash Board from Flash Carrier BoardProgramming and Debugging Board Power SupplyHardware Description Firmware ProcessorConnector to Flash Carrier Board Control Switches Reset and NMISerial Communication, Connector and Line Driver Status LEDsTMP95FY64F Microcontroller TMP95FY64 Schematic Block Diagram Kb Flash ROM Toshiba TC58F400 90 nsKb RAM Toshiba TC551001 70 ns Connector to Programming and Debugging BoardMCU Terminal Connectors JumpersPage Software Description IAR ToolsEmbedded Workbench Editing Sources Spy Debugger/SimulatorSpy ROM-Monitor IAR Tools LimitationsToshiba Tools Compiler, Assembler, Linker, ConverterCompile and Link \SAMPLE\TEST900 TMPro Debugger TMPro WindowHow to create a new debugging profile *.tdp Page TMPro ROM-Monitor Toshiba Tool Limitations ROM-Monitor Memory Usage Toshiba ROM-Monitor F80000H FE0000HF8C961H Restrictions of ROM-Monitor Usage Resource Type IAR C-Spy ROM-Monitor Toshiba TMPro ROMFunctional Description Operating ModesMCU Internal Memory Map Programming in Single Boot Mode Internal Mapping in different ModesNormal Operation Mode Memory MAPMemory Map for using external / internal Flash Jumpers of the Flash Carrier Board Jumper DescriptionJumpers of the Programming-Debugging Board Programming of Flash MemoryFlash Programmer Window Board Schematics Technical SheetsSchematic Page 1 Schematic Page 2 Schematic Page 3 Schematic Page 4 Component Print Component Print Top & Bottom ViewPCB Routing PCB Routing Top & Bottom ViewApplication Board Application Board∙ TOPAS900 can Electromagnetic Compatibility