Can’t seem to program a target with J-Link

Status
Not open for further replies.

kender

Advanced Member level 4
Joined
Jun 19, 2005
Messages
1,428
Helped
138
Reputation
276
Reaction score
39
Trophy points
1,328
Location
Stanford, SF Bay Peninsula, California, Earth, Sol
Activity points
10,069
Colleagues,

Apologies for the newbie question, it’s my first attempt with IAR tools. I have a board with LPC2368. When I connect J-Link and run JLink.exe, it identifies one JTAG device and says that it’s ARM7. It suggests that wiring of JTAG is correct. When I try to download a simple program from Embedded Bench into the chip, it doesn’t verify and I get warnings:
Verify error at address 0x00000093, target byte: 0xFF, byte in file: 0x4B
Verify error at address 0x00000094, target byte: 0xFF, byte in file: 0x9C
Could anyone help me identify causes of this problem?

Cheers,
- Nick
 

Update

I didn't have the "Use flash loader(s)" box checked in Project -> Options - > Debugger . I've checked it. The list of flash loaders now says "....(default)". My target is set to LPC2368. When I run the debugger, it tries to download to the target and generates a different error:
Fatal error: Write memory error @ address 0xE01FC10C, word access: Memory access timeout.
Probably the initial error got fixed. But there's something else not quite right.

- Nick
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…