I am starting a new design with the LPC54616J512BD208 and having a bit of problem figuring out the field (at end user) firmware update process. I want to use one of the serial ports on the LPC54616J512BD208 to download the new firmware.
On the hardware side I think I have what I need. I have a USB to Serial Brige IC and I can use the serial flow control bits and some glue logic to reset the LPC54616J512BD208 and direct the boot process to internal Flash or to the USART.
1) According to the User Manual, if GPIO_4 is '0', GPIO_5 is '1' and GPIO_6 is '1' , the first valid probe message on USART, I2C, or SPI locks in that interface. What is this probe message? Is the PC program downloading the hex code sending this message?
2) Is there a simle, no frills PC program (C#, C++, etc..) example to download the hex code through the USART? At the moment I am not concered with a secure download. Just a basic, easy to understand program.
解決済! 解決策の投稿を見る。
Hi,
You can use the FlashMagic tools to download application code to on-chip flash via uart in ISP mode by setting up the ISP0(PIO0_4) pin as LOW during/after Reset, you can download FlashMagic tools from the link:
https://www.flashmagictool.com/
Hope it can help you
BR
Xiangjun Rong
Are there other tools beside flashmagic to use the ISP features?
my board is equiped with USB1 for ISP upgrade port. I have a jumpeer for ISP mode at startup.
But flashmagic does not program my LPC55S69.. reading and erasing works fine.
Thank you for the quick reply.
FlashMagic looks promising!