-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LPC546XX sector writes issues which causes bootloader update failure #562
Comments
@mmahadevan108 if you can check this issue for this HIC. |
Can you please provide steps to reproduce this failure. |
@mmahadevan108 on interface mode, we should be able to update the bootloader, on a LPCXpresso546XX, you can try drag n drop a _bl (lpc4322_bl_crc.bin) file or bootloader binary for lpc4322. |
I am unable to drag-n-drop the bootloader binary. I see a FAIL.TXT file created on drag-n-drop with the below message. The application file format is unknown and cannot be parsed and/or processed. I am using the Interface firmware from the 251 release. DAPLink Firmware - see https://mbed.com/daplinkUnique ID: 105600001984a78e00000000000000000000000097969905 |
@mmahadevan108 , you have to turn on the automation for now, create a file AUTO_ON.CFG in the drive with the target reset asserted. |
cc @flit
It is passing in a Flash location as write buffer instead of RAM address, this causes the LPC program algorithm to fail.
|
|
A sequence of flash_erase_sector and flash_program_page in critical_erase_and_program will produce a mismatch in the binary being written (can be checked by LPCScrypt_CLI.cmd ).
Another issue is programming a memory from rom location will cause a fault, and will revert the interface chip to an LPC USB device, to be flashed by LPCScrypt.
The text was updated successfully, but these errors were encountered: