Continue to Site

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.

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,045
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
 

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
 

olimex j-link

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

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top