Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Bootloader: Wrong answer on Prepare-Command (2) (Sector 2) CMD_SUCCESS

2004-04-01 by Andreas Schwarz

Hello,

I'm using lpc21isp to program my LPC2106. When I try to download the
test2 hex file from the Aeolus newlib example, I get the following output:

(...)
Writing Sector 0: ....(...)
Sector 0 written
Writing Sector 1: ....(...)
Sector 1 written
Writing Sector 2: ....(...)...Wrong answer on Prepare-Command (2) (Sector 2)
CMD_SUCCESS

...and the program doesn't work (no traffic on TXD). If I change "#if 1" to
"#if 0" and vice-versa (to disable the UART echo example), the program loads
ok, and I can receive the "hello world"-message over the UART.

What's wrong here?

Thanks
Andreas

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.