Toshiba TOPAS900 user manual Software Description, IAR Tools, Embedded Workbench

Page 16

Users Manual TOPAS900 Flash V2.1

4.Software Description

The development software of TOPAS900 Flash can be chosen from two alternatives

Øthe Toshiba and

Øthe IAR Systems Environment.

Both are powerful tool sets for program development and debugging. The user can decide for either of them but should take into account that for debugging programs on TOPAS900 Flash board each environment has its own ROM-Monitor for supervising user programs. By default the IAR C-SpyROM-Monitor is installed and the on-board flash memory has to be reprogrammed by Toshiba TMPro Monitor before debugging.

Furthermore the IAR environment contains an outstanding, window-oriented processor simulator which can be used for off-line debugging before switching to on-line debugging on the board.

Both environments are described in the following.

4.1.IAR Tools

4.1.1. Embedded Workbench

When having decided for IAR environment user program development can be done by the embedded workbench. Choose “IAR Embedded Workbench” program group and click the workbench icon. The upcoming initial desktop should be used to load a project. The workbench is directed by project files which comprise all necessary setting for a user project. To get started, first of all open the demo project by loading the “DEMO.PRJ” file through the file menu from “IAR\EW22DEMO\T900”. From this project all new projects can be derived. The previous desktop is always regenerated. The way to change a project is explained in the respective help. The Demo project opens the directory “DemE900H” with a demonstration example. Before the demo is recompiled do the following changes to the project: select Project from the main menu and select Options. A dialog will pop up. Select the category C-Spy. Then choose Serial Communication on the right side. Select the COM port that is used for debugging with TOPAS900 Flash kit. The baudrate must be set to 38400 baud. After confirmation by clicking OK press the

debugger button of the tool bar on the top of the window. The project will be recompiled and the C-Spy will be launched. The connection to the TOPAS Board will be made and the debugger is ready to work with. The demonstration shows how to use terminal functions. To view the output of the demo open the Terminal I/O window.

After having loaded the Demo project the desktop looks like shown in fig. 4.

HWU Elektronik Oberhausen

Page 16

Image 16
Contents TOPAS900 Flash Preface Contents Figures Definitions and Abbreviations CPUKey Features of TOPAS900 Flash Package What is TOPAS900 Flash?Introduction Let’s start with TOPAS900 Flash What is in the box?Unpacking Glance at the TOPAS900 Flash Board SUBPrincipe of Connection Breaking off TOPAS900 Flash Board from Flash Carrier BoardPower Supply Hardware DescriptionProgramming and Debugging Board Firmware ProcessorControl Switches Reset and NMI Serial Communication, Connector and Line DriverConnector to Flash Carrier Board Status LEDsTMP95FY64F Microcontroller TMP95FY64 Schematic Block Diagram Kb Flash ROM Toshiba TC58F400 90 nsConnector to Programming and Debugging Board MCU Terminal ConnectorsKb RAM Toshiba TC551001 70 ns JumpersPage IAR Tools Software DescriptionEmbedded 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 F80000H FE0000H Toshiba ROM-MonitorF8C961H Restrictions of ROM-Monitor Usage Resource Type IAR C-Spy ROM-Monitor Toshiba TMPro ROMOperating Modes Functional DescriptionMCU Internal Memory Map Programming in Single Boot Mode Internal Mapping in different ModesNormal Operation Mode Memory MAPMemory Map for using external / internal Flash Jumper Description Jumpers of the Programming-Debugging BoardJumpers of the Flash Carrier 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