I can program the board using the 'debug' menu. I want to release the executable to production. How do I program the board outside the IDE? I could not find anything in the manual. I am using an LPC4537.
You have twice written LPC4537. Are you sure that is correct and that it isn't LPC4357 you mean?
The LPC4357 does have a boot ROM, that has support for ISP and IAP. ISP can be handled from the outside. IAP requires that you run a program that calls the IAP functions to write to the internal flash.
See chapter 5 of this document: www.nxp.com/.../UM10503.pdf
When you use Keils Ulink, it will use a flash algorithm that is a little helper program. So the program is sent to this helper program and the helper program uses the internal IAP to write into the flash. But FlashMagic can use ISP to send the program directly to flash without an IAP helper program in RAM.
Thanks. LPC4357, typing on a laptop & not checking!
We are very low volume & so a manual programming using the FlashMagic would be best. E400 is not many hours of NRE....
I will look into the ISP option route if/when we produce high volumes.
FlashMagic does support ISP.
Depending on how you configure your boot pins you normally automatically get an empty chip to wait in the ROM monitor program for FlashMagic or other program to connect and perform ISP. If using an UART, then all you need is a RS232-to-TTL of suitable voltage level. Or maybe a USB-to-3V3 logic-level RS232 cable for maybe $15.
So FlashMagic works both for low volume 1-10 boards or high volume. And is free for development but requires a not too expensive license for factory use - or for field programming. And the licensed versions has scripting support.
But you reall have quite a number of options besides JTAG with that specific LPC4357.
It is even possible to send a programming cable to a customer and have them download FlashMagic and pretend to be developer if you want them to do a full factory reprogramming of a device, i.e. replace everything including the boot loader.