How to upgrade a custom LPC55S69 using ISP mode USART

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to upgrade a custom LPC55S69 using ISP mode USART

ソリューションへジャンプ
1,923件の閲覧回数
sushmasan
Contributor II

Hello Team,

I have different application notes about ISP mode, but it was not clear to me.

I am trying to understand the different steps involved in upgrading a custom LPC55s69 microcontroller using ISP USART mode.

Can someone please provide some insights about it?

 

Regards,
San

0 件の賞賛
返信
1 解決策
1,799件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi sushmasan,

With the workaround we can only achieve auto isp mode. in the default Auto ISP mode which will scan all the available interfaces looking for activity. If usart is available, it will go to uart isp.

Thanks,

Jun Zhang

元の投稿で解決策を見る

0 件の賞賛
返信
9 返答(返信)
1,886件の閲覧回数
sushmasan
Contributor II

Hello @ZhangJennie ,

Just wanted to check,

as per the comment in this link,

https://community.nxp.com/t5/LPC-Microcontrollers/how-to-enter-ISP-mode-via-software-LPC55S69/td-p/1...

"For LPC55S69 1B, according to UM, no way to enter ISP mode with code. "

So, can't we enter into ISP mode via software at all?

Let's say, If I want to use Flexcomm 0 interface to do the firmware upgrade, which means LPC55s69 has to enter into USART-ISP mode. 

I am planning to use USART PIO0_29 as RX, PIO0_30 as TX for firmware upgrade.

How can I achieve firmware upgrade using these pins in the ISP mode?

Regards,
San

Regards,
Santhosh

 

0 件の賞賛
返信
1,864件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi sushmasan,

The link you refered was in 2020 . Device with date code 2101 (yyww) onward has workaround. see errata

https://www.nxp.com.cn/docs/en/errata/ES_LPC55S6X.pdf

ZhangJennie_0-1732259675182.png

 

But if the date code is before 2101, there is no wrokaround.

Hope this helps,

Jun Zhang

 

0 件の賞賛
返信
1,850件の閲覧回数
sushmasan
Contributor II

Hi @ZhangJennie ,

Thanks for the update, let me go through the errata you have shared.

 

Regards,

San

0 件の賞賛
返信
1,846件の閲覧回数
sushmasan
Contributor II

Hello @ZhangJennie ,

I went through the errata, and understand that

User should use below code in their application to invoke auto ISP mode instead of runBootloader API.

The work around is bring the device into auto ISP mode, where as I would like to USART-ISP mode. How can I achieve that?

 

Regards,
San

0 件の賞賛
返信
1,800件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi sushmasan,

With the workaround we can only achieve auto isp mode. in the default Auto ISP mode which will scan all the available interfaces looking for activity. If usart is available, it will go to uart isp.

Thanks,

Jun Zhang

0 件の賞賛
返信
1,795件の閲覧回数
sushmasan
Contributor II

Hi @ZhangJennie ,

Thanks for the update.

0 件の賞賛
返信
1,913件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hello @sushmasan ,

I would suggest you reading this article. I believe it will help you.

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/LPC55-Update-Firmware-in-USB-UART-SPI-I2...

Have a nice day,

Jun Zhang

0 件の賞賛
返信
1,888件の閲覧回数
sushmasan
Contributor II

Hello @ZhangJennie ,

I already went through the details in the link you provided, but it was not clear to me. Let me read it again.

Thanks.

Regards,
San

0 件の賞賛
返信
1,916件の閲覧回数
sushmasan
Contributor II

Sorry, some clarification is missing in my previous message. Please see the update.

I went through* different application notes about ISP mode, but it was not clear to me.

0 件の賞賛
返信