Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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,422
Helped
138
Reputation
276
Reaction score
39
Trophy points
1,328
Location
Stanford, SF Bay Peninsula, California, Earth, Sol
Activity points
9,968
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
 

kender

Advanced Member level 4
Joined
Jun 19, 2005
Messages
1,422
Helped
138
Reputation
276
Reaction score
39
Trophy points
1,328
Location
Stanford, SF Bay Peninsula, California, Earth, Sol
Activity points
9,968
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top