Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

J-LINK and Olimex LPC2129 board?

Status
Not open for further replies.

SphinX

Advanced Member level 3
Joined
Jan 25, 2002
Messages
822
Helped
58
Reputation
116
Reaction score
29
Trophy points
1,308
Location
EGYPT
Activity points
7,051
lpc2129 board

Salam,

I have two Olimex LPC2129 ARM Evaluation Boards.
I use J-LINK JTAG debugger for debugging using IAR Workbench IDE.

But when i start debugging process, this message appear in the middle of flash programming process

CMD_PREPARE_SECTORS failed !

What is the problem ? The second board give this message too !!!

What is *.sim file ? and how can i generate it from IAR Workbench ?

Thanks very much
 

bobsanjose

Advanced Member level 1
Joined
Jan 13, 2006
Messages
416
Helped
54
Reputation
108
Reaction score
21
Trophy points
1,298
Location
Silicon Valley
Activity points
5,228
olimex board using iar examples

The feedback "CMD_PREPARE_SECTORS" seems to be coming from the on-chip bootloader of the LPC2129. Is there a chance that you call IAP routines? If so, you need to call the IAP routines with the actual CPU frequency, e.g. if you activate the PLL, the IAP call needs to be external frequency times PLL factor.
IAR, J-Link and LPC2129 is a well tested combination and we need to find where the handling needs a change.

This is a long shot but may be it helps

Bob
 

SphinX

Advanced Member level 3
Joined
Jan 25, 2002
Messages
822
Helped
58
Reputation
116
Reaction score
29
Trophy points
1,308
Location
EGYPT
Activity points
7,051
olimex j-link

The problem had been solved When i erased the chip using Flash utility !!!
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top