Tool News
 
 
 

Tool News

Products Info
Downloads
Tools FAQs
MESC TOOL NEWS: MESCT-PD38-980616D

PD38 V.2.00 Precaution

Please take note of the following problem in using emulator debugger PD38 (formerly called PDB38) for the 740 family of microcomputers.



Problem
When executing the G command (in the earlier command system) on the script window, the target program cannot be stopped at any break address if the instruction at the address is 2 bytes long or more.

[Example] In the following program, even if command
>G E000,E003
is executed, a break does not occur because the instruction at break address E003h is 2 bytes in length.

AddressProgram
-.ORG $E000
E000NOP
E001NOP
E002NOP
E003JMP E000 <-- NG

This phenomenon does not appear with the Go command in the revised command system.

[Note]
PD38 V.2.00 supports both the command system (earlier system) used in PDB38 V.1.00 and the command system (revised system) same as the one used in M16C/60 series emulator debugger PD30.
The G command of the earlier system starts a target program at the beginning address specified and stops it immediately after the break address specified is reached by the number of pass counts specified. If no break address is specified, the command starts the program free-running at the beginning address.

Format: G Beginning Address [,Break Address [:Pass Counts]]

Workaround
Please circumvent the problem by either of the following methods:

  1. Specify a breakpoint in the PB or EB command; then execute the GB command.
    > PB SET E003
    > GB E000
    

  2. When specifying a breakpoint in the G command, use the value decremented by 1 from the break address.
    > G E000,E003-1
    
We plan to fix this problem in our next release.





© 2008. Renesas Technology Corp., All rights reserved. Privacy | Legal