Hi,
I am using LPCScrypt to flash the firmware into the LPC54628 board. Program (bootloader and application) loads successfully but doesn't run. So I have checked the memory content of flash using memDisplay command and found that memory content remains the same as the bootloader has after flashing the application image. see below snapshot.
Any idea what wrong with it?
Also, the erase command failed to erase the flash. Using memDisplay i can see flash is partially erased. see the below image.
why erase failed?
Thanks for your suggestion. I already tried Flash Magic before which constantly gives below error.
So I moved to use LPCScrypt.
But using LPCScrypt I am able to successfully program the LPC54628.
Now I have further updated is like bootloader which I programmed using LPCscrypt is running fine as I verified it by prints coming on the serial port. Now a new problem is started that every time that bootloader ran even I programmed new or erase that.
So not sure what is the issue? is it possible bootloader written somewhere else in memory and locked once it programmed?
Hello Jayesh,
How about your this case now?
When just open Flash magic it shows the error you mentioned before?
Yes, the same error which I mentioned.
Operation failed. Failed to autobaud-step1 -see
About Flash magic you can ask help from flashmagic website you mentioned.
And I have another suggestion, you can create a secondary bootloader by yourself, then update your firware.
There is a UART bootloader, you can have look:
https://www.nxp.com/docs/en/application-note/AN12384.pdf
https://www.nxp.com/docs/en/application-note-software/AN12384SW.zip
Hello Jayesh,
Yes, as Con Verse said, LPCscrypt just support lpc43xx and LPC18xx.
Maybe just program lpc54628 by chance, while we can't confirm it can work well.
And you Flash Magic error link can't open on my side.
Regards,
Alice
The info for LPCscrypt says
LPCScrypt is a command-line based, fast flash, EEPROM, OTP and security programming tool for LPC1800 and LPC4300 series microcontrollers.
it doesn’t mention LPC54...
But i can flash the LPC54628 successfully.