We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am currently porting a project from Stellaris LM3S6611 to a NXP LPC1766. On the Stellaris chip the MAC address is normally set in the user registers that are OTP or One Time Programmable. For production we are currently using the Stellaris LM flash programmer in command line mode to do this from an in house program.
Looking at examples for the Flash Magic bootloader, the MAC address is hardcoded in a .h file. Not really convenient. What is the standard way to do this on an NXP chip so the boot loader and the application have the same MAC address? Just take any free flash page and put the MAC there? I don't know if uVision has some support for this but I'm not sure that this is a good program for production. OK our current binary is only 24K so we could use the free version.
Is the Flash Magic bootloader the most suitable bootloader? Is it identical to NXPs bootloader? Any other good ones I should look at? I only want to be able to update application via Ethernet and start my application when in normal mode. Don't need serial, SPI support etc.
For licensing reasons we can not use the Stellaris LM Flash programmer and I think the Stellaris evalution board we use as JTAG will not program an NXP. I think they check manufacturer ID of the connected chip.
I noticed you said "For licensing reasons we can not use the Stellaris LM Flash programmer" - I thought this program was free for anyone to use. Could you tell me why you don't use it. I just got my project working with it - i used to use Y modem, but that was tricky. any advice is appreciated
I really meant the bootloader. In the header for the bootloader it clearly say that this product should only be used together with Stellaris products. I think that if it works, you can use the LM Flash Programmer with their evaluation board as JTAG. But I saw somewhere that they check the vendor ID so it might not work with non-Stellaris devices. Really don't know if there are any restrictions.
Anyway switched over to LPCExpresso boards both for M0 and M3 with the LPCExpresso IDE. Works great and those boards cost perhaps 20£. I got the M0 free as a sample. And they contain JTAG (really SWD) over USB. You could also break the board in two and have a development board and a SWD I/F (LPC-Link).