EmbeddedRelated.com
Forums

Can't download firmware into LPC2129. Please help with project configuration.

Started by Nick Alexeev December 8, 2008
Colleagues,

I can't seem to download the firmware into my chip (LPC2129). Keil
uVision compiles the code without errors or warnings, but when I try to
download it with ULINK2, it gives me these error messages:

"LPC210x_ISP.EXE" "C:\Documents and Settings\Administrator\Desktop\arm
cpp\cpptest01.HEX" 12000 LPC2129 COM1: 9600 1
--- Error: failed to execute '"LPC210x_ISP.EXE" "C:\Documents and
Settings\Administrator\Desktop\arm cpp\cpptest01.HEX" 12000 LPC2129
COM1: 9600 1'

At the same time, I can successfully download BlinkyCAN example using
the same target and programmer.

Build target 'MCB2100 Flash'
assembling Startup.s...
compiling Retarget.c...
compiling mco.c...
compiling mcohw_LPC2.c...
compiling user_LPC2.c...
compiling BlinkyCAN.c...
linking...
Program Size: CodeS40 RO-data504 RW-data ZI-data44
".\Flash\BlinkyCAN.axf" - 0 Error(s), 0 Warning(s).
Load
"C:\\Keil\\ARM\\Boards\\Keil\\MCB2100\\BlinkyCAN\\Flash\\BlinkyCAN.AXF"
Erase Done.
Programming Done.
Verify OK.

What am I missing?

Any insight or reference will be appreciated!

- Thanks,
Nick

An Engineer's Guide to the LPC2100 Series

Nick,
It is trying to flash thru ISP mode. Change the project setting to
use the Ulink2 and it will work fine

Regards,
Suren

2008/12/8 Nick Alexeev

> Colleagues,
>
> I can't seem to download the firmware into my chip (LPC2129). Keil
> uVision compiles the code without errors or warnings, but when I try to
> download it with ULINK2, it gives me these error messages:
>
> "LPC210x_ISP.EXE" "C:\Documents and Settings\Administrator\Desktop\arm
> cpp\cpptest01.HEX" 12000 LPC2129 COM1: 9600 1
> --- Error: failed to execute '"LPC210x_ISP.EXE" "C:\Documents and
> Settings\Administrator\Desktop\arm cpp\cpptest01.HEX" 12000 LPC2129
> COM1: 9600 1'
>
> At the same time, I can successfully download BlinkyCAN example using
> the same target and programmer.
>
> Build target 'MCB2100 Flash'
> assembling Startup.s...
> compiling Retarget.c...
> compiling mco.c...
> compiling mcohw_LPC2.c...
> compiling user_LPC2.c...
> compiling BlinkyCAN.c...
> linking...
> Program Size: CodeS40 RO-data504 RW-data ZI-data44
> ".\Flash\BlinkyCAN.axf" - 0 Error(s), 0 Warning(s).
> Load
> "C:\\Keil\\ARM\\Boards\\Keil\\MCB2100\\BlinkyCAN\\Flash\\BlinkyCAN.AXF"
> Erase Done.
> Programming Done.
> Verify OK.
>
> What am I missing?
>
> Any insight or reference will be appreciated!
>
> - Thanks,
> Nick
>
>
>
>
>

--
regards
Surendra Kumar