EmbeddedRelated.com
Forums

LPC23688 programming to flash

Started by Sam Lee April 19, 2007
i get the following errors when i am trying to program to flash on the
lpc2368 using the IAR embedded workbench
i have set the correct device, the flash.xcl file, the flash.mac file...

am i doing something wrong??

THanks a million
Sam
Thu Apr 19 13:54:41 2007: Loaded macro file: C:\Program Files\IAR
Systems\Embedded Workbench 4.0 Kickstart\ARM\config\flashloader\NXP\
FlashNXPLPC512k.mac
Thu Apr 19 13:54:41 2007: DLL version: V3.56f, compiled Dec 7 2006 19:47:04
Thu Apr 19 13:54:41 2007: Firmware: J-Link compiled Dec 21 2006 16:23:41 ARM
Rev.5
Thu Apr 19 13:54:41 2007: JTAG speed is initially set to: 32 kHz
Thu Apr 19 13:54:41 2007: Halting CPU core
Thu Apr 19 13:54:41 2007: Software reset was performed
Thu Apr 19 13:54:41 2007: Initial reset was performed
Thu Apr 19 13:54:41 2007: J-Link found 1 JTAG device. ARM core Id:
4F1F0F0F(ARM7)
Thu Apr 19 13:54:41 2007: Device at TAP0 selected
Thu Apr 19 13:54:41 2007: Auto JTAG speed: 250 kHz
Thu Apr 19 13:54:43 2007: 3698 bytes downloaded and verified (2.59Kbytes/sec)
Thu Apr 19 13:54:43 2007: Warning:
Verify error at address 0x40000AE0, target byte: 0x20, byte in file: 0x08
Thu Apr 19 13:54:43 2007: Warning:

Thu Apr 19 13:54:43 2007: Warning:
Verify error at address 0x40000B3E, target byte: 0x04, byte in file: 0x69
...
Verify error at address 0x40000B50, target byte: 0xF4, byte in file: 0x43
Thu Apr 19 13:54:43 2007: Warning:

Verify error at address 0x4000012F, target byte: 0x40, byte in file: 0x00
Thu Apr 19 13:54:43 2007: Warning: Too many verify errors, only the first
200 are displayed
Thu Apr 19 13:54:43 2007: There were warnings during download of FLASH
loader, see Log Window
Thu Apr 19 13:54:44 2007: Failed to load flash loader: C:\Program Files\IAR
Systems\Embedded Workbench 4.0 Kickstart\ARM\config\flashloader\NXP\
FlashNXPLPC512k.d79

An Engineer's Guide to the LPC2100 Series

Did you find out what the problem was ?

I get the same error

Regards,

Peter

--- In l..., "Sam Lee" <00samlee00@...> wrote:
>
> i get the following errors when i am trying to program to flash on
the
> lpc2368 using the IAR embedded workbench
> i have set the correct device, the flash.xcl file, the flash.mac
file...
>
> am i doing something wrong??
>
> THanks a million
> Sam
> Thu Apr 19 13:54:41 2007: Loaded macro file: C:\Program Files\IAR
> Systems\Embedded Workbench 4.0
Kickstart\ARM\config\flashloader\NXP\
> FlashNXPLPC512k.mac
> Thu Apr 19 13:54:41 2007: DLL version: V3.56f, compiled Dec 7
2006 19:47:04
> Thu Apr 19 13:54:41 2007: Firmware: J-Link compiled Dec 21 2006
16:23:41 ARM
> Rev.5
> Thu Apr 19 13:54:41 2007: JTAG speed is initially set to: 32 kHz
> Thu Apr 19 13:54:41 2007: Halting CPU core
> Thu Apr 19 13:54:41 2007: Software reset was performed
> Thu Apr 19 13:54:41 2007: Initial reset was performed
> Thu Apr 19 13:54:41 2007: J-Link found 1 JTAG device. ARM core Id:
> 4F1F0F0F(ARM7)
> Thu Apr 19 13:54:41 2007: Device at TAP0 selected
> Thu Apr 19 13:54:41 2007: Auto JTAG speed: 250 kHz
> Thu Apr 19 13:54:43 2007: 3698 bytes downloaded and verified
(2.59Kbytes/sec)
> Thu Apr 19 13:54:43 2007: Warning:
> Verify error at address 0x40000AE0, target byte: 0x20, byte in
file: 0x08
> Thu Apr 19 13:54:43 2007: Warning:
>
> Thu Apr 19 13:54:43 2007: Warning:
> Verify error at address 0x40000B3E, target byte: 0x04, byte in
file: 0x69
> ...
> Verify error at address 0x40000B50, target byte: 0xF4, byte in
file: 0x43
> Thu Apr 19 13:54:43 2007: Warning:
>
> Verify error at address 0x4000012F, target byte: 0x40, byte in
file: 0x00
> Thu Apr 19 13:54:43 2007: Warning: Too many verify errors, only
the first
> 200 are displayed
> Thu Apr 19 13:54:43 2007: There were warnings during download of
FLASH
> loader, see Log Window
> Thu Apr 19 13:54:44 2007: Failed to load flash loader: C:\Program
Files\IAR
> Systems\Embedded Workbench 4.0
Kickstart\ARM\config\flashloader\NXP\
> FlashNXPLPC512k.d79
>
>