Programming LPC4370

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

Programming LPC4370

1,614 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mshrestha789 on Tue Mar 10 02:09:23 MST 2015
Hello friends,

I am trying to program the LPC4370 controller using DFU programmaer. I am trying to download program code to Internal ROM (EEPROM) of the microcontroller. But when I do that I get error message "PROGRAM CYCLE ERROR". Can anybody please help me regarding this.

I am using Keil compiler for programming.

I have attached the scree shot of the DFU programmer.

Please help me regarding this.

Labels (1)
0 Kudos
Reply
4 Replies

1,432 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mshrestha789 on Tue Mar 10 08:38:52 MST 2015
Ok Thank you so much. Yes I misunderstood the manual. Now I'll interface SPIFI flash memory and try again.
0 Kudos
Reply

1,432 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Mar 10 07:44:09 MST 2015
You must have misunderstood the manual.

There is a boot ROM in the chip. This is ROM and is impossible for you to change.
For a flashless part, such as the LPC4370, you have to use external flash to store your code. There is an alternative of booting from USB using DFU, where code is downloaded to internal RAM - but you need a host connected to USB so that it can dfu-boot your device.

Maybe you want to use one of the parts with internal flash, such as the LPC4357?
0 Kudos
Reply

1,432 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mshrestha789 on Tue Mar 10 07:29:16 MST 2015
Hi,

I read from user manual that for flashless controller, boot code can be store in the internal ROM memory and the ARM processor will start its code execution from this memory. So how do we do that? Can you please guide me on this. Do we need external memory to download and run code?
0 Kudos
Reply

1,432 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Mar 10 02:44:34 MST 2015
You cannot program code into the EEPROM. Even if you could, there is no way for you to run from there.

As LPC4370 is flashless, you either run from RAM, SPIFI or external memory.
0 Kudos
Reply