background image

 

SOFTUNE Workbench Getting Started 

 

FR Family FR81S Series, Emulation System, Doc. No. 002-04887 Rev. *A 

30 

Figure 5-17. High Speed Mode Selection in Setup Debug Evironment 

 

5.3   

Integration of external text editor 

Integration of external text editor is also supported, which can be used for programming source code and 
jumping to erroneous code line by double clicking error message in the output window. 

Following settings must be done for selection of alternate editor: 

1.  Click on [Setup] > [Editor...] 

2.  Enter a title for text editor 

3.  Brows for the execution file (.exe) of editor 

4.  Enter option settings. -n%l "%f" 

5.  Select text editor folder as execution directory 

6.  Click on button [Set] 

7.  The select your new text editor in the selection box [Available Editor]. 

8.  Click on [OK] for final confirmation 

 

 

Содержание FR81S Series

Страница 1: ...FR Family FR81S Series Emulation System Doc No 002 04887 Rev A Cypress Semiconductor 198 Champion Court San Jose CA 95134 1709 http www cypress com...

Страница 2: ...States copyright laws and international treaty provisions Cypress hereby grants to licensee a personal non exclusive non transferable license to copy use modify create derivative works of and compile...

Страница 3: ...the Emulation System 12 4 1 Features MB2100 01 E 12 4 1 1 Checking the delivered product 12 4 1 2 Appearance and part names 12 4 1 3 General Specifications 14 4 2 Connecting and installation of MB210...

Страница 4: ...4887 Rev A 4 5 2 5 High Speed Mode 28 5 3 Integration of external text editor 30 5 4 Script Files Procedure Files 31 5 5 External Text Editor Notepad 35 6 SOFTUNE Trouble Shooting 36 7 Flash Programmi...

Страница 5: ...following manuals SOFTUNE Workbench Installation Manual for V6 for information about the installation procedure of the software MB2100 01 E Hardware Manual SS01 00026 1E pdf for information about the...

Страница 6: ...apter lists the required hardware for the MB91460 emulation system The FR81S emulator system consists of The embedded emulator MB2100 01 E including mini USB cable for power supply Debug interface cab...

Страница 7: ...for V6 and to the hardware manual of the Emulator MB2100 01 E 3 1 Notes on Win7 operating system 3 1 1 User Account Control UAC function of Windows 7 When the UAC function is enabled the USB driver w...

Страница 8: ...When using different MCU families 8 16 32bit MCUs different installation paths for different propack versions for the corresponding MCU families must be applied 8bit MCU SoftuneV3 896s rev3xxxxx 16bi...

Страница 9: ...Doc No 002 04887 Rev A 9 Select in the Where to register any Not Registered line for installation and enter the setup exe path of the corresponding propack e g 911s rev600012 CD_Image The Title text...

Страница 10: ...lid for this propack version C Softune6 911s revXXXXXX Press on Install button to execute installation Installation of SOFTUNE Workbench is finished For starting the tool it will be found under Start...

Страница 11: ...Note 1 To install the software under Windows 7 Vista XP 2000 the user requires administration authority Please refer to chapter 3 1 On the CD image you will find a folder SOFTUNE Unpack the CD_Image...

Страница 12: ...chapters the features of the MB2100 01 E embedded emulator are explained For further explanation refer to MB2100 01 E Hardware Manual SS01 00026 1E pdf 4 1 1 Checking the delivered product Before usi...

Страница 13: ...the communication status of the debug interface bus The light turns on during communication 5 USB LED Indicates the communication status of the USB bus The light turns on during communication 6 READY...

Страница 14: ...mmunication scheme USB 2 0 compliant USB communication speed theoretical value 480 Mbps Hi Speed 12 Mbps Full Speed Operating temperature 5 C to 40 C Operating humidity 20 to 80 no condensation Storag...

Страница 15: ...e MB2100 01 E and the windows hardware wizard should start automatically Note2 The installation procedure may differ with different operating systems Do not connect to Windows Updates to search for So...

Страница 16: ...3 Click Next for installing driver Maybe a window occurs for installation software please click on Continue Anyway Figure 4 6 Windows Hardware Wizard Found New Hardware 4 Windows completing the insta...

Страница 17: ...k the Softune6_MB2100_20101105 zip to a local storage Copy the files Wv911e3 dll and SiDRVo dll from folder bin into your local SOFTUNE folder Softune6 Bin Copy the file Lib 911 EmlOcd_911 MHX and int...

Страница 18: ...Software is available from CD image or under following link http www cypress com 16lx A specific template project can be downloaded from web site This project includes the startup code header files a...

Страница 19: ...91787 prj into 91780_my_application_91787 prj Rename 91780_template_91787 wsp into 91780_my_application_91787 wsp Rename 91780_template_91787 dat into 91780_my_application_91787 dat Edit my_applicatio...

Страница 20: ...shown in Figure 5 3 Figure 5 3 Project structure in SOFTUNE Workbench The top level is the Workspace itself my_application The next level contains the ABS File of the Project which contains the compi...

Страница 21: ...view Header file h must not be added to project they will be included as dependencies Interrupt definition is done in the file vectors c 5 1 4 Compiling the project When finished coding the project c...

Страница 22: ...ings 5 1 5 1 Fill Option By employment of the fill option unused area can be filled with a pattern There two use cases Fill RAM area with pattern for stack overflow check Fill unused ROM area for ille...

Страница 23: ...ction Map from Programming Manual To fill unused Rom area in Softune Workbench following steps must be done Enter Project Setup Project tab Linker select category General and enter within Other Option...

Страница 24: ...pt see below and the corresponding interrupt handler must be defined After finishing these steps the abs file will be filled with the pattern in unused ROM areas and the illegal instruction handling c...

Страница 25: ...setup file Before starting a debug session some setups have to be done Click the Debug of the explore window with right mouse click and select Add Setup New with the right click Figure 5 10 Setup New...

Страница 26: ...t specified e g insert a prc file which should be loaded before or after loading file Select setting item Select All 5 2 2 Start debug session Before starting the debugging with On Chip Debugger pleas...

Страница 27: ...bug Abort or the button The emulator system now is being halted The execution can be continued by entering the Go Mode again Set a breakpoint or sequence by pressing right mouse click into window Brea...

Страница 28: ...session enter Setup Debug Environment Debug Environment tab Load and enable the tick of the functionality Synchronize after load see Figure 5 15 After that save the setting changes by close the window...

Страница 29: ...some system information is prompted In the line with text PLL clock the left value marked in red shows the real VCO clock e g 80MHz in Figure 5 16 The right value corresponds to selected frequency of...

Страница 30: ...mming source code and jumping to erroneous code line by double clicking error message in the output window Following settings must be done for selection of alternate editor 1 Click on Setup Editor 2 E...

Страница 31: ...rocedure Files A procedure file is a batch file which can be executed at any time while the Softune Workbench is in Debug session and can be used to control the debug session in order it follows the f...

Страница 32: ...en the procedure file input parameters are P0 4000000 P1 32768 A maximum of 10 parameters are allowed P0 P9 This procedure file configures the system clocks and print out the results in the command wi...

Страница 33: ...ecimal Press Click ENTER batch prc mb91570_read_clock_settings prc 4000000 32768 Press Click ENTER where batch command to execute procedure files prc path inside the Softune Workbench project were the...

Страница 34: ...ure 5 19 Usage of Batch File in Command Window Batch commands are not case sensitive Then set radix hexadecimal and SET RADIX HEXADECIMAL will get the same results If a file is not found or a command...

Страница 35: ...rtable software development Plugin Function list All functions within a selected source file are listed within additional window Plugin Open CTags Jump to function variable definitions and Defines by...

Страница 36: ...tp www cypress com 16lx If USB driver update installed and either SOFTUNE was reinstalled or a new version was installed please do following steps Replace SiUSB dll manually from the new USB driver up...

Страница 37: ...ished to the target MCU Figure 6 3 Trouble Shooting 3 Power off hardware system and debugger and power on again Any ROM area might be not defined correctly Please use Cypress Flash Programmer tool if...

Страница 38: ...of the board via UART A or UART B connector to the PC Start the FR Flash Programmer Select the Target Frequency and the HEX File mhx as the following picture shows Figure 7 1 FR Flash Programmer The...

Страница 39: ...nd click on OK CAUTION DO NOT INTERRUPT OR CUT OFF POWER DURING ERASE When the download was not successful message on PC check the jumper settings of UART and the cable connections After a successfull...

Страница 40: ...f Change 03 28 2011 MKEA Initial Release 06 09 2011 Changed contact mailing address 04 20 2012 Chapter high speed mode added 04 23 2012 Chapter Automatic Flash Synchronisation added 11 01 2012 Chapter...

Отзывы: