Fujitsu CREMSON MODULAR STARTERKIT User Manual Download Page 1

Fujitsu Microelectronics Europe 

User Guide 

FMEGDC-xxxx-xxxx 

 
 

EVALUATION BOARD 

CREMSON MODULAR STARTERKIT 

 
 

USER 

GUIDE

 

 

Summary of Contents for CREMSON MODULAR STARTERKIT

Page 1: ...Fujitsu Microelectronics Europe User Guide FMEGDC xxxx xxxx EVALUATION BOARD CREMSON MODULAR STARTERKIT USER GUIDE ...

Page 2: ...story Date Issue March 2001 1 0 MM first version based on MB91F361 CPU module Seperated used manuals for Cremson and Lavender Family Sep 2003 2 0 MM New combined user manual including F369 CPU board for all configurtaions 2 Fujitsu Microelectronics Europe GmbH ...

Page 3: ...ld a Product turn out to be defect Fujitsu Microelectronics Europe GmbH s entire liability and the customer s exclusive remedy shall be at Fujitsu Microelectronics Europe GmbH s sole discretion either return of the purchase price and the license fee or replacement of the Product or parts thereof if the Product is returned to Fujitsu Microelectronics Europe GmbH in original packing and without furt...

Page 4: ... An Introduction to Softune Workbench Creating projects 12 3 4 Debugging with Softune Workbench 14 4 DETAILS OF THE INCLUDED MONITOR DEBUGGER 16 4 1 Basic debugger features 16 4 2 Advanced debugger features 18 5 FLASH PROGRAMMING 21 5 1 MB91360 Flash Programmer 21 6 CPU BOARD HARDWARE 23 6 1 Overview of Jumpers 24 7 APPENDIX 26 7 1 Memory Mappings 26 7 2 Tool options for own projects 28 7 3 Starte...

Page 5: ...Cremson Modular Starterkit Contents 7 4 4 Segger emWin example for Jasmine 32 7 5 Related Documents 33 7 6 Related Partnumbers 34 7 7 Trouble Shooting 35 Fujitsu Microelectronics Europe GmbH 5 ...

Page 6: ...ng the system with the MB91F369 CPU board a full features monitor debugger is available in addition to allow high level debugging using Softune Workbench All peripheral functions are available on external pin headers in order to design and test user applications cost and time effectively For some resource functions additional hardware is already present on the board e g CAN and UART transceivers L...

Page 7: ...attaching graphic subboards Resources logically grouped on pin headers Software includes Softune Workbench a set of tools e g flashloader and example projects 1 3 Key Features Graphic Subboard Available Subboards MB87J2120 Lavender MB87P2020A Jasmine MB86290A Cremson or MB86291A Scarlet GDC PALs for user connections to other CPUs External bus connector for attaching CPU boards VGA connector for mo...

Page 8: ... and graphic subboards for this system Available CPU modules MB91F362 or MB91F369 MCU Available Graphic Subboards Cremson Lavender Scarlet and Jasmine Make sure you have both the CPU module and the Graphic subboard available for your system The boards can be purchased individually 8 Fujitsu Microelectronics Europe GmbH ...

Page 9: ...t the shield and in the centre RS232 An extension 1 1 RS232 cable with DB9 m f connectors A second VGA monitor or any suitable display for the graphic output 1 Combine the CPU board and the graphic subboard 2 Connect the power supply 3 Switch on the board the power LEDs should light up 4 Connect the RS232 cable from your PC to UART0 Connect the VGA cable to the VGA monitor or use the pin headers f...

Page 10: ...the debugging kernel is loaded to the internal flash ROM of the MB91F369 MCU before you can use the monitor debugging features of the MB91F369 CPU module To do so please follow these steps 1 Locate the monitor debugger project in your sample directory MonDebADA91369 In this project you will find the load module mondeb Debug ABS MonDeb ADA 91369 mhx which you have to program to the embedded flash I...

Page 11: ...are linked for the additional debugging RAM of the F369 CPU module 80 0000 8F FFFF Your application will be downloaded to the debugging RAM automatically by starting the debugger Alternatively you can also program the application to the embedded flash of the MB91F369 to create a stand alone application which starts immediately after a reset To do so you have to re link the application to the inter...

Page 12: ...on one of the files will invoke the built in editor which supports syntax highlighting tags and various other functions Figure 1 Softune Workbench Editor L You may customize the editor by a right click on the editor window Whenever you make changes to your source files you have to re compile and link the related files to produce a valid loadmodule ABS file This is done using the MAKE function MAKE...

Page 13: ...nd of a C line and click on MAKE again You will now see a message like this Now Making main c c softune sample template_cpu369 src main c 42 E4062C syntax error near for Error detected To locate the position in the source file where the error has occurred double click on the message The editor will open the appropriate source file indicating the error highlighted in red depending on the customise ...

Page 14: ...cted to one of the COM ports of your PC Therefore make sure you have the evaluation board connected and powered up as described before Explanations in this manual refer to the monitor debugger only 3 The emulator debugger The in circuit emulator ICE is a system which allows a connection to any target system using a probe cable The appropriate system for the MB91360 series is the MB2197 01 system M...

Page 15: ...time Invalid communication status Double check the settings again as explained above Also make sure the evaluation board is powered on ready to use and the RS232 cable is connected properly Also see the trouble shooting section in the appendix After starting the debugger additional windows will appear which contain locate arrows for each possible source line the original source code Figure 2 SWB D...

Page 16: ... RETURN execution STEP OUT Executes the program continuously to the parent function until RETURN Interrupts are enabled Note that debug information is required for this function EXECUTE UNTIL CURSOR Automatically sets a breakpoint at the actual cursor position and executes continuously until this breakpoint which will be deleted afterwards Each valid code line in a debugger window automatically ha...

Page 17: ...tarterkit you have to use an external interrupt All examples provided use the USER0 button for this purpose L The USER0 button is an external interrupt source which will be initialized at the highest priority In the interrupt service routine you will find a software trap INTE which will force the debugger to stop at this specific point You may use traps also to intentionally stop in your code for ...

Page 18: ...lays the CPU register window Updated registers appear in red Setup in context menu defines which Registers should be displayed WATCH WINDOW Displays the current variables to watch Double click on any variable in your code then specify watch in context menu to add to watch window All listed variables in a watch window can be displayed in any number format Use Edit to directly change the contents ME...

Page 19: ... download of the current load module ABS file Usually this function will be executed automatically after starting the debugger defined in debug settings see Project Setup Debug However this function can be useful to re initialize the debugger for the current debug session VIEW SYMBOL This function displays all global symbols of the current project Information about the type char integer etc and th...

Page 20: ...ch editor or any other text editor To execute a procedure file use the command window menu or the file open menu during debugging L Procedure files can be very helpful to automatically configure the debug environment perform automated tests e g when a new C module has to be tested or to enhance basic emulator functions such as breakpoints Using a procedure file breakpoints can be dynamically defin...

Page 21: ...atures of this Starterkit The tool can be used to program the debugging kernel MB91F369 board or any applications linked for the embedded flash area directly without the possibility to have any debugging functions later on In this case the evaluation board will act as a target system only CAUTION Take special care not to write anything to location 0FFEF4 the security vector If you do you will not ...

Page 22: ... for the F362 board 5 Select your COM port default is COM1 and any desired baudrate default is 38400 6 Make sure the CPU module is switched off or in permanent reset Now click on Automatic Mode button and immediately switch on the starterkit or release the reset to start the flash programming The flash programming sequence will be executed automatically 7 CAUTION DO NOT INTERRUPT THE FLASH PROGRAM...

Page 23: ...d Hardware 9 12V DC Input 1MB flash ROM CAN0 connector UART0 connector MCU Peripherals2 8 LEDs MCU Peripherals1 Power Switch MCU MB91F362 or MB91F369 RAM Bus connector MCU Mode DIP Switch Power Regulators Reset and User buttons Fujitsu Microelectronics Europe GmbH 23 ...

Page 24: ...e TxD of synchron or asynchron UART1 2 3 JP9 UART1_Clock Clock Select for UART1 in syncronous mode 2 3 JP10 Flash_enable Enable Flash on CS2 or CS3 1 2 JP11 FR_3V3 3 3 Volts CPU net Closed JP12 FR_5V0 5 0 Volts CPU net Closed JP13 Vcc3 C Bypass Condensator on off Closed JP14 HVdd 5 0 Volts of high current outputs Closed JP15 Avcc 5 0 Volts of analog net ADC and DAC Closed JP16 HSTX Hardware Standb...

Page 25: ...oses JP5 2 5V Vcc Gnd array for testpurposes JP6 2 5V Vcc Gnd array for testpurposes JH1 MCU Peripherals 1 JH2 MCU Peripherals 2 TP1 GND Testpin TP2 Monitor Clock output of MCU Testpin JDH1 JDH2 Bus connector for graphic subboards Table 2 Grouped jumpers on CPU Starterkit see schematics for pin assignment L Refer to the schematics of the CPU board for details on the pin assignment of the grouped j...

Page 26: ...Cremson Starterkit User Manual Chapter 7 Appendix 7 Appendix 7 1 Memory Mappings Figure 4 Memory Mapping MB91F369 CPU board 26 Fujitsu Microelectronics Europe GmbH ...

Page 27: ...Cremson Modular Starterkit Chapter 7 Appendix Figure 5 Memory Mapping MB91F362 CPU board Fujitsu Microelectronics Europe GmbH 27 ...

Page 28: ...A Note Startup code must be located at 0x8F 4000 Table 3 Linker Settings for MB91F369 Debug Configuration Recommended linker settings for MB91F369 CPU Board for embedded flash execution Memory Type Used for Area s Sections Data RAM F Bus RAM Variables Stack Displaylist 3D000 3FFFF 40000 43FFF DATA INIT STACK DISPLIST RAM_AREA Internal flash ROM Code 08 0000 0F 3FFF CODE CODE_AREA Internal flash RO...

Page 29: ...used sections and addresses 7 3 Starterkit limitations If creating new projects be sure not to use the following functions which are reserved for the Starterkit MB91F369 CPU Board Chip Selects CS0 is used for the external debugging RAM CS2 is used for the external flash CS3 CS4 CS5 are used for the graphic controller Memory area 0x0F 4000 0xF7 FFFF embedded flash is used by debugging kernel Memory...

Page 30: ...es for using the CPU Board MB91F362 Examples_CPU362_Jasmine SGA_Metrics_CPU362Jasmine VGA_Bmp_CPU362Jasmine VGA_CLUT_CPU362Jasmine VGA_Layer_CPU362Jasmine VGA_Metrics_CPU362Jasmine VGA_Ortho_CPU362Jasmine VGA_Temp_CPU362Jasmine VGA_Text_CPU362Jasmine VGA_VIC_CPU362Jasmine XGA_Metrics_CPU362Jasmine Examples_CPU362_Cremson PrimDemo_CPU362Cremson SVGATemplate_CPU362Cremson VGATemplate_CPU362Cremson X...

Page 31: ...ne VGA_Text_CPU369Jasmine VGA_VIC_CPU369Jasmine XGA_Metrics_CPU369Jasmine Examples_CPU369_Cremson PrimDemo_CPU369Cremson SVGATemplate_CPU369Cremson VGATemplate_CPU369Cremson XGATemplate_CPU369Cremson Examples_CPU369_Scarlet BMPinextflash_CPU369 GeoDemo_CPU369Scarlet PrimDemo_CPU369Scarlet QVGATemplate_CPU369Scarlet ShowExtBMP_CPU369Scarlet SVGATemplate_CPU369Scarlet VGATemplate_CPU369Scarlet Video...

Page 32: ...nd that you save a copy of the original monitor debugger on your local hard disk anyway The project Template_CPU369 is a project for using the CPU board with F369 without debugger linked for the embedded flash 7 4 4 Segger emWin example for Jasmine The provided example project for Jasmine demonstrates how to use the emWin graphic library from Segger emWin is designed to provide an efficient proces...

Page 33: ...chematics for Scarlet Graphic Subboard MB87J2120 and MB87P2020A Hardware Manual MB86290A Hardware Manual MB86291A Hardware Manual API Manual for MB8629x Series API Manual for Lavender Jasmine Series MB91360 Hardware Manual FR Family C Compiler Manual FR Family Instruction Manual FR Family Assembler Manual FR Family Simulator Manual FR Family Linkage Kit Manual FR Family Softune Workbench Manual No...

Page 34: ... sub board for the Starterkit MB86290EB01 Cremson PCI board for standard PC s MB86291EB01 Scarlet PCI board for standard PC s MB86292EB01 Orchid PCI board for standard PC s MB8629XEB01 Coral Family PCI Motherboard Coral Q B MB86293EB01 Coral Q Daughterboard MB86294EB01 Coral B Daughterboard MB86295EB01 Coral P PCI Evaluationboard Table 6 Related Graphic Controller Partnumbers Microcontroller relat...

Page 35: ...xtensions on the board to avoid shorts or leakage currents The communication from Softune Workbench to the evaluation board fails Communication errors Make sure your COM port number and the baudrate settings are correct see debugger introduction The default COM port is 1 and the default baudrate is 57600Baud Make sure no other programs are using the same COM port on your PC Close all other applica...

Page 36: ...Appendix for details on the linker settings Hardware units such as LEDs user buttons UART0 or CAN are not working Make sure you have enabled these units on the evaluation board using the appropriate jumpers e g JP25 for LEDs See the provided examples and the hardware manual for information on how to control the peripherals CAN devices do not respond Adjust the potentiometer RV2 slew rate according...

Reviews: