Home
Toshiba TOPAS900 Network Card User Manual
Contents
1. 31 Figure 12 Map for Internal Flash Programminsg 32 Figure 13 Memory for using external internal Flash 33 Figure 14 Flash Programmer Window Figure 15 Schematic Page 1 of 4 Figure 16 Schematic Page 2 eee 0 aaa OO Figure 17 Schematic Page 3 of 4 u eee Sasia hasqa 39 Figure 18 Schematic Page 4 4 9 eee enses 40 Figure 19 Component Print Top amp Bottom View 41 Figure 20 PCB Routing amp Bottom View 42 Figure 21 The Application Board 43 H H 8 9 9 HWU Elektronik Oberhausen Page 4 Users Manual TOPAS900 Flash V2 1 Definitions and Abbreviations Application Board Chip C Spy CE CPU Embedded Workbench EMC IAR MCU Microcontroller RAM ROM RTE ROM Monitor Program PCB TMPro Debugger TOPAS900 CAN TOPAS900 Flash II TOPAS900 Standard Windows HWU Elektronik Oberhausen Separate av
2. Single Chip Mode Single Boot Mode 000000H oo0000H _ IntemalUO 160Byle Internal lO 1 amp 0Byte 0000 0H 0000A0H intemal RAM 8KByte Intemal RAM BKByte 0020A0H 0020A0H External Area 010000H 52 internal 256KByte Flash memory External Area j O4FFFFH j 050000H External Area FCO000H FFFBOOH Internal 256KByte Internal 2KByte Flash Memory Boot MROM FFFFOOH p FFFF00H Interrupt 256Byte Interrupt 2568yte Vector Vecior FFFFFFH J FFFFFFH Figure 11 Internal Mapping in Single Boot and Single Chop Mode 5 1 3 Programming in Single Boot Mode The TMP95FY64 flash controller comprises 256 Kbytes of internal on chip flash memory For first time programming of this memory a small portion of internal program located in an internal Boot ROM area has to be activated This is done by resetting the controller and restarting it by holding the BOOT line initially to Low The controller then runs in SINGLE BOOT mode see also controller manual executing a program from Boot ROM for programming the internal flash from a serial line For this programming action the internal flash is switched to addresses from off 10000h see fig 5 6 Handling of the BOOT line and programming from PC is managed by a small additionally implemented 8 bit controller TMP87P808 HWU Elektronik Oberhausen Page 31 Users Manual TOPAS900 Flash V2 1 MEMORY MAP Boot Memory Boot ROM Reset Con
3. saq 04 209 aa aaa LODULOOINId ONS Ig ADIASSEANL 2 2 001 eov rij lev 02 Sv aly ay 91 TY ey ev uv ow 50v Bor 107 90 50 vOv 207 lov 009 922 Schematic Page 1 of 4 Figure 15 Page 37 HWU Elektronik Oberhausen Users Manual TOPAS900 Flash V2 1 002 sesmar b Z Anna HE 9L papos 45913 00657001 awon 100339 suoi 4e 3 asd p100q1311J02 40129uuoo2 LUD ABO SNOW 9 6 9 6 aa SUONTE 1 SAE MI DEON jasay 28 4 5099 va ana Pen bal pov a 92 2 Sz Fnan 0 TE tNIN Te rnan 12 02 61 BI PnoN ZI FNON 9 1 L FNIN EI FNIN zL 902A II 02A 01 6 Fnan B FNIN 4 9 n2N 5 2 92 2 S amp c naon FZ ENIN gz enan zz endn L 02 02 non 61 215 81 612 k en AL ENON Ss cnaW FI ENIN SI ENIN iL enan 01 n2IN 6 n2W 8 EnIN L ENIN 9 ENIN noN z n9n 05 OA lt l 660 860NId BDNId 96DNId S6DNId T60Nld EBDNId m lt O
4. Z 00 y DS adoz __ ZHNDZ gi sY 91 3906 DcONId Un 84 90 IIA QNS 93 059 00 05277 004001918 0084 2l ce IIA 901 7434A SSAV 91 SSA SSA SSA 3 LLnova 0110 0 YMH Zd 03 0Gd ONY 9 Yd CNY S d 9410 ONY D d Lx 00X1 08d 00XH I8d LOXL EBd 1512 4125 984 0812 0312S z8d 2812 23198 46d OLNI 9Sd LIVM SSd XvSnB v5d Dusna ecd 801 v01 96d 81NI 8IL G6d LANI YIL t d 601 69 801 26 S1NI BIL 16d G1NI BI1 06d 1 052 094 159 199 53 94 255 294 HII8A 22 224 224 8 710 819 510 514 zIQ vid Wa eld ola zld g0 Old 19 204 90 904 50 604 z z0 d 1d 10d 00 00d 313 201 924 501 4 ZLNI EOL ZLd 101 ILNI OLL OZd INN SOA 129 684 Uzv vZd Oed Gly ied FLV 9Ed ely Sed vV t d v e d ted 69 154 0 4 1008 L led Bv grd Gv Gbd 2 0Y 0td on 090 14 BSONId BSONId GONId ISONId 580419 FSONId ESONId 200
5. Programm amp Debug Boord cT 08 Dur gt 2 lt t 2 gt A i 1 gt m a Figure 18 Schematic Page 4 of 4 HWU Elektronik Oberhausen Page 40 Users Manual TOPAS900 Flash V2 1 6 2 Component Print J_CS2 MCU1 000000000000 _650 Figure 19 Component Print Top amp Bottom View HWU Elektronik Oberhausen Page 41 Users Manual TOPAS900 Flash V2 0 7 Application Board To demonstrate how useful microcontrollers can be for industrial solutions and in common applications a hardware extension board the Application Board has been developed The picture below shows the Application Board Figure 21 The Application Board With its hardware components and their corresponding software drivers a lot of different applications can be developed very quickly without the common overhead of driver development The software developer can concentrate on developing algorithms for solving specific problems instead of spending time in things that have been developed many times before The Application Board package comes with a set of software modules to ensure short development cycles and to give enough software samples that demonstrate the way of
6. F80000H MEMORY MAP Boot Memory external ROM Reset Conditions EA L BOOT H Internal 160 bytes Internal RAM 8K bytes external memory external memory External RAM 128 K bytes External Flash Memory 512 K bytes ext ROM Vector table 256 bytes Figure 13 Memory Map for using external internal Flash For programming the external flash the EA line has to be set High which can be derived by opening the jumper EA see fig 1 at the right top and in the schematic fig 10 at the bottom in the middle The map of fig 7 is valid and the external flash can be programmed supported by the 8 bit controller For normal operation and debugging it is important that the system starts from external flash i e the vector table and the firmware have to be located and to be started from there Like shown in the map of fig 8 the external flash is located from off address F80000h to FFFFFFh including the vector area For running in normal operation the jumper EA can be left open because the EA line is controlled by the firmware controller If the Flash Carrier Board works stand alone without Programming and Debugging Board the jumper must be set when external HWU Elektronik Oberhausen Page 33 Users Manual TOPAS900 Flash V2 1 flash software should be executed If the jumper is left open the EA pin is pulled up by a 10k pull up resistor and the Flash MCU boots from internal flash memory W
7. Gb 119244035 4593 0065 901 Hquig 9140324213 pioog bnqeg 1 044 ana t I IONS M lt 18 5 24 18 5 gt i 5 8 SI gt f 6 1ansa gt t a 28 5 g om 3 z z ignsa URE g r p B lansa gt N E gt e ansa gt 091 g Sc 184 ef ansa go ul n ri H lt 5 9 18 50 gt 8 Old and __ r u u e es L ansa gt g A j 7 4 9 ard 1 4 a 3 WDI 42 l 42 25 012 T 0 Hd Zi AT 4 I2 ua z d Qld 4 2 z i al zi Nr 2925 20 83M 82 11 m 9i eg a ul 6 4 Sld a IR 8 e2xvN ic 529 Eld m N Y 2 999 bla g H 7 94 294 4 5 Pry 3 een Tee 994 4 99916 9d 1 5 32 o l E a 9ds31 ddA gt sole iv 1989 nx hj IT ig z 222 ad ano 8c N 0 6 oo 809d29d 1 zb lt r TORI Sal 8 9 0 Terasse a El IT eio a aT ym lt 031 idi 3002 912 OO 40128uuo02 amar waa 4 Schematic Page 3 of 4 Figure 17 Page 39 HWU Elektronik Oberhausen Users Manual TOPAS900 Flash V2 1 WU Elekrtonik GmbH TEPASDIU fisat 5
8. Certificate from a competent body as defined by 2 no 8 of the EMC Act within the meaning of 5 2 EMC Act or Article 10 2 of the Directive on compliunce with the protection requirements Certificate No 0012 99 Holder of Certificate HWU Elektronik GmbH 46145 Oberhausen Germany Manufacturer HWU Elektronik GmbH 46145 Obertiausen Germany Technical report date 0013 99 from 1999 01 13 Object identification TOPAS900 Flash Object description MCU Elash Starterkit Number of pages of the enclosure 6 This certificate of conformity was issued in accordance with Article 10 2 of the Council Directive 89 336 EEC on the approximation of the laws of the Member States relating to electromagnetic compatibility implemented in the Federal Republic of Germany by 8 5 2 of the Electromagnetic Compatibilily Act EMVG of 28 September 1998 Federal Law Gazette p 1118 This certificate does not testify to compliance with the EMC protection requirements of other laws implementing Directives of the European Community other than Council Directive 89 336 EEC Place date Head of Competent Body 44227 Dortmund 1999 01 13 LV Uwe R rden Version EIS HWU Elektronik Oberhausen Page 45
9. Board with 95 64 The lines are EA BOOT and RESET With these lines the target processor can de driven into several modes that are selected by the rising edge of the RESET input Please refer to the manual for further information on Single Boot Mode Single Chip Mode and Multi Chip Mode Also read the information given by the memory maps later in this manual To control the target system the firmware is listening to the serial communication for certain binary control sequences that are generated by the Windows based Flash Programming Tool If a control sequence match is detected the firmware processor switches the target system into the required mode 3 1 2 Power Supply The power supply is mainly build by the net plug and a 5V voltage regulator Because the board has no on off switch unplug the power plug from the board when connecting or disconnecting the target or when connecting the Flash Carrier Board to another application The input power at the board s power plug can be up to 12 V DC HWU Elektronik Oberhausen Page 10 Users Manual TOPAS900 Flash V2 1 3 1 3 Status LEDs There are two status LEDs on the board red one and a yellow one The red Led is controlled by the firmware processor and the yellow led is driven by the Flash MCU on the Flash Carrier Board The yellow Led can be used as a very simple output device to show a internal state Take a look at the LedDim sample to see how a Led can be dimmed by pulse wi
10. Flash V2 1 2 Let s start with TOPAS900 Flash Now it is time to start with TOPAS900 Flash The first step is to unpack everything and to connect the power supply and the serial connection to the PC 2 1 What is in the box After opening the box you should check whether all of the components listed below are present One TOPAS900 Flash PCB Programming and Debugging cable 10 cm 10 pin connectors Standard serial null modem connection cable 9 pin D sub connectors Net plug for power supply e TOPAS900 Flash installation CD ROM e Quick Start print 2 2 Unpacking Please unpack everything delivered in the box carefully IMPORTANT NOTE Avoid touching any electronic components due to possible static discharge HWU Elektronik Oberhausen Page 7 Users Manual TOPAS900 Flash V2 1 2 3 Glance at the TOPAS900 Flash Board After removing the plastic cover from the PCB you should see the following for the picture below the cable connection between the Programming and Debugging Board and the Flash Carrier Board has been removed to avoid covering components this cable must be plugged in by default RS232 Connector Firmware Processor RESET and NMI EA external access Flash MCU D SUB 9 TMP87P808 Switches Jumper TMP95FY64F Scratch on PCB to break off AT gory GED a Power Jumper for Carrier Programming Board lt gt Connector Status LED Board Vcc Carrier Board Connectors Chi
11. at 25MHz 2 Minimum instruction execution time 160ns at 25MHz 3 Internal RAM 8Kbyte Internal ROM 256Kbyte Flash memory 4 External memory expansion Can be expanded up to 16M byte for both programs and data AM8 16pin select the external data bus width Can mix 8 and 16 bit external data buses Dynamic data bus sizing b 8 bit timer 8 channels Including event counter function 2 channels 16 bit timer event counter 2 channels Serial interface 3 channels 10 bit A D converter 8 channels 8 bit D A converter 2 channels 0 Watchdog timer 1 Chip select wait controller 4 blocks 2 Interrupt functions 45 Interrupt sources 9 CPU interrupts SWI instruction and Illegal instruction 26 Internal interrupts 7 level priority can be set 10 External interrupts 7 level priority can be set 13 I O ports Single chip mode 81 pins Multi chip mode 55 pins at AM8 16 H 14 Standby function 4 HALT mode RUN IDLE2 IDLE1 STOP 15 Operating Voltage Vcc 4 5 to 5 5V 16 Package 100pin QFP LFFP100 P 1414 0 50C Thickness 2 4mm 6 7 8 9 1 1 1 To get an overview on the internal organization of the TMP95FY64 let s have a look to its schematic block diagram HWU Elektronik Oberhausen Page 12 Users Manual TOPAS900 Flash V2 1 ANO AN2 PA0 gt Sa VOU ANS ADTRG PA3 gt gt 900 H CPU lt vSSI3I AN
12. developing embedded systems with Toshiba microcontrollers The software modules are 4 bit bi directional LCD Panel driver PC driver PC master protocol LM 75 temperature driver SPI bus driver ST95040 serial EEPROM driver keyboard matrix input driver A D conversion driver serial RS232 line driver For all software modules the hardware components are available on the board and can be tested directly Additionally there are some applications that uses the software modules to show how more complex applications are to be developed One of these examples is a digital HWU Elektronik Oberhausen Page 43 Users Manual TOPAS900 Flash V2 0 thermometer that uses PC bus driver the LM75 temperature sensor and the LC display for data output The Application Board is compatible with TOPAS900 Standard e TOPAS900 Flash IT TOPAS900 CAN The Application Board hardware is a separate product and therefore is has to be ordered separately The Application Board Software is part of TOPAS900 Flash and will should be installed to C AppBoard For actual software versions please refer to our Web Site www hwu de HWU Elektronik Oberhausen Page 44 Users Manual TOPAS900 Flash V2 0 8 Electromagnetic Compatibility EMC TESTINE Competent Body EMC Test NRW GmbH electromagnetic compatibility Emil Figge Strafte 76 44227 Dortmund accredited by the Federal Office for Posts amp Telecommunications of the Federal Republic of Germany
13. is started automatically with all the setting contained in the profile Profile Setup is Complete Save profile file name dp Browse 4 2 3 TMPro ROM Monitor Using the Toshiba environment makes need of changing the ROM Monitor in TOPAS900 Flash board because the IAR C SPY Monitor is installed by default For programming the on board external flash memory with the TMPro Monitor please refer to section 5 2 The file that is to be programmed into external flash ROM is named Toshiba h20 The speed of serial RS 232 link to the PC is always 38400 baud After starting the monitor by pressing the reset button the yellow led flashes to show that the monitor is running HWU Elektronik Oberhausen Page 25 Users Manual TOPAS900 Flash V2 1 4 2 4 Toshiba Tool Limitations CC900 comes in a limited version with TOPAS900 Flash These restrictions are to be noticed The C compiler has a limit of 2000 lines per file The delivered tools are not supported and no subject of further development or maintenance HWU Elektronik Oberhausen Page 26 Users Manual TOPAS900 Flash V2 1 4 3 _ROM Monitor Memory Usage 4 3 1 IAR ROM Monitor Memory Usage of ROM Monitors Enviroment IAR Target 5900 Flash II 000000H Internal VO 000100H Internal RAM 8K bytes 0020A0H F80000H External Flash Memo m mE FE0000H External RAM B ii FFFF00H Vector table ROM Monitor uses R
14. 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 Users Manual TOPAS900 Flash V2 1 inn Embedded Workbench demo prj m Common sources Figure 5 Embedded Workbench Desktop with Project Window Editing Sources The workbench contains a powerful source code editor The editor is tailored for C code The C syntax is highlighted by colors and intensity and on request bookmarks and or line number can be displayed Functions like cut amp paste find amp replace are included as well as bracket matching on request Compiling and Linking By selecting Project from the
15. which give a short description Please refer to the TMPro help file for further information topic Starting the Profile Wizard and Wizard Processing Launch the TMPro Debugger by clicking its icon in the start menu 8 e Select New Profile from the File menu e A dialog will come up and requires information about the connection Select the COM port that is used for the serial connection to the TOPAS900 Flash Board The DTE E98 mc Speed must be set to 38400 baud as MOM pu e shown on the left side Confirm this dialog for next step After My Computer confirmation the serial connection to the TOPAS900 Flash board s ROM monitor is established ch Abbrechen Hilfe HWU Elektronik Oberhausen Page 23 Users Manual TOPAS900 Flash V2 1 e The fields of this dialog concerned with the Real Time Emulation System RTE from TOSHIBA No changes can be mage here so just confirm this dialog for the next step e The fields of this dialog show the memory mapping of the TOPAS900 Flash Board Because of limitations of the ROM Monitor no changes can be mage here so just confirm this dialog for the next step Load Object File enter the object file of the project that should be load by TMPro Debugger Click the Browse button to select the ABS file of your project Source Search de ae Path the path informa
16. 0 Flash Board 2 4 Principe of Connection 3 Hardware Description 00 1 S 0 3 1 Programming and Debugging Board 3 1 1 Firmware Processor 3 1 2 Power Supply 3 1 3 Status LEDs 3 1 4 Control Switches Reset and NMI 3 1 5 Serial Communication Connector and Line Driver 3 1 6 Connector to Flash Carrier Board 3 2 The Flash Carrier Board 3 2 1 TMP95FY64F Microcontroller 3 2 2 512 kb Flash ROM Toshiba TC58F400 90 ns 3 2 3 128 kb RAM Toshiba TC551001 70 ns 3 2 4 Connector to Programming and Debugging Board 3 2 5 Terminal Connectors 3 2 6 Jumpers 4 Software Description 4 1 IAR Tools 4 1 1 Embedded Workbench 4 1 2 5 Debugger Simulator 4 1 3 C Spy ROM Monitor 4 1 4 Tools Limitations 4 2 Toshiba Tools 4 2 1 Compiler Assembler Linker Converter 4 2 2 Debugger 4 2 3 ROM Monitor 4 2 4 Toshiba Tool Limitations 4 3 ROM Monitor Memory Usage 4 3 1 IAR ROM Monitor 4 3 0 Toshiba ROM Monitor 4 4 Restrictions of ROM Monitor Usage 5 Functional Description 5 1 Operating Modes HWU Elektronik Oberhausen Users Manual TOPAS900 Flash V2 1 5 1 1 MCU Internal Memory 30 5 1 2 Internal Mapping in different Modes 31 5 1 3 Programming in Single Boot Mode 31 5 1 4 Normal Operation Mode 32 5 2 J
17. 4 AN7 PA4 PA7 10BIT 8CH VREFH AID XWA m kK x1 VREFL CONVERTER XBC gt x avss XDE D E t gt ck XHL H L lt AM8 16 L XIX IX lt EA gt 8BIT 2CH XIY en DAOUTO 1 lt DIA XIZ IZ CONVERTER XSP sp PORT 0 lt gt P00 P07 D0 D7 lt BR F PORT 1 lt lt gt P10 P17 D8 D15 PC TXDO P80 80 lt gt sERALUO RXDO P80 2 jur SCLKO CTSO P82 lt gt 0 PORT2 gt P20 P27 A16 A23 TXD1 P83 lt RXD1 P84 lt gt SERIAL V O WATCHDOG SCLK1 CTS1 P85 lt gt eun TIMER PORT3 lt gt P30 P37 A8 A15 en em seikass PORT4 gt P40 PA7 A0 A7 gt RD Ps0 gt WR P51 TIO INT1 P70 8BIT TIMER 8KB RAM PORT 5 lt gt gt HWR P52 TIMERO lt gt BUSRO P53 TOMP71 gt TIMER lt gt BUSAK P54 lt gt WAIT P55 CS WAIT gt CSO P60 8BIT TIMER CONTROLLER gt CS1 P61 TIMER2 4 BLOCK gt CS2 P62 gt CS3 P63 8BIT TIMER TOSINTAET2 lt gt C TIMERS 256KB Flash INTERRUPT lt J NMI 8BIT TIMER CONTROLLER lt gt INTO P56 TIAINTS PT3 TIMERA TO5 P74 lt p lt gt TI8 INT5 P90 gt TI9 INTG P91 16BIT TIMER lt gt gt 08 92 8BIT TIMER TIMERB gt TO9 P93 TIMER6 Ju B
18. 44051554 41010545 07 53 29 Rpt E1B 000 00 Restoring other tools 07 53 29 Rpt E03 000 00 Loading profile complete D Programme TOPAS900F lash SAMPLE Test 900 Leddim LedDimCOM2 tdp 07 53 34 Wrn FF2 411 00 Read out of Memory map adr 0x209A209C len 0x0004 07 53 50 Wrn FF2 411 00 Read out of Memory map adr 0x209C209C len 0x0004 STOP S For Help press F1 Figure 7 TMPro Window When using the Toshiba environment there has to be a connection between the TMPro Debugger on the PC and the respective Monitor monitor toshiba h20 being started on TOPAS900 Flash board Hence in beforehand the TOPAS900 board has to be connected and active which is notified by the quickly flashing yellow LED Invoking the TMPro Debugger sets up the serial transfer line Important to know when creating new debugging profiles is the fixed communication speed of 38400 baud The success in setting this connection can be watched by LED stopping to flash a short while and subsequently the Monitor will change the ratio of flashing to ca 1 5 Hence both the Debugger and the Monitor are ready to work together Executable user programs are those with extension ABS Some small experimental examples can be found in the directory SAMPLE TEST900 Select menu FILE HWU Elektronik Oberhausen Page 22 Users Manual TOPAS900 Flash V2 1 LOAD to load a program The TMPro Debugger displays the source code in the source window and aut
19. 5GNId 03 083 dev lov 0 EOY 0 Gov 80v 20 BOY BOY b aly e civ EIN viv Si aly N ay 2 5 50010 00 00 20 104 204 gt 22 FON UNId FORTE ECON d HON ZYUNId SEONId ONId UNId ONId BOOKA WOON TOON JOONIA UURId D gt 9z non sz znon EZ ZNIN zc znoW 1 znon O0c cnon 8l znan el znaon LI ZNON gl 2n0N S znon tI ZNIN I ZNIN 01 22 6 zn2n g znan z znan g znan enoN amp znaw z enan 282 119 amp c Inoan FE INDN c 1n2n 105 1 Oc InON 81 119 21 1094 SILNIH 01 1 6 8 12 9 1nIN 9 LNIN LNIN L02N ung J103129uuoo2 Ipuia ININ Schematic Page 2 of 4 Figure 16 Page 38 HWU Elektronik Oberhausen Users Manual TOPAS900 Flash V2 1 E HOB tza 007 iom
20. ATEMPSFI2mon h20 Figure 14 Flash Programmer Window All bars and icons are self explaining It should be noticed that either internal or external flash memory can be selected and programmed Files to be downloaded have to be in HEX16 or HEX20 format Conversion tools are available in both tool sets It is important to mention that the ROM Monitors have to be located in the external flash Hence the reprogramming procedure is to choose the access External Flash then Erase Flash then open alternatively the files iar h20 for or toshiba h20 for Toshiba ROM Monitor and then Program Flash Both files are to be found in Program Files topas900flash monitors HWU Elektronik Oberhausen Page 35 Users Manual TOPAS900 Flash V2 1 Technical Sheets 6 1 Board Schematics The schematics of the complete TOPAS900 Flash board are given in the following four pages HWU Elektronik Oberhausen Page 36 Users Manual TOPAS900 Flash V2 1 yog SZ 10027 9660781 winjog yanoy 3141232045 48014 DDESYAOL HAND XIN0313313 x0 kaput 20 SSA 8 3 ssa ge 1 Oe au asd 3148 EC 55 ZeDNId 000 p100qJ91J102 NOZL 100t 46ZN col 0 y 215 ERLE Fr O var v S00NId 2454 p 0cd 4 TOONId
21. ESET FFFF00 256 bytes RxD2 FFFFFFH Figure 8 Memory Usage of IAR ROM Monitor HWU Elektronik Oberhausen Page 27 Users Manual TOPAS900 Flash V2 1 4 3 2 Toshiba ROM Monitor Memory Usage of ROM Monitors Enviroment Toshiba Target 5900 Flash ll 000000H Internal 0000A0H Internal RAM 8K bytes 0020A0H external memory F80000H External Flash Memo B mE FE0000H External RAM m _ FFFFOOH Vector table ROM Monitor uses RESET FFFFOO 256 bytes RxD2 ELM FFFFFFH Figure 9 Memory Usage of Toshiba ROM Monitor HWU Elektronik Oberhausen Page 28 Users Manual TOPAS900 Flash V2 1 4 4 Restrictions of ROM Monitor Usage The table below lists the restrictions that are caused by the usage of the ROM monitor software Resource Type IAR C Spy ROM Monitor Toshiba TMPro ROM ROM Address Space 0xF80000 0xF868FF Monitor OxF80000 0xF8CAFF RAM Address Space 0x000100 0x0006FF 0x000700 0x0007FF OxFEO000 0xFEO01 F1 OxFEFDOO OxFEFFFF OxFE0000 0xFEFFFF Interrupts RESET SWI7 RxD2 RESET NMI SWI7 RxD2 DO D7 A0 A18 RD IWR CS0 CS2 TxD2 RxD2 BOOT DO D7 A0 A18 RD IWR CS0 CS2 TxD2 RxD2 BOOT DI forbidden clock speed fixed 20 MHz HWU Elektronik Oberhausen DI forbidden clock speed fixed 20 MHz Page 29 Users Manual TOPAS900 Flash V2 1 5 Functional Description 5 1 Operating Modes Besides I O pa
22. OBO c TIA INT7 P94 8BIT TIMER 99 16BIT TIMER lt gt gt TIB INT8 P95 75 lt lt gt lt gt TOA TOB P98 Figure 4 TMP95FY64 Schematic Block Diagram 3 2 2 512 kb Flash ROM Toshiba TC58F400 90 ns This memory component is soldered on the bottom side of the PCB It has a size of 512 kb The chip can contain any software and data that fit into 512 kb On delivery it contains the IAR ROM monitor The device can be addressed in 8 bit byte or 16 bit word organization In case of the present starter kit it is wired by an 8 bit data bus The disadvantage of lower operating speed is equalized by the gain of 8 port pins that are free for application purposes The external flash ROM is addressed by 19 address lines A0 18 The data lines are D0 D7 and the chip is selected by CS2 pin of MCU The type of operation is selected by the WR and RD line accordingly The BYTE input is fixed to low level so that the byte mode is activated HWU Elektronik Oberhausen Page 13 Users Manual TOPAS900 Flash V2 1 Please refer to the memory maps to get information about the address range of the chip in memory 3 2 3 128 kb RAM Toshiba TC551001 70 ns This memory component is soldered on the bottom side of the PCB It has a size of 128 kb and is organized in 8 bit words It is addressed by 17 address lines A0 16 The data lines are DO D7 and th
23. Users Manual TOPAS900 Flash V2 1 TOPAS900 Flash TOshiba Program development and Application System Users Manual HWU Elektronik GmbH TOSHIBA Electronics Europe GmbH HWU Elektronik Oberhausen Page 1 Users Manual TOPAS900 Flash V2 1 Preface Thank you for placing your trust in this HWU Elektronik product In choosing this starter kit you have decided for the powerful microcontroller family TLCS 900 from Toshiba The starter kit TOPAS900 Flash will help you to get familiar with this MCU family and will open up some of the opportunities of TMP95FY64F to you About this manual This manual provides all the information you will need to get the best out of TOPAS900 Flash The accompanying utilities are described and you will find detailed information about them Changes to this manual HWU Elektronik products are subject to continual further development It is therefore possible that the printed documentation does not always correspond to the latest release However Information about the latest changes is always to be found in the README files on the installation CD ROM Furthermore check our Web Site for latest versions patches or updated software HWU Elektronik Oberhausen Page 2 Users Manual TOPAS900 Flash V2 1 Contents Definitions and Abbreviations 1 Introduction 1 1 What is TOPAS900 Flash 2 Let s start with TOPAS900 Flash 2 1 What is in the box 2 2 Unpacking 2 3 A Glance at the TOPAS90
24. ailable board for TLCS 900 with application components as LCD Keys EEPROM LEDs etc Means an integrated circuit a high integrated semiconductor Debugger from IAR Systems designed for Windows European Conformity Central Processing Unit Integrated Development Environment of Systems for Windows Electromagnetic Compatibility Short form for IAR Systems Micro Controller Unit CPU with On Chip peripherals for embedded systems Random Access Memory Read Only Memory Real Time Emulator high end system with many real time debugging functions e g time measurement access breakpoints events trace buffer etc Communicates with a debugger TMPro C Spy and provides debugging capabilities for TLCS 900 based MCU boards It is a low cost version with a subset of debugging facilities of an RTE Printed Circuit Board Toshiba s debugger for TLCS 900 series Name of a starter kit for TMP95PS54 MCU Name of a starter kit for TMP95FY64 MCU Name of a starter kit for TMP93CS41 MCU Windows is a registered trademark of Microsoft Corporation In this manual Windows stands for Windows95 98 NT Page 5 Users Manual TOPAS900 Flash V2 1 1 Introduction Because TOPAS900 Flash is a technical product using high end electronic components it is worth to read the whole manual to get most out of this product and to avoid possible damage in case of unintended misuse The following chapters describe how to set up the hardwa
25. ams should be plain ASCII text edited by regular text editors like Windows Editor WORDPAD or others The extensions of the filenames should be for C language programs and ASM for assembler programs HWU Elektronik Oberhausen Page 19 Users Manual TOPAS900 Flash V2 1 Compile and Link Preparing programs for execution 1 compile and link can be done by single DOS command line invoking a so called driver for C programs 900 driver and for Assembler programs mac900 driver For further information on drivers please refer to the language tool operation manual Please notice that the drivers additionally invoke the linker tulink For linking a linkage command file is needed with the extension is needed The usual filename extension is LNK or This file defines the desired mapping of variables and of program code to memory addresses Examples of linkage command files to fix user programs into TOPAS900 memory please refer to the examples in SSAMPLE TEST900 directory In all subdirectories are files named MAKE BAT Executing these files will compile and link the sample projects Detailed information can be found in the respective manual The user always should add the assembler file STARTUP ASM to the link command which embeds user programs into some initializing code and should use the linkage command file SAMPLE LNK which sets the correct target address space The STARTUP ASM
26. be connected as the scheme below demonstrates Net AC Power Net Plug Flash rogramming amp Debugging aad Null Modem Cable RS232 with 38400 baud Windows based PC Figure 3 Principe of Connection HWU Elektronik Oberhausen Page 9 Users Manual TOPAS900 Flash V2 1 3 Hardware Description TOPAS900 Flash consists of two boards Programming and Debugging Board and Flash Carrier Board 3 1 Programming and Debugging Board As the name betrays this board is for programming and debugging purposes firmware processor TMP87P808P is listening the serial data communication between PC and the TOPAS900 Flash board The firmware reacts on special data sequences to switch the target processor to several modes The Programming and Debugging is composed of the following components to understand the design in detail itis recommended to make a print out of the schematics shown at the end of this manual Firmware Processor Power supply Status LEDs Control Switches Reset and NMI Serial Communication Connector and Line Driver Connector to Flash Carrier Board 3 1 1 Firmware Processor A Toshiba 87 808 8 bit microcontroller of the TLCS 870 family is used It is driven by an 8 MHz quartz resonator The processor drives control lines of the target system Flash Carrier
27. ditions EA H BOOT L single boot mode 000000H En 160 bytes Internal RAM 8K bytes 0020A0H 010000H Internal Flash ROM 256K bytes O4FFFFH RAMSTART External RAM 128 K bytes ROMSTART External Flash Memory 512 K bytes FFF800H Internal Boot ROM FFFFFFH ROMSTART is programmed by CS2 registers RAMSTART is programmed by CS1 registers Figure 12 Map for Internal Flash Programming 5 1 4 Normal Operation Mode For normal operation the BOOT line is switched to High which disables the Boot ROM In this mode there are two possibilities for mapping the internal flash memory determined by the EA external address line The TOPAS900 Flash board has external flash memory for the ROM Monitors and or user programs and external RAM mainly for program debugging The EA line enables disables the internal flash and performs the mappings shown in fig 7 and fig 8 HWU Elektronik Oberhausen Page 32 Users Manual TOPAS900 Flash V2 1 MEMORY MAP Boot Memory internal ROM Reset Conditions EA H BOOT H Internal I O 160 bytes Internal RAM 8K bytes ROMSTART 000000H 000000H 0000A0H 0000A0H 0020A0H 0020A0H ext ROM 512 K bytes RAMSTART External RAM 128 K bytes 0000 Internal Flash ROM 256K bytes int FFFF00H FFFF00H Vector table 256 bytes FFFFFFH FFFFFFH ROMSTART is programmed by CS2 registers RAMSTART is programmed by CS1 registers
28. dth modulation 3 1 4 Control Switches Reset On the Programming and Debugging Board two switches keys are mounted The Reset switch resets the firmware processor After reset it lets boot the Flash MCU from external flash memory Normally the external memory contains one of the two ROM monitors IAR Toshiba The second switch is to give a falling edge to the Flash MCU s NMI non maskable interrupt input The Toshiba ROM monitor reacts with stopping the user software if it runs 3 1 5 Serial Communication Connector and Line Driver The serial communication is build by a null modem cable connected between the PC and the TOPAS900 Flash Board For connection the board has a 9 pin D sub male connector To adapt the level between RS 232 and TTL a common RS 232 line driver is used The serial communication between PC and firmware controller uses the parameter 9600 8 1 This baudrate is only used for control commands The communication speed between Windows Software and MCU on the Flash Carrier Board is always 38400 baud The communication uses the TxD and RxD lines only These two lines are directly wired with the 10 pin connector to the Flash MCU The firmware controller is connected in parallel Both the firmware processor and the Flash MCU are connected to the RxD and TxD line To avoid both processors sending data to the same line the firmware processor switches it TxD output to high impedance when it is not used by the firm
29. e EWT900 workbench does not include the command line versions of the assembler and compiler e Use the supplied project file installation root gt t900 demo prj to generate demo files for C SPY simulator and ROM monitor HWU Elektronik Oberhausen Page 18 Users Manual TOPAS900 Flash V2 1 e The project file assumes that the workbench has the installation root directory C IAR EW22DEMO 4 amp CSPY DemE900H d30 DE x File Edi View Execute Control Options Window Help e aoee mj z 24 88 v o 6 32 rra in hon cm 7 C STARTUP endif init C If hardware must be initiated asap e g 3 1 tn munb ede WA BC DE HL 0000 0000 0000 2 00000000 00000000 00000000 XSP XNSP PC 000001 00 00000000 0800 01 14 39 104803 7 Figure 6 C Spy Desktop with Source Code Memory and Register Window For all further handling of the C Spy Simulator or ROM Monitor please click the Help in the Toolbar and select the topic of interest 4 2 Toshiba Tools 4 2 1 Compiler Assembler Linker Converter All Toshiba software development tools are running in DOS environment Hence under WINDOWS a DOS box has to be opened by selecting the MS DOS icon or clicking a tailored batch file from the Windows Explorer All respective manuals can be accessed by the program group TLCS 900 Tools Editing sources The source code of user C or TLCS 900 Assembler progr
30. e chip is selected by CSO pin of the MCU The type of operation is selected by the WR and RD line accordingly Please refer to the memory maps to get information about the address range of the chip in memory The external RAM is used additionally to the internal RAM of 8 kb of the MCU When the Toshiba ROM monitor is running almost 32 kb are allocated to the ROM monitor For all monitor operations the RAM is mapped to address OXFEO0000 0xFFFFFF and covers the interrupt vector area that must be writable for debugging purposes 3 2 4 Connector to Programming and Debugging Board To connect the Programming and Debugging Board a 10 pin connector is mounted at the edge of the board The 10 pin cable is to be plugged in on both sides to connect both boards together 3 2 5 MCU Terminal Connectors The Flash Carrier Board can be used when properly programmed stand alone in a user s application For this kind of usage it is necessary to insert and solder four 26 pin connectors into the prepared drill holes The prepared space for the connectors can easily found by searching the Flash Carrier Board for the printed labels MCU1 MCU2 MCU3 MCU4 The connections to the MCU are made as easy as possible Each of the 100 pins of the MCU are connected directly to MCU connectors E g pin 11 of the MCU is wired with 11 of MCU1 connector Pin 26 of each connector is left out and not connected the MCU has 100 pins but 4
31. er 5 3 Programming of Flash Memory Internal and external flash memories can be programmed with the respective tool To start it select the program group 8900 Flash and select TOPAS900 Flash Programming Tool from the menu If there is no board connected a respective error message will be displayed If there is no physical connection this should be mounted In a lot of cases the reason is the COM port setting You can set the COM and the transfer data by clicking the Setup Port icon and use the setting options If the connection is set HWU Elektronik Oberhausen Page 34 Users Manual TOPAS900 Flash V2 1 up the following window occurs fig 9 and the board reacts by red LED flashing quickly Be sure that the jumper J EA is opened m 900 Flash Programmer 1 m 10000000 372 9 4 26 4 20 02500 40008 10001000AF522038BF C30381DAAGCFGBFOC3038F6 Internal Flash PUEDES External Flash 150680754 0200000280007 S6CFSEF13 Please wait while programming is in progress 961AF58A0 D Execute remaining 00 00 28 70 5 a Open File Program Flash 112 Erase Flash gt Memory Sum X Blank Check Firmware ID a 100110000450DC88D860E812D8839D3962F21E10FE3B Setup Port 10012000328F0521F307E8E441DC88D8C80900E8EC 1001300012D889D962F21El10FE328F0421F307E82B Exit 10014000 4410 8808 80400 812088 62 21 4 C
32. ge 8 Kbytes internal RAM and the interrupt vector area the TMP95FY64 controller has 256 Kbytes of internal flash memory TOPAS900 Flash board additionally is equipped with 512 Kbytes external flash memory double size of internal flash and 128 Kbytes external RAM half size of internal flash The flash memories and the external RAM are differently mapped in three different modes of operation The memory map of the MCU itself is as follows 000000H 0000AOH 000100H 7 0020 0 5 1 1 MCU Internal Memory Internal VO A 160 byte Direct Area n _InternalRAM _ y 8K byte External memory 64KByte Area 010000H 16MByte Area r32 C132 r32 r32 d8 16 r32 r8 16 Internal Flash nnn 256K byte FFFFOOH C VecterTable FFFFFFH 256 byte Internal Area Figure 3 2 1 TMP95FY64 memory map Single Chip Mode Single Chip Mode 000000H Internal VO 0000A0H Internal RAM 0020A0H d FCO000H Internal Flash FFFFFFH d 2 000000H 0000A0H 0020A0H 010000 O4FFFFH gt FFF800H FFFFFFH Single Boot Mode Internal Internal RAM Internal Flash Internal Boot ROM Internal Area Figure 10 The Intemal Memory HWU Elektronik Oberhausen Page 30 Users Manual TOPAS900 Flash V2 1 5 1 2 Internal Mapping in different Modes
33. group and clicking the TMPro Debugger icon Program debugging is done by downloading user programs to external RAM on TOPAS900 Flash board and running them supervised by a Monitor program in the external flash memory on the board TMPRO Debugger DBM900 D Programme TOPAS 900Flash SAMPLE T est900 Leddim LedDimCOM2 tdp File Edit Execution View Tool Settings Window Help SSCS emo aeea dj l Browse gm MCU inti atio 00 0065 0 75 0 10 PSCR REG 5 P54 is output for led 00 0068 0 0 TREGO REG 0 100 00 006 TREG1 REG 5 Hz 256 0 20 Hz 00 ff006a 0 0 2 0 0 TO1MOD REG ock 00 0071 WA 0x0A2 0x0A0 T16RUN REG 8 00 0076 00f 007b 0 0096 INTETO1 REG 00 0080 CALR 0 0 0036 00 0083 INCL 0 2 5 Info the timer i The D Register BBE asm ei enable Bank Current 7 fe dle loop EVA SYSH for 1 0 i ontime i XBC 00000000 XDE 00010036 010000 REP for i20 i 20 ontime i XIX 00000000 SF 00000000 ZF 1 XIZ 00000000 Function Line 0000209 VE Function Line PC Address tle a Mas Main void line 100 Oxff0061 Main c s 44054044 44414545 15542 D 00004005 41114040 00 0061 05141545 51554537 45051401 05404041 ZIT5151U 1011157 01404444 05044140
34. h V2 1 4 Software Description The development software of TOPAS900 Flash can be chosen from two alternatives gt the Toshiba and gt theIAR 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 Spy ROM 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
35. hen the MCU is reset with EA at high level the external memory can be accessed additionally The entire ROM size would be 768 kb and 128 kb of ram When the MCU is reset with EA at low level the internal flash memory cannot be accessed additionally 5 2 Jumper Description 5 2 1 The jumpers of the Programming Debugging Board J must only be opened when in circuit debugging is performed with Flash Carrier Board plugged in to a PGA socket of a target application with its own power supply In all other cases the jumper must be close to connect the power supply to the Flash Carrier Board RES Jumper to connect disconnect the reset line controller by the firmware controller Should only be opened when in circuit debugging is performed with a target application with its own reset generation circuit 5 2 2 The jumpers of the Flash Carrier Board J_CS0 This jumper is to connect disconnect the chip select line CSO to the on board RAM device If an external data address bus is not required it is recommended to open this jumper The CS0 pin can be used as a port pin additionally J_CS2 Same as above The CS2 is used to enable the on board flash ROM device J EA Jumper to select between internal high open and external flash memory access low closed after reset When the Flash Carrier Board is connected to the Programming and Debugging Board the jumper can be left open the line is controlled by the firmware controll
36. king the simulator or RT900 to select the download to Monitor option e Incase 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 e 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 e The Demo version of the AT900 assembler has a code size limit of 4K assembled code e The Demo version of the EWT900 workbench has a code size limit of 4K linked code e The Demo version of th
37. menu bar compiler and linker are invoked simply by clicking the respective command in the menu like Compile Make Link and Build The listfiles are written to the List directory default selected by the project file All directory settings are made by choosing the Options command 4 1 2 C Spy Debugger Simulator There are two ways to invoke the C Spy debugger e First by selecting the icon directly from program group Embedded Workbench or e from the Embedded Workbench desktop HWU Elektronik Oberhausen Page 17 Users Manual TOPAS900 Flash V2 1 In case of a direct start C Spy will open a desktop with 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 e Incase 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 57900 for invo
38. omatically downloads the user program to the TOPAS900 Flash board After downloading a user program to the TOPAS900 Flash board RAM it can be started clicking go button or traced clicking one of the step buttons by TMPro debugger If a user program is running the red LED on the TOPAS900 Flash board is switched on permanently Running programs can be stopped by TMPro debugger click stop or finish button by a breakpoint being defined before break set at a specific source code line or by actuating NMI switch on the TOPAS900 Flash board The next statement of the user program to execute is marked in the source code window For further details please refer to the help manual in the Toshiba Debugger program group After starting the TMPro Debugger a profile file which comprises a lot of settings for a user program should be loaded or if not existing created If TMPro is called the first time after installing the creation of a new debugging profile is necessary From this profile further individual profiles can be derived Before starting the TMPro debugger be sure that the Toshiba ROM monitor is installed properly on the 5900 Flash board external flash ROM and is started by pressing the reset button The yellow led must be flashing as an indicator for Toshiba ROM monitor running 4 2 2 1 How to create a new debugging profile tdp The following steps show how to setup a new profile Just follow the steps below
39. p Select Jumpers Figure 1 The TOPAS900 Flash Board Top View As shown in the picture above the TOPAS900 Flash can be divided into two functional groups On the left side the Programming and Debugging Board is located On the right there is the Flash Carrier Board surrounded by four 26 pin connectors not soldered The PCB is delivered in one piece The Flash Carrier Board can also be used independently from the Programming and Debugging Board For independent usage it must be separated from the main board by breaking it off To break the Flash Carrier Board off please use this technique Remove the connection cable between the two parts when plugged in Put the TOPAS900 Flash board on a flat and stable surface Keep the scratch between Programming and Debugging Part and HWU Elektronik Oberhausen Page 8 Users Manual TOPAS900 Flash V2 1 Flash Carrier Part exactly onto the edge of the surface see also fig 2 Push down both parts carefully until the board breaks into two parts By breaking into two parts the electrical circuitry is not modified in any way It is just a mechanical separation Scratch on the PCB o o 23 2 a a 5900 Flash Board Flash Carrier Desk or other stable basis Edge Figure 2 Breaking off TOPAS900 Flash Board from Flash Carrier Board 2 4 Principe of Connection The components are to
40. program also includes the 10900 file in which all implemented input output addresses are defined by variables and can be applied by user programs Program preparation for debugging To prepare programs for source level debugging the driver has to be invoked with switch Program format conversion Executable programs extension ABS can be converted Intel Hex or Motorola S format by invoking the format converter tuconv Converting for Internal and External Memory To program software to internal or external flash memory Intel hex files must be created by using the TUCONV EXE tool The execution address range is the same OxFCO000 0xFFFFO00 but the programming address space is different In programming mode both the internal and the external flash memory can be programmed but in different address ranges Sample command lines Converting for external memory 1 Fh20 0xf80000 0x80000 0x80000 HWU Elektronik Oberhausen Page 20 Users Manual TOPAS900 Flash V2 1 Converting for internal memory Fh20 ra Oxfc0000 0x040000 0x010000 Examples For examples of program development please refer to subdirectories of SAMPLE TEST900 where some example programs and respective compile and link driver command lines can be found HWU Elektronik Oberhausen Page 21 Users Manual TOPAS900 Flash V2 1 4 2 2 TMPro Debugger The TMPro Debugger is invoked by selecting the Toshiba Debugger program
41. re and how to use the software All the information you need to set up and work with TOPAS900 Flash is provided on the following pages Please read them attentively 1 1 What is TOPAS900 Flash TOPAS900 Flash is a bundled package of hardware and software components to give a quick introduction to the main features of the TMPO95FY64F microcontroller Furthermore there are valuable features for software development and debugging Sample source code basic environment set ups and this manual will minimize the time needed for learning about the key features for the TLCS 900 family 1 2 Key Features of TOPAS900 Flash Package e Flash MCU TMP95FY64 with 256 kb on chip Flash ROM and 8 kb on chip RAM e Additional external 512 kb Flash ROM and external 128 kb RAM on a compact Carrier Board 51x56mm e Carrier Board extendable by pin connectors to a standard PGA 104 socket 4x26 pins Extensive Programming and Debugging Facilities In Circuit Debugging In Circuit Programming Windows based Application for Programming and Debugging Two independent Environments Toshiba IAR Limited Versions of original Toshiba Tools like C Compiler Assembler Linker Converter etc Toshiba s TMPro Debugger with ROM Monitor e Demo Version of IRA s Embedded Workbench incl Compiler Assembler etc e Demo Version of IRA s C Spy Debugger with ROM Monitor e Software samples for both environments HWU Elektronik Oberhausen Page 6 Users Manual TOPAS900
42. tion of the source files of a project are stored in Browse the abs file absolutely The source search path gives an alternative path J to load the source files if the files given by the abs file are not valid Work Space Specifies the directory _ Zur ck Abbrechen HWU Elektronik Oberhausen Page 24 Users Manual TOPAS900 Flash V2 1 where the Debugger places temporary files Confirm this dialog for the next step Script File and Startup Label can be left unchanged Confirm the dialog to get to the next dialog e This dialog has no effect for the ROM monitor oper ation and should You need click on Interrupt if you want to usr a interrupt function be confirmed unchanged You need click on Steplnterrupt if you want to usr a interrupt function when executing step Interrupt Switch Stepinterupt On lt Zur ck Abbrechen Hille This dialog asks for a filename for MEZE the new profile that has been created in the steps before The default name is Mprofilel tdp Choose meaningful name for the project like leddim abs After confirmation of this last step the profile is created and stored to disk The abs file will be loaded Check the information given at the bottom of the TMPro window about the loading of debug information or warnings Or error messages When the profile is Abbrechen double clicked in the Windows Explorer the TMPro Debugger
43. umper Description 34 5 21 The jumpers of the Programming Debugging Board 34 5 2 2 jumpers of the Flash Carrier Board 34 5 3 Programming of Flash Memory 34 6 Technical Sheets 36 6 1 Board Schematics 36 6 2 Component Print 41 6 3 PCB Routing 42 7 Application Board 43 8 Electromagnetic Compatibility 45 Figures Figure 1 TOPAS900 Flash Board Top View Figure 2 Breaking off TOPAS900 Flash Board from Flash Carrier Board Figure 3 Principe of Connection sssssssssesssnsnssnsnsnensnrsnsnsnsnssnnnnnsnssnnnnnsnssnsnnnsnsnnsnnnsnsnssnnnnnsnssnnnnnsnssnsnsnsnsansnne Figure 4 TMP95FY64 Schematic Block Diagram 13 Figure 5 Embedded Workbench Desktop with Project Window 17 Figure 6 C Spy Desktop with Source Code Memory and Register Windovw 19 Figure 7 TMPro Windov Figure 8 Memory Usage of IAR ROM Monitor Figure 9 Memory Usage of Toshiba ROM Monitor 28 Figure 10 The Internal Memory Map 30 Figure 11 Internal Mapping in Single Boot and Single Chop Mode
44. ware itself 3 1 6 Connector to Flash Carrier Board To connect the Flash Carrier Board a 10 pin connector is mounted at the edge of the board The 10 pin cable is to be plugged in both sides to connect both boards together 3 2 The Flash Carrier Board The Flash Carrier Board is composed of the following parts The TMP95FY64F Microcontroller 512 kb Flash ROM TC58F400 90 ns 128 kb RAM TC551001 70 ns Connector to Programming and Debugging Board MCU Terminal Connectors Jumpers HWU Elektronik Oberhausen Page 11 Users Manual TOPAS900 Flash V2 1 3 2 1 The TMP95FY64F Microcontroller The Flash Carrier Board has the main component of the starter kit soldered on it the Toshiba TMP95FY64F microcontroller To get an overview of its powerful features lets a look to its original data sheet extract 1 TMP95FY64F Basic Specification 1 1 Outline and Feature TMP95FY64 is high speed advanced 16 bit microcontroller developed for controlling medium to large scale equipment TMP95FY64 has 256K Byte Flash memory which can be rewritten and erased on board TMP95FY64 is housed QFP 100pin package Device characteristics are as follows 1 Original High speed 16 bit CPU 900 H CPU TLCS 90 900 instruction mnemonic upward compatible 16M byte linear address space General purpose registers and register bank system 16 bit multiplication division and bit transfer arithmetic instructions Micro DMA 4 channels 640ns 2bytes
45. x26 104 It is recommended to do direct measurement at the terminal connectors or their metalized drill holes instead of contacting the very small and sensitive MCU pins 3 2 6 Jumpers J_CS0 This jumper is to connect disconnect the chip select line CSO to the on board RAM device If an external data address bus is not required it is recommended to open this jumper The CS0 pin can be used as a port pin additionally J_CS2 Same as above The CS2 pin is used to enable the on board flash ROM device J EA Jumper to select between internal high open and external flash memory access low closed after reset When the Flash Carrier Board is connected to the Programming HWU Elektronik Oberhausen Page 14 Users Manual TOPAS900 Flash V2 1 and Debugging Board the jumper be left open the line is controlled by the firmware controller If the Flash Carrier Board works stand alone without Programming and Debugging Board the jumper must be set when external flash software should be executed If the jumper is left open the EA pin is pulled up by a 10k pull up resistor and the Flash MCU boots from internal flash memory When the MCU is reset with EA at high level the external memory can be accessed additionally The entire ROM size would be 768 kb and 128 kb of RAM When the MCU is reset with EA at low level the internal flash ROM cannot be accessed additionally HWU Elektronik Oberhausen Page 15 Users Manual TOPAS900 Flas
Download Pdf Manuals
Related Search
Related Contents
M7CL クイックスタートガイド Part 3 - Japanese Bedienungsanleitung Hygrometer Stella Max Manual de Utilização do Cartão de Cidadão SoftBank 003P 取扱説明書 Animator Compositor™ Manual Motor Driven Gear Pumps - PRO-CONS GPSMAP® serie 500/700 e echoMAP™ serie 50 Instrucciones de funcionamiento miniTRACEβ取扱説明書 Copyright © All rights reserved.
Failed to retrieve file