I want to use the built-in ROM bootloader to update the FW. I can drive the pin PIO0_5 to let LPC55S69 enter into the ISP mode. now I wanna know is there any method to let LPC55S69 enter into ISP mode via software(without drive the PIO0_5 low)?
I had a try to add the code below to my project, but the LPC55S69 can not enter into ISP mode.
PMC->AOREG1 |= (0x0A << 16);
i am also trying for the same i.e enter ISP Via software for LPC 55s69.
my basic Qn is how to check with version via Software .???
and if you remember whats the final solution you arrived for this issue i.e enter isp Via software...
found that via this API : static inline uint32_t Chip_GetVersion(void) can get the chip version .
how about ISP mode entry via S/w?
I guess you use LPC55S69 1B revision?
This code support LPC55S69 0A revision but not 1B.
If this feature is necessary for you, please let me know your application name ( What product do you work with 55s69 )? I can check it internally. You can send me community message if you don't want to share your application to public.
yes, we use LPC55S69 1B reversion. we had made the decision that we won't use the LPC55S69 0A reversion.
i got the EVK-board and will get the board(LPC55S69 1B reversion) for our product.
i just use the led_blinky project from SDK to test this feature. will NXP provide the code like you do for 0A reversion let LPC55S69 enter into ISP mode via software?
For LPC55S69 1B, according to UM, no way to enter ISP mode with code.
we can see the sentences below from page 135 of UM11126:
Entry through ROM API call.
– Used by application code to implement in field update using ISP mechanism
is this mechanism also just used for reversion 0A? not for reversion 1B?
"Entry through ROM API call.
– Used by application code to implement in field update using ISP mechanism."
This is true.
The APIs are used in the application to update the firmware of the device by calling the IAP APIs to process the SB file in the secure state. Through the IAP APIs, user can update the firmware of the device including the following features:
• Erase the flash region
• Program data into the flash region
• Enable the PRINCE region
• Update the CFPA data in the FFR region
• Make the device fall into FA mode
You can refer iap demo code in SDK, "flashiap1"
should we use the built-in ROM bootloader to let LPC55S69 enter into ISP via software or secure boot or?
NO. As I've already said some LPC( eg,LPC8xx) Boot Room support InvokeISP but LPC55 doesn't have.
LPC55 support ROM IAP functions as I mentioned in my previous reply.
we can use blhost to update FW via USB, but the premise is we need to drive the ISP pin(PIO0_5) low to let LPC55S69 enter into ISP mode.
so my question is there any method to update the FW without driving the ISP pin low?
>>so my question is there any method to update the FW without driving the ISP pin low?
No method without driving ISP pin low.
In your case, to update firmware, you need to use secondary bootloader. See AN12327
this demo, you can set update flag to enter bootloader mode.
Thx for your reply.
from page4~page6 in AN12327, the document tells us how to add image marker and image header by modify startup files based on IDE IAR and KEIL.
my question is how can we add image marker and image header by modify startup files based on MCUXpresso IDE?
Did you use the AN12327SW from my above link?
Please check lpc55s69_dsbl_sdk2.8_mcux.zip inside.