EDK7145 Renesas Electronics America, EDK7145 Datasheet - Page 18

DEV EVALUATION KIT SH7145

EDK7145

Manufacturer Part Number
EDK7145
Description
DEV EVALUATION KIT SH7145
Manufacturer
Renesas Electronics America
Type
MCUr
Datasheets

Specifications of EDK7145

Contents
2G (Second-generation) Evaluation Board, HEW debugger support, Cable and CD-ROM
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SH7145
Lead Free Status / RoHS Status
Not Compliant, Contains lead / RoHS non-compliant
increment this inner loop counter by 1 each time but the source line with the breakpoint will never be reached, until the loop
temrinating condition is satisfied.
If we examine the actual opcodes being stepped, we can see the PC has stopped at the opcode after the non-delay branch
instruction, as previously explained (i.e. the data access break bit is enabled).
F
7-3: D
IGURE
ISASSEMBLY VIEW OF CODE
The solution to this problem is to bypass the BT/BF UBC issue and set the beakpoint at the actual opcode (as opposed to
the source line consisting of the set of opcodes).
F
7-4: B
S
IGURE
REAKPOINT
OLUTION IN DISASSEMBLY
In Figure 7-4 the breakpoint has been set at the opcode MOV.W R5, @R4 (the line that actually sets the LED bits into the
appropriate register). If we perform a Debug | Run, we are no longer trying to break immediately after the non-delay branch,
18

Related parts for EDK7145