hi Team,
This article is useful and its wrt lpc54xxx.
We are working on LPC55s69 and planning to update firmware vis USB instead of ISP.
Is their any similar article/code project referencing LPC55s69 board.
If not, then can i use similar analogy as in article to implement USB Firmware update for LPC55s69.
Thank you
已解决! 转到解答。
Hi Deeps_bang
I just checked runBootloader(arg) is supported in LPC55(S)0x/1x.
Unfortunately, LPC55(S)2x/6x doesn't support it. LPC55(S)2x/6x doesn't have feature to enter ISP mode in source code. So far there is no specific dates to provide a procedure to perform this.
There is an aplication note regarding this : AN12327 Firmware Update Using Secondary Bootloader
https://www.nxp.com.cn/docs/en/application-note/AN12327.pdf
You can refer this to development firmware update code with secondary bootloader.
Jun Zhang
Hi Deeps_bang
If LPC55, updating firmware via ISP USB is the same as this document.
But I suggset you using USB1 interface, the reason is documented here: https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55-Don-t-Use-ISP-USB0-for-firmware-up...
Thanks,
Jun Zhang
HI Jennie,
which is best possible way to achieve this..?
2. Any suggestion for below issue ??
In LPC54xxx -> iap_entry(API ) present in fsl_Flafhiap.h is used to reinvoke ISP.
But in LPc55s69 -> No such API found in fsl_iap.h or fsl_iap.c. wrt SDK 2.12.0.
so, how to achieve iap_entry() in LPC55s69??
Thank you.
In LPC54xxx -> iap_entry(API ) present in fsl_Flafhiap.h is used to reinvoke ISP.
But in LPc55s69 -> No such API found in fsl_iap.h or fsl_iap.c. wrt SDK 2.12.0.
so, how to achieve iap_entry() in LPC55s69??
Hi Deeps_bang
HI Deeps_bang
LPC55(S)2x/6x doesn't have feature to enter ISP mode in source code. LPC55(S)0x/1x has this feature but LPC55(S)2x/6x doesn't have. So far there is no specific dates to provide a procedure to perform this.
Have a nice day,
Jun Zhang
Hi Jennie,
Actually our application need this feature badly i.e Entering Bootloader mode via Software for LPC55s69JBD100 1B version board.
Please let me know if any update on this in Future from Technical team .
Mean while if any suggestions from your side for this problem statement is also welcome.
Thanks for guiding .
Hi
This feature is available on the newer version devices described in the errata:
https://www.nxp.com.cn/docs/en/nxp/errata/LPC55S6x_ES.pdf
To get ROM API version, you can call:
get_rom_api_version();
To get the ROM patch version, you can use blhost:
>blhost -p COMx get-property 0x18
The date code can be found in the IC package marking (See datasheet).
There is no way to apply a ROM patch by user, this is only done during production testing of the parts.
Hope this will help you.
Jun Zhang
Hi Deeps_bang
I just checked runBootloader(arg) is supported in LPC55(S)0x/1x.
Unfortunately, LPC55(S)2x/6x doesn't support it. LPC55(S)2x/6x doesn't have feature to enter ISP mode in source code. So far there is no specific dates to provide a procedure to perform this.
There is an aplication note regarding this : AN12327 Firmware Update Using Secondary Bootloader
https://www.nxp.com.cn/docs/en/application-note/AN12327.pdf
You can refer this to development firmware update code with secondary bootloader.
Jun Zhang