Home
Supplement - Renesas Electronics
Contents
1. The area where sampling by the real time monitor function is possible doesn t become it within this range of the object Reading by the real time monitor function is always done Refer to Table 5 19 Areas for Which Sampling Can Be Performed with Real time Monitor Function Select Off if execution of the user program will not be stopped momentarily to perform sampling Whole Whole memory space IECUBE Internal RAM general purpose registers and SFRs MINICUBE2 When this function is used the user program execution is stopped for a long time if the memory range subject to read is wide or several windows are open Control Register SFR Control registers except the PC and SFR LIECUBE area IRAM Internal RAM area and SFR area MINICUBE2 Off Sampling is not performed during user program execution Values other than those read from the internal ROM internal RAM and PC values are displayed as Clock MINICUBE2 Internal Selects internal high speed oscillator Available in 1 wire mode External Selects external clock Tool0 only Sub Clock Selects subsystem clock CKC Register Value Sets the CKC value for RAM monitoring MINICUBE2 Selectable only when 1 wire mode ToolQ is selected Available in 1 wire mode Tool only Frequency MHz Sets the frequency used during RRM when the internal high speed MINICUBE2 oscillator is used Available in 1 wire mode ToolO only Selectab
2. Load Module is selected as a file type the Load area appears dimmed and the setting becomes invalid Even if Load Module is selected as a file type the Load area setting is ignored if a file other than a load module file such as a hex file is specified as a file type by directly typing it 18 54 U17839EJ1V0X300 doc 12 lt p 144 gt Change description of File name in 1 Upload file setting area lt Previous gt Up to 257 characters string with an extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 19 54 U17839EJ1V0X300 doc 13 lt p 153 gt Add remark below the Context menu table Remark 1 Remark 2 lt Previous gt lt New gt When code that includes too many instructions in one line exists in the Source window cases such as one line being repeatedly executed step wise execution of this one line takes time As a result processing of step wise execution may be aborted in mid flow If aborted the execution is suspended in the middle of the source line The following shows an example int i for i 0 i lt 10000 i In the above example the for statement in the second line is intended to repeat instruction processing 10 000 times If such code is executed processing of step wise execution may be aborted mid flow This does not apply if the processing involves multiple lines In the above examp
3. been executed 34 54 U17839EJ1V0X300 doc 26 lt p 263 gt Change of description of File name in 1 Save file setting area of View File Save dialog box lt Previous gt Up to 257 characters string with a extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 35 54 U17839EJ1V0X300 doc 27 lt p 269 gt Change of description of File name in 1 Load file setting area of View File Save dialog box lt Previous gt Up to 257 characters string with a extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 36 54 U17839EJ1V0X300 doc 28 lt p 271 gt Change of description of File name in 1 Save file setting area of Environment Setting File Save dialog box lt Previous gt Up to 257 characters string with a extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 37 54 U17839EJ1V0X300 doc 29 lt p 272 gt Change of description of File name in 1 Load file setting area of Environment Setting File Load dialog box lt Previous gt Up to 257 characters string with a extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 38 54 U17839EJ1V0X300 doc 30 lt p 277 gt Change of description of File name in 1 Open file setting a
4. is selected the RRM function can be set to the 1 wire mode TOOLO in the Extended Option dialog box For details refer to the descriptions of Extended Option dialog box 8 54 U17839EJ1V0X300 doc lt 4 gt lt p 118 gt 8 Peripheral Break Caution Ifthe target device is the 78KOR X3 the open break function is enabled by selecting Category A The open break function is used to set to Hi Z the timer pins which control a motor so as to stop the motor safely if the motor control signal is not fed back due to CPU stoppage break and the signal may have an adverse effect on the motor The device and pins subject to manipulation by the open break function are listed in the following table When the open break function is used the motor stops upon a break and thus the program cannot be re executed In such a case reset the CPU Target Device Target Pins 78KOR Ix3 6 phase PWM output function TO02 TO03 TO04 TO05 TO06 TO07 Triangular wave PWM output function TO02 TO03 TOO6 TOO7 lt 5 gt lt p 120 gt Above 13 Function buttons 13 Low voltage Flash Rewriting MINICUBE2 This area is used to select whether to enable flash rewriting at 1 8 V or higher Applicable to 78KOR Kx3 L only On Enables downloading of load module files or software break rewriting at 1 8 V or higher Off default Enables rewriting at 2 7 V or higher lt 6 gt lt p 120 gt Below 13 Function buttons 14 Monitor Cloc
5. 3 0 1 2 3 lt Previous gt Remark When the display address is changed the position of the cursor in the ASCII display area is not synchronized lt New gt Remark If a window is activated and then the Memory window is activated while the cursor is placed in the ASCII display area the cursor position moves to the memory display area EE 6F 00 00 4E 4F 00 00 00 00 00 00 00 If another window is activated in this state Serch lt lt gt gt Rewesh DMM Close 7 eh B C 012945678 9ABCDEF 68 6A 6B 6C 6D bed fghijklanop zj 78 79 7A 00 00 00 48 4B ac 64D 58 00 Opmgo 37 00 oo oo the cursor position moves to the memory display area when the Memory window is activated again 27 54 U17839EJ1V0X300 doc 20 lt p 192 gt lt p 193 gt Changes in Memory Search dialog box lt 1 gt lt p 192 gt Below caution lt 2 gt lt p 193 gt Description of Find What in 1 Search condition specification area lt 3 gt lt p 193 gt Description of Find What When searching in ascii display area in 1 Search condition specification area lt Previous gt lt 1 gt lt 2 gt This area is used to specify the data to be searched Up to 256 character lt 3 gt Up to 256 characters can be specified lt New gt lt 1 gt Remark Search cannot be performed during program execution The function button appears dimmed lt 2 gt This area is used to specify the data to
6. ST LMF lt Downloaded load module file Under such conditions if source files with the same name exist under both C TEST and D TEST and D TEST TEST LMF is downloaded the source file stored under C TEST is opened 15 54 U17839EJ1V0X300 doc 9 lt p 139 gt Change description of File name in 1 Save file setting area lt Previous gt Up to 257 characters string with an extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 16 54 U17839EJ1V0X300 doc 10 lt p 140 gt Change description of File name in 1 Load file setting area lt Previous gt Up to 257 characters string with an extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 17 54 U17839EJ1V0X300 doc 11 lt p 142 gt Change descriptions of File name in 1 Load file setting area and 2 Load lt Previous gt 1 Load file setting area File name Up to 257 characters string with a extension can be specified 2 Load Sets a load condition This setting is valid only if a file in the load module format is specified lt New gt 1 Load file setting area File name A string of up to 259 characters with a path name and an extension can be specified 2 Load Sets a load condition This setting is valid only when downloading a load module file If an item other than
7. Sfile no Pewna f O lt New gt Table 5 5 Specifying Symbols Conversion Target id var file var to specify a static variable with file name file func var to specify a static variable with file name and function name gt _ file func to specify a static function with file name Label label tile label to specify a local label with fle name EQU symbol equsym tile equsym to specify a local EQU symbol with file name Bit symbol bitsym tile bitsym to specify a local bit symbol with file name Line number of source file file no progSfile no ferme femme 2 54 U17839EJ1V0X300 doc 3 lt p 50 gt Modify Caution in chapter 2 Software break Caution Caution 1 Caution 2 lt Previous gt If a software break is set to the execution start address in order to re execute the code in the execution start address the following events which are set to the address are not generated IECUBE 1 Start of section trace 2 Start of section measurement 3 Trace delay trigger 4 Event after execution 5 Access event To re execute the code in the execution start address use a break for the event before execution lt New gt If a software break is set to the execution start address in order to re execute the code in the execution start address the following events which are set to the address are not generated IECUBE 1 Start of section trace 2 Start of section meas
8. U17839EJ1V0X300 doc NEC June 2008 Supplement Document Name ID78KOR QB User s Manual Document No Date Published U17839EJ1VOUDOO June 2006 Published Department NEC Electronics Corporation Japan Description 1 lt p 45 gt Modify Remark in chapter 5 3 3 Mixed display mode Source Window lt Previous gt Remark When scrolling is performed using the cursor keys in the Mixed display mode excessive scrolling may occur Also scrolling down to the last line may not be possible using the cursor keys lt New gt Remark The disassemble section cannot be edited in the Source window even if the Source window is set to the mixed display mode Edit the disassemble section in the Assemble window 1 54 U17839EJ1V0X300 doc 2 lt p 46 gt Deletion of conversion symbol in Table 5 5 Specifying symbols lt Previous gt Table 5 5 Specifying Symbols Conversion Target Specification Method Variable var file var to specify a static variable with file name func var to specify a static variable with function name file func var to specify a static variable with file name and function name file func to specify a static function with file name Label label file label to specify a local label with file name EQU symbol equsym file equsym to specify a local EQU symbol with file name Bit symbol bitsym file bitsym to specify a local bit symbol with file name Line number of source file file no prog
9. ail _ Main Clock 4 aj External C None v MHz Sub Clock Peripheral 5 External C None 7 Target Device Connection ID Code 6 c Cc ik 8 Peripheral Break Flash Programming M Category 4 Time Permit 1 0 zor B Serial etc C Not Permit 9 M TARGET RESET INTERNAL RESET 1 3 Memory Mapping 1 1 Access Size 8Bit 16Bit Memory Attribute Mapping Address EZ I a 12 lt 2 gt lt p 116 gt Description in 1 Chip This area is used to select the chip name A chip name is selected from the drop down list On the drop down list only the chip names registered to the registry from the device file installer are displayed This area can be specified only when the debugger is started up After the debugger is started this area appears dimmed and the setting cannot be changed If a project file to which a different chip is specified is loaded after the debugger startup the chip name specified in the project file is ignored lt 3 gt lt p 117 gt Description in 6 Target Device Connection MINICUBE2 This area is used to select the port to be connected for serial communication between MINICUBE2 and the device on the target system The 1 wire mode TOOLO and 2 wire mode TOOLO TOOL1 are supported as the communication interface The type of port that can be selected depends on the device used This area can be specified only when the debugger is started up If the 1 wire mode TOOLQO
10. ause the range from which memory is read out is wid Control Register SFR Control registers and SFR area except PC IECUBE RRM Setting Specified area in the RRM Setting dialog box MINICUBE2 Off Pseudo real time monitor function Break When Readout is disabled Memory areas other than internal ROM and internal RAM areas and PC values are displayed as Redraw Interval Specify the sampling interval of the real time monitor function Refer to 5 14 1 Realtime monitor function IECUBE It can be specified in 100 ms units from 0 to 65500 If O is specified or if this area is blank the data is not displayed in real time lt New gt lt 1 gt lt p 121 gt The IRAM option button for MINICUBE2 only and items Clock CKC Register Value and Frequency have been added to the RAM Monitor area Figure 6 6 Extended Option Dialog Box 12 54 U17839EJ1V0X300 doc IECUBE Extended Option RAM Monitor 1 Break When Readout Whole C Control Register SFR Off Redraw Interval 500 msec ge CE a M omo M On Mouse Click Soft break Hard break 3 Trace Data Priority Timetag Rate fx a 4 IV Clear Trace Memory Before Run V Break Sound 5 K Restore MINICUBE2 Extended Option RAM Monitor And DMM 1 Break When Access C Whole C IRAM Redraw Interval foo 8 rt S msec Clock Internal External Sub Clock OKC Register Value Ox F requ
11. be searched Up to 150 character lt 3 gt Up to 150 characters can be specified 28 54 U17839EJ1V0X300 doc 21 lt p 203 gt lt p 204 gt lt p 205 gt Changes in Memory Search dialog box lt 1 gt lt p 203 gt Below Remark 2 lt 2 gt lt p 204 gt Description of Attribute area in 1 SFR display change area lt 3 gt lt p 204 gt Below the description table of 1 SFR display change area lt 4 gt lt p 205 gt Description of Move in Context menu lt Previous gt lt 1 gt lt 2 gt It can be specified whether this area is displayed or not by selecting View menu gt Attribute lt 3 gt lt 4 gt Opens the Address Move dialog box lt New gt lt 1 gt Remark 3 Multiple lines cannot be selected in the SFR window lt 2 gt It can be specified whether this area is displayed or not by selecting View menu gt A atribute lt 3 gt Note If the Attribute area is hidden the information of the vertical boundary position in the SFR window is not stored into the project file As a result the vertical boundary position will not be restored when the project file is loaded lt 4 gt Opens the Address Move dialog box 29 54 U17839EJ1V0X300 doc If an SFR that satisfies the two conditions shown below exists when an SFR name is input in the Address Move dialog box the focus does not move to the specified SFR address but may move to the SFR that satisfies these two condit
12. break C Hard break lt 2 gt lt p 122 gt 1 Use MINICUBE Extended Function MINICUBE2 To use the MINICUBE Extended Function this area is selected If this item is selected the RRM function is enabled 2 RAM Monitor can be selected lt 3 gt lt p122 to p 124 gt 2 RAM Monitor 3 On Mouse Click 4 Trace Data Priority IECUBE 5 Clear Trace Memory Before Run IECUBE 6 Break Sound 7 Verify Check 8 Function buttons 11 54 U17839EJ1V0X300 doc lt 4 gt lt p 122 gt 2 RAM Monitor This area is used to set about RAM monitor function Refer to 5 14 RRM Function If 1 Use MINICUBE Extended Function MINICUBE2 is selected this area can be selected MINICUBE2 Break When Readout Select this item to specify the target range of RAM sampling by instantaneously generating a break in the user program execution Refer to 5 14 2 Pseudo real time monitor function Break When Readout The area where sampling by the real time monitor function is possible doesn t become it within this range of the object Reading by the real time monitor function is always done Refer to Table 5 19 Areas for Which Sampling Can Be Performed with Real time Monitor Function Select Off if execution of the user program will not be stopped momentarily to perform sampling Whole Whole memory space IECUBE The user program execution is stopped for a long time when a large number of windows are opened bec
13. by or hibernate mode while the ID78KOR QB is starting the operation of the ID78KOR QB is not guaranteed after Windows returns from the mode In such a case restart the emulator and ID78KOR QB 3 Cautions on changing load module file names If a project file is saved while PM and the ID78KOR QB are active and the load module file name is changed in PM and the debug button of PM is clicked while the ID78KOR QB has not been started the load module file of the previous name will be downloaded If the debug button of PM is clicked while the ID78KOR QB is already started the load module file of the new name will be downloaded If the load module file name is changed the debug button of PM must therefore be clicked while the ID78KOR QB is already started If the ID78KOR QB is not already started click the debug button once start the ID78KOR QB and then click the debug button again 4 Cautions on Return Out execution for recursive functions If Return Out is executed during processing of a recursive function function that calls itself the execution cannot return to the desired position The operation varies as follows according to how many times the recursive function is called Current PC Line Before Return Out Execution Return Out Execution Result During processing of the 1st recursive function Returns to the position at which the function was called desired operation function function called desired operation Even if
14. e Color dialog box after the descriptions of the Code Coverage Window lt Previous gt lt New gt Coverage Color dialog box This dialog box is used to select the coverage color to be displayed in the Source window and Assemble window Coverage Color 1 94 o 100 3 OK Default Cancel Help 2 Opening Click the Color button in the Debugger Option dialog box Explanation of each area 1 Coverage color setting area Click the Change button for 0 1 99 or 100 to select the color from the color setting dialog box of a common dialog box 2 Function buttons Applies the settings to the Source window or Assemble window and closes this dialog box Default Restores the default color for coverage Closes this dialog box without changing colors Help Displays the help window of this dialog box 33 54 U17839EJ1V0X300 doc 25 lt p 246 gt Changes in break before execution 2 Event Status lt Previous gt Note Before Execution can only be set as a break event condition 4 to 8 Before Execution items can be set The number of settable events varies depending on the address and instruction to be set lt New gt Note Before Execution can only be set as a break event condition 4 Before Execution items can be set Caution Breaks before execution can be set to internal ROM only When setting them during execution they cannot be set if flash self programming has
15. e display is therefore not updated until the execution breaks even if the data is overwritten by flash self programming or event DMM Events Up to two extra instructions after a snap shot event event DMM trace event or timer event is measured Change of PSW values in DMM dialog box When changing the PSW values do not specify a PSW bit ie z ros1 ac rosO isp or cy in the Register Name field in the DMM dialog box If attempted an error message will be output Be sure to change the PSW values in 8 bit units 53 54 U17839EJ1V0X300 doc 37 lt p 338 gt Addition of quantitative upper limit list as B 6 Quantitative Upper Limit List lt Previous gt lt New gt Table B 7 ID78KOR QB Quantitative Upper Limits Common to windows 150 single byte characters Number of characters that can be used for symbol names 2 048 single byte characters function names variable names etc Download dialog box Number of load module files that can be downloaded at a time 42 lt Number of frames that can be displayed 128K frames Event dialog box Number of character strings that can be used for event names 8 single byte characters Watch window Number of lines that can be displayed 10 000 lines Number of array dimensions of that can be displayed Meo Number of source file and include file lines that can be 65 535 lines displayed per line Assemble window Highest address that can be displayed OxFFFFE Add I O Por
16. ency MHz 2 On Mouse Click Soft break Hard break zl V Break Sound 5 lt 2 gt lt p 122 gt Deleted lt 3 gt lt p 122 to p 124 gt 1 RAM Monitor IECUBE and RAM Monitor And DMM MINICUBE2 2 On Mouse Click 3 Trace Data Priority IECUBE 4 Clear Trace Memory Before Run IECUBE 5 Break Sound 6 Verify Check 7 Function buttons lt 4 gt lt p 122 gt 1 RAM Monitor IECUBE and RAM Monitor And DMM MINICUBE2 This area is used to set RAM monitor functions and DMM functions for MINICUBE2 only Refer to 5 14 RRM Function and 5 15 DMM Function 13 54 U17839EJ1V0X300 doc Caution 1 If the pseudo real time monitor function is used while the Memory window is open the operability is degraded significantly due to an excessive amount of communication data When using the pseudo real time monitor function therefore closing the Memory window is highly recommended MINICUBE2 Caution 2 The Clock option buttons are used to select the CPU operation clock for RAM monitoring This setting determines the communication speed so the CPU operation clock cannot be changed during RAM monitoring MINICUBE2 Break When Readout IECUBE Break When Access MINICUBE2 Select this item to specify the target range of RAM sampling by instantaneously generating a break in the user program execution Refer to 5 14 2 Pseudo real time monitor function Break When Readout
17. er the CPU is stopped e When the open break function is set keep the OpenBreak window open or minimized The setting is cleared when the window is closed e The setting made in the OpenBreak window can be saved into the current project file while the OpenBreak window is open The setting is restored together with the settings made in other windows when the project file is opened next time e The open break target pins are set to the Hi Z state by selecting Category A Timer in the Peripheral Break area in the Configuration dialog box MINICUBE2 46 54 U17839EJ1V0X300 doc 36 lt After APPENDIX B EXPANSION WINDOWS gt Addition of APPENDIX B CAUTIONS lt Previous gt lt New gt APPENDIX B CAUTIONS This chapter describes general cautions for this product For details on individual restrictions or cautions refer to the Operating Precautions document for each product 1 Cautions on switching log on user of Windows XP If a log on user is switched using the Windows XP Switch User function while the ID78KOR QB is starting the operation of the ID78KOR QB that was used by the previous user is not guaranteed The operation of the ID78KOR QB used by the new user is also not guaranteed The ID78KOR QB prohibits duplicated activation on one computer but duplicated activation is possible by using the Windows XP Switch User function 2 Cautions related to Windows standby and hibernate modes If Windows enters stand
18. ions e An SFR whose address is the same as that of the input SFR e An SFR whose name is different from that of the input SFR SFR names that satisfy the above two conditions include the I O port names added in the Add I O Port dialog box 30 54 U17839EJ1V0X300 doc 22 lt p 217 gt lt p 218 gt Addition to Trace View window lt 1 gt lt p 217 gt Above Figure 6 46 lt 2 gt lt p 218 gt Below the description table of 1 Trace result display area lt Previous gt lt New gt lt 1 gt Remark The traced data cannot be referenced during program execution lt 2 gt Caution When no trace result is displayed the Help for the Trace View window is not displayed even if the F1 key on the keyboard is pressed In such a case select the Help menu Current Window to open the Help 31 54 U17839EJ1V0X300 doc 23 lt p 223 gt Change in Trace Search dialog box lt Previous gt Caution This dialog box cannot be called if picking up the first M1 fetch frame BRM1 after program branch is specified using the menu bar or in the Trace Data Select Dialog Box lt New gt Caution 1 This dialog box cannot be called if picking up the first M1 fetch frame BRM1 after program branch is specified using the menu bar or in the Trace Data Select Dialog Box Caution 2 Search can be performed during program execution by executing the Tracer Stop command 32 54 U17839EJ1V0X300 doc 24 lt p 223 gt Addition of Coverag
19. ister in the Add Watch dialog box the members to be displayed In this example register not only the array a but also its members a 0 0 a 0 1 a 1 0 and a 1 1 By taking this measure the following display can be saved JxFEFBA s 18 7 6 Cag Caution When Auto variables are used to display local variables accurate values cannot be displayed at a prologue or epilogue of a function The Auto variable addresses are the relative addresses from the address pointed to by the stack pointer SP so their addresses are not determined until the SP value is determined in the function The SP is manipulated via prologues or epilogues so the accurate value cannot be displayed 25 54 U17839EJ1V0X300 doc 18 lt p 183 gt Add caution to table 1 Local variable display variable value changing area Caution lt Previous gt lt New gt When Auto variables are used to display local variables accurate values cannot be displayed at a prologue or epilogue of a function The Auto variable addresses are the relative addresses from the address pointed to by the stack pointer SP so their addresses are not determined until the SP value is determined in the function The SP is manipulated via prologues or epilogues so the accurate value cannot be displayed Open the project file 26 54 U17839EJ1V0X300 doc 19 lt p 189 gt Change remark below
20. ition This execution breaks at the desired position however This is because the first breakpoint to be reached during recursive processing is the circle marked position 5 Caution when a function entity is defined in header file If a function entity is defined in the header file breakpoint setting step wise execution or Return Out cannot be performed in the Source window Moreover information on this function is not displayed in the Code Coverage window The case where a function entity is defined in the header file means that function processing itself is described in the header file It does not include the case where only function declaration such as prototype declaration and EXTERN declaration is described in the header file 6 Caution on longjmp function If Step In or Next Over is performed for the ongjmp function execution processing may not complete and may wait for a time out If Return Out is performed in a function that called the longjmp function breaks may not occur 51 54 U17839EJ1V0X300 doc 7 Standby mode The standby mode is released under any of the following conditions lt 1 gt lt 2 gt lt 3 gt lt 4 gt The standby mode is entered during step wise execution Execution is stopped by a forced break in standby mode A standby instruction is executed before the execution stops due to a break after execution or an access break which takes several extra instructions until the execution sto
21. k This area is used to select whether to use the high frequency for the monitor program during a break System default Switch the clock to the high frequency one for the monitor program during a break default This accelerates the processing such as displaying variables during a break Caution The ID78KOR QB manipulates the CKC RMC and CSC registers The frequency is reset to the original value when the execution returns to the user s program User Does not switch the frequency for the monitor program during a break However rewriting to the flash memory cannot be performed if the frequency is too low Therefore the frequency is switched when rewriting must be performed such as when downloading a load module file 9 54 U17839EJ1V0X300 doc lt 7 gt lt p 120 gt Item number of 13 Function buttons 15 Function buttons 10 54 U17839EJ1V0X300 doc 7 lt p 121 gt Change in Extended Option dialog box lt Previous gt lt 1 gt lt p 121 gt Figure 6 6 Extended Option Dialog Box IECUBE Extended Option M Use MIND 2 r RAM Monitor Break When Readout Whole Control Regicter SFR Di Redraw Interval 500 msec Softbresk C Hard break 4 Trace Data Priority G Timetae Ratelx1024 Z Fetch Data 5 Glear Trace Before Run Break Sound W Verify Che RAM Monitor Break When Readout RRM Settire Redraw hterval 500 msec On Mouse Click Soft
22. le the following code can avoid the case int i for i 0 i lt 10000 i In this case if step wise execution is performed for the for statement in the second line the current PC line moves to in the fourth line step wise execution of the fourth line is performed and then the current PC line moves again to the second line The number of instructions performed in one step wise execution is reduced so step wise execution processing is not aborted When step wise execution completes processing of the last prologue of the main function in the Source window processing seems as if it returns to the beginning of the main function Since the main function is called from the startup routine the current PC line moves to the startup routine after main function processing is completed If the PC is in the startup routine the current PC line is placed at the beginning of the main function in the Source window 20 54 U17839EJ1V0X300 doc 14 lt p 154 gt Change description of Find What in 1 condition specification area lt Previous gt This area is used to specify the data to be searched Up to 256 character lt New gt This area is used to specify the data to be searched Up to 150 characters 21 54 U17839EJ1V0X300 doc 15 lt p 159 gt Add description of 4 Disassemble display area Remark 1 Remark 2 lt Previous gt lt New gt When displaying an SFR access instructio
23. le only when 1 wire mode ToolO is selected Redraw Interval Specify the sampling interval of the real time monitor function Refer to 5 14 1 Realtime monitor function IECUBE It can be specified in 100 ms units from O to 65500 If O is specified or if this area is blank the data is not displayed in real time 14 54 U17839EJ1V0X300 doc 8 lt p 133 gt Addition of cautions to 1 Source Path below Remark 3 Caution 1 Caution 2 lt Previous gt lt New gt When a project file is open the Base setting specifies a folder to which the project file has been loaded Even if a load module file is downloaded from another folder the source file is therefore searched for from the folder to which the project file has been loaded The following shows an example C TEST lt Folder to which the project file has been loaded D ATEST TEST LMF lt Downloaded load module file Under such conditions if source files with the same name exist under both C TEST and D TEST and D TEST TEST LMF is downloaded the source file stored under C TEST is opened When a project file is not open and the source path has been set to the text box the source file is searched for from the folder set as the source path even if a load module file is downloaded from a folder different from the one set as the source path The following shows an example C TEST lt Folder set as the source path D ATEST TE
24. mmand lt Previous gt where where Stack trace Input format where Functions Executes the back trace of the stack Usage example IDCON 1 where 1 test2 c sub2 int i 13 2 test c num int i 71 3 test c main 82 43 54 U17839EJ1V0X300 doc U17839EJ1V0X300 doc lt New gt where where Stack trace Input format where Functions Executes the back trace of the stack When the message Information below might be inaccurate is displayed the subsequent displays may be incorrect Usage example Example 1 IDCON 1 where 1 test2 c sub2 int i 13 2 test c num int i 71 3 test c main 82 Example 2 IDCON 1 where 1 func2 c func2 8 Information below might be inaccurate 2 func c func register int_i 34 3 main c main 77 44 54 U17839EJ1V0X300 doc 35 Changes in expansion windows lt Previous gt lt 1 gt lt p 326 gt Table A 1 List of Expansion Window Sample Window Name Function List Window Displays a list of the source files and functions Grep Window Searches a character string Hook Window Sets the hook procedure Symlinspect Window Searches through a list of properly described symbols lt 2 gt lt p 331 gt After SymInspect Window lt New gt lt 1 gt lt p 326 gt Table A 1 List of Expansion Window Sample Window Name Function List Window Displays a list of the source files a
25. n the Watch Window Multiple lines cannot be selected in the Watch Window Even if Hex is selected for Radix in the Watch Default field in the Debugger Option dialog box the number of array variables is not displayed in hexadecimal in the Watch window The following shows examples when array ary is displayed Desired display example e ary 0x2 lt Hexadecimal e ary 0x0 lt Hexadecimal e ary 0x1 lt Hexadecimal Actual display example e ary 0x2 lt Decimal e ary 0x0 lt Hexadecimal e ary 0x1 lt Hexadecimal 24 54 U17839EJ1V0X300 doc lt p 175 gt Remark If elements such as structures and arrays are registered in the Add Watch dialog box and they are referenced in the Watch window the display with which each member is displayed and the display radix setting are not saved in the project file To save these items to the project file each member must also be registered in the Add Watch dialog box The following is an example of saving the display for each member of the array a shown below char a 2 2 Register the array a in the Add Watch dialog box and then display its members in the Watch window the following display appears Even if this state is saved in the project file and the project file is reloaded the members are not displayed lolx alo al2 I DxFEFEA Open the project fal 1 2 JxFEFBA M4 Q file To save the state with members displayed reg
26. n while an SFR with another name exists at the address where the accessed SFR exists an SFR with a different name may be displayed in the disassemble display area The disassemble display is a function for reaing data at each address and converting it into assembly code With the ID78KOR QB for example 0x00 is read and it is converted into nop Since the instruction length may be multiple bytes the disassemble data may not be displayed correctly under the circumstances where the start address of an instruction cannot be identified correctly The following shows an example of disassemble display output by the ID78KOR QB i Assemble E 0 x Search lt lt gt gt Watch Quick _Feresh Close o0000 NOP 00001 NOP 2 NOP ADDW AX 6000H NOP NOE Search lt s gt gt Watch Quick Feren Close o000 00 HOP 50 UU 00 00 Conditions where the start address of an instruction cannot be identified correctly include the following e Ifan address different from the start address of the instruction is specified in the Address Move dialog box Above example e A range that includes areas where no instructions are written such as data area is displayed e The window is scrolled up toward lower addresses for 500 bytes equivalent to 0x200 or more If the display becomes incorrect as a result of scrolling the window up click the Refresh button or select the Move command from the conte
27. nd functions Grep Window Searches a character string Hook Window Sets the hook procedure Syminspect Window Searches through a list of properly described symbols OpenBreak Window Sets the open break function lt 2 gt lt p 331 gt After SymInspect Window OpenBreak window addition This window is used to set the open break function IECUBE The open break function is used to set to Hi Z the timer pins which control a motor so as to stop the motor safely if the motor control signal is not fed back due to CPU stoppage break and the signal may have an adverse effect on the motor The device and pins subject to manipulation by the open break function are listed in the following table When the open break function is used the motor stops upon a break and thus the program cannot be re executed In such a case reset the CPU Target Device Function Target Pins 78KOR Ix3 6 phase PWM output function TO02 TO03 TO04 TO05 TO06 TO07 Triangular wave PWM output function TO02 TO03 TO06 TO07 The following shows the operation of the OpenBreak window 45 54 U17839EJ1V0X300 doc Figure A 5 OpenBreak Window OpenBreak ER Setti ng of Timer terminal When CPU stops terminal is C OPEN HIZ Output signal Bit Function OPEN Hi Z The open break target pin becomes the Hi Z state after the CPU is stopped Output signal The open break target pin outputs the signal even aft
28. ng Address a Description in 1 Chip This area is used to select the chip name A chip name is selected from the drop down list On the drop down list only the chip names registered to the registry from the device file installer are displayed This area can be specified only when the debugger is started up lt 3 gt lt p 117 gt Description in 6 Target Device Connection MINICUBE2 This area is used to select the port to be connected for serial communication between MINICUBE2 and the device on the target system 6 54 U17839EJ1V0X300 doc The 1 wire mode TOOLO and 2 wire mode TOOLO TOOL1 are supported as the communication interface If the 2 wire mode TOOLO TOOL1 is selected 1 Use MINICUBE Extended Function MINICUBE2 in the Extended Option dialog box becomes selectable The type of port that can be selected depends on the device used This area can be specified only when the debugger is started up lt 4 gt lt p 118 gt 8 Peripheral Break lt 5 gt lt p 120 gt Above 13 Function buttons lt 6 gt lt p 120 gt Below 13 Function buttons lt 7 gt lt p 120 gt Item number of 13 Function buttons lt New gt lt 1 gt lt p 115 gt Figure 6 5 Configuration dialog box 7 54 U17839EJ1V0X300 doc 14 Configuration 1 Chip Monitor Clock Name uPD G System encil C User Internal ROM RAM Restore 1 5 2 Internal ROM KBytes Project 3 Internal RAM po Bytes __Det
29. program momentarily breaks upon a write If an area for which a real time write is not permitted register or SFR is specified in the DMM Dialog Box or when MINICUBE2 is used the setting is fixed to pseudo DMM lt 3 gt lt p 199 gt Select this item when performing DMM via software emulation pseudo DMM function this item is not selected by default When MINICUBE2 is used however this item is always selected 4 54 U17839EJ1V0X300 doc 5 lt p 112 gt Modifiy Remark lt Previous gt Remark If the screen resolution is low 800 600 etc all the statuses may not be displayed on the status bar lt New gt Remark If the screen resolution is 800 600 or lower some statuses are not displayed With 800 600 for example the enclosed area in the following figure will not be displayed mainc 9 funcO2 0017A BREAK Event Break AUTO INS 5 54 U17839EJ1V0X300 doc 6 lt p 115 gt Change in Configuration dialog box lt 1 gt lt p 115 gt lt Previous gt Figure 6 5 Configuration dialog box lt 2 gt lt p 116 gt Contiguration Chip Name uPD 3t Internal ROM RAM 13 Internal ROM p26 v KBytes ial Internal RAM 12288 Bytes Eail sate Break Detail ain Clock C C System 400 Sub Clock Peripheral 7 C System 32 768 7 KHz JD Code 10 Category B Serial etc E INTERNAL RESET NMI Access Sige f 8Bit 16Bit Add Memory Attribute Mappi
30. ps A break after execution or an access break is used as an event of a snap shot or event DMM a standby instruction is executed before the execution stops due to the break each processing is complete and then the execution is restarted IECUBE 8 Mirrored non map area A mirrored non map area is not indicated as If IROM 64 KB and MAA 1 for example the non map area starting from address 0x10000 is mirrored At this time 0x10000 to OxFOFFF are indicated as in the Memory window but values can be read from or written to OxF1000 to OxFFEFF 9 External memory lt 1 gt lt 2 gt lt 3 gt For external memory the code coverage cannot be measured and memory accessing cannot be monitored IECUBE When the RAM monitor function is off data cannot be read from or written to the external RAM during execution IECUBE The following two restrictions apply when a ROM is connected as an external memory IECUBE a If step wise execution is performed for the following instructions in instruction mode an extra instruction is executed a RETI RETB instruction An instruction immediately after returning from the interrupt servicing will be executed b Conditional skip instruction condition is not satisfied The instruction next to the conditional skip instruction will be executed b Execution does not stop as is expected if one of the following operations is performed The execution continues or sto
31. ps at the next breakpoint IECUBE MINICUBE2 a Step In in source mode whose execution stops at a location in external ROM b Next Over whose execution stops at a location in external ROM C Return Out whose execution stops at a location in external ROM d Come Here executed with the cursor placed in external ROM 52 54 U17839EJ1V0X300 doc 10 Cautions when IECUBE is connected lt 1 gt lt 2 gt lt 3 gt lt 4 gt lt 5 gt Execution operation while external reset signal is input When the SFR window or the like is displayed and execution or step wise execution is performed while an external reset is not masked the TARGET RESET check box is not selected in the Configuration dialog box and an external reset signal has been input the program has to wait for a timeout in communication with the emulator which drastically degrades the operability Coverage function a The PC points to the instruction that has not been executed but for code coverage measurement one or two bytes from the top of the instruction pointed to by the PC are counted by the code coverage execution In addition the address at which a break occurs is also counted b Display of an access being executed does not necessarily change in the order of access in the Memory window Display of internal ROM area during execution During execution data in the internal ROM area before starting execution is saved temporarily and displayed Th
32. rea of Browse dialog box lt Previous gt Up to 257 characters string with a extension can be specified lt New gt A string of up to 259 characters with a path name and an extension can be specified 39 54 U17839EJ1V0X300 doc 31 lt p 292 gt lt p 293 gt Addition of verbose option to breakpoint command lt Previous gt lt New gt Input format breakpoint information verbose Functions verbose If specified with information the detailed contents of the breakpoint are displayed Usage example IDCON 1 breakpoint information verbose 1 Brk00001 enable SJEX B Z NC AR JEQ A Ox10D 40 54 U17839EJ1V0X300 doc 32 lt p 295 gt Addition of append option to download command lt Previous gt lt New gt Added description a Another HEX file is downloaded 41 54 U17839EJ1V0X300 doc 33 lt p 316 gt Change in description of the tkcon command tkcon buffer size lt Previous gt Sets and references the maximum buffer size number of lines of the console If the specified buffer size is exceeded the excessive lines are deleted from the oldest order tkcon buffer size lt New gt Sets and references the maximum buffer size number of lines of the console If the specified buffer size is exceeded the excessive lines are deleted from the oldest order The default buffer size is 1 000 lines 42 54 34 lt p 320 gt Change in description of the where co
33. t dialog box Number of character strings that can be used for I O register 15 single byte characters names and SFR names Software Break Manager Number of software breaks that can be set 2000 points 54 54
34. the execution fails to return correctly the subsequent program execution is performed correctly 47 54 U17839EJ1V0X300 doc The following shows an operation example void funcO1 char count count if count gt 0 func01 count 2nd and 3rd call void main void funcO1 3 1st call In this example funcO1 is the recursive function The above program flows as follows main function Function func0 Function funcO Function func07 ist time 2nd time 3rd time 444 Function processing m ae Function call sececsee Return from function 48 54 U17839EJ1V0X300 doc The following explains the Return Out operation in detail Return Out during processing of the 1st recursive function main function Function funcO Function func01 Function func0 1st time 2nd time 3rd time KEK If Return Out is executed during the first processing of function func01 the execution returns to the circle marked position The ID78KOR QB sets a breakpoint at this position internally and executes the program In this case the program will stop at the desired position circle marked position Return Out during processing of the 2nd to nth recursive function 1 main function Function funcO Function func0O1 Function func01 1st time 2nd time 3rd time lt 49 54 U17839EJ1V0X300 doc If Return Out is executed during the second and third processing of func
35. tion funcO7 as in the above case the ID78KOR QB sets a breakpoint at the desired return position circle marked position Return Out during processing of the 2nd to nth recursive function 2 main function Function func01 Function func01 Function func01 1st time 2nd time 3rd time However the set breakpoint is also included in the recursive processing so breaks also occur at the square marked positions Return Out during processing of the 2nd to nth recursive function 3 main function Function func0 Function funcO Function func01 ist time 2nd time 3rd time 50 54 U17839EJ1V0X300 doc As a result of program execution a break occurs at the first breakpoint the rightmost square marked position in the above figure which is not the desired position This is because the execution passes through the desired position before reaching the desired position Although it is not the desired result program execution is performed as is coded Even if the program is reexecuted from this position the operation results are normal Return Out after processing of the nth recursive function ends main function Function func0O7 Function func01 Function func07 1st time 2nd time 3rd time If Return Out is executed after the third funcO7 processing the rightmost square marked position in the above figure it is desired to return to the circle marked position but a breakpoint is also set at the square marked pos
36. urement 3 Trace delay trigger 4 Event after execution 5 Access event To re execute the code in the execution start address use a break for the event before execution Do not overwrite programs in which a software break has been set to the internal RAM area or external RAM area otherwise the break may not occur normally Even if the break occurs the program before being overwritten is automatically restored Therefore use software breaks to set breaks to programs in the RAM area 3 54 U17839EJ1V0X300 doc 4 lt p 84 gt Changes in chapter 5 15 DMM Function IECUBE lt p 84 gt Third line in remark lt p 199 gt 3 Break When Write lt Previous gt lt 1 gt lt p 84 gt 5 15 DMM Function IECUBE lt 2 gt lt p 84 gt Remark After Break When Write is selected in the DMM Dialog Box DMM pseudo DMM by software simulation is selectable execution of the user program momentarily breaks upon a write If an area for which a real time write is not permitted register or SFR is specified in the DMM Dialog Box the setting is fixed to pseudo DMM lt 3 gt lt p 199 gt Select this item when performing DMM via software emulation pseudo DMM function this item is not selected by default lt New gt lt 1 gt lt p 84 gt 5 15 DMM Function lt 2 gt lt p 84 gt Remark After Break When Write is selected in the DMM Dialog Box DMM pseudo DMM by software simulation is selectable execution of the user
37. xt menu to move to the start address of the instruction 22 54 U17839EJ1V0X300 doc 16 lt p 154 gt Add remark to Figure 6 23 Assemble Search Dialog Box and description of Find What in 1 Search condition specification area lt Previous gt This area is used to specify the data to be searched Up to 256 character lt New gt Remark Search cannot be performed during program execution The function button appears dimmed This area is used to specify the data to be searched Up to 150 characters 23 54 U17839EJ1V0X300 doc 17 lt p 171 gt Change Add Remark 1 lt p 171 gt Change Add remark above Figure 6 27 lt p 173 gt Change Add caution lt p 175 gt Change Add remark below Context menu table lt p 171 gt Remark 1 lt p 171 gt Remark 2 lt p 173 gt lt p 175 gt lt p 171 gt Remark 1 Remark 2 lt p 171 gt Remark 3 Remark 4 lt p 173 gt Caution lt Previous gt If a local variable and a global variable exist with the same name the local variable takes priority A maximum of 10 000 lines can be displayed in the Watch Window lt New gt If a local variable and a global variable exist with the same name the local variable takes priority When a variable is referenced in the Watch window during program execution the data currently being changed may be displayed at the timing of the variable change A maximum of 10 000 lines can be displayed i
Download Pdf Manuals
Related Search
Related Contents
ZPC.1900 Security Processor Development Platform User`s Manual EASY WAY 201 取扱説明書等 取扱説明書 - 山田照明 Sunbeam Bedding SQH357 User's Manual Interpret software - Oxford Gene Technology lay:art Anmischplatte natural - us dental depot supply miami Planet Technology ICA-500C User's Manual 1 - L`Oréal Professionnel Education Severin SM 3719 Copyright © All rights reserved.
Failed to retrieve file