LPC4357 error when programming

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC4357 error when programming

294 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kabriolin on Sat May 25 02:35:12 MST 2013
Hi,

I've a diolan LPC4357 board. I was programming it with a lpc-link interface and LPCXPRESSO 5.2.4.
Everything was fine, but now i can't program it any more, got this error message:

Flash Driver "ProgramPage" return code 0x01

On attached file a screen shot.
I've tried to hold the reset button when programming, but an other error message comes, as it loose connection with the board.

I think, the flash contains an error. How can I erase it?

Thx,
0 Kudos
Reply
3 Replies

271 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kabriolin on Wed May 29 10:08:18 MST 2013
Problem solved by following this link:

http://support.code-red-tech.com/CodeRedWiki/GuiFlashProgramming

Just mass erase the flash, reset it, and it's work again!!!!
0 Kudos
Reply

271 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kabriolin on Sat May 25 06:26:15 MST 2013
Ok,

That's what i've tried (ground p2_7, not easy to do).
Now i can start it in ISP mode, it's run an old (default?) code by flashing leds.

But, i can't load a new firmware, always the same error when attempting to write flash.
After it, i'am still connected to the target, i can halt it, and read the memory.
First part (M4 bloc) looks good. But the M0 bloc, looks good only for the 0x200 firsts addresses, after it, it's only 0xFF.
0 Kudos
Reply

271 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sat May 25 04:11:32 MST 2013
Boot it into ISP mode. That should solve it.
0 Kudos
Reply