What is best way for communication with PC when MCU runs in bootload mode?

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

What is best way for communication with PC when MCU runs in bootload mode?

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

Hi, all.

I'm curious about bootload communication way.

First my option is polling mode when MCU communicates with PC by UART.

Second is interrupt mode.

What is best option for managing my device?

ラベル(1)
0 件の賞賛
返信
1 解決策
969件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Eunseok,

I think no matter using the polling mode or interrupt mode is Ok for MCU to receive the data from the PC correctly.

The key of the communication is guaranteeing the process follow the corresponding protocol.

I'd like to suggest that you can refer to AN2295 note and its code for details which share an example of serial bootloader.

Please learn more details about them through the link as below.

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf

cache.freescale.com/files/microcontrollers/doc/app_note/AN2295SW.zip
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
970件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Eunseok,

I think no matter using the polling mode or interrupt mode is Ok for MCU to receive the data from the PC correctly.

The key of the communication is guaranteeing the process follow the corresponding protocol.

I'd like to suggest that you can refer to AN2295 note and its code for details which share an example of serial bootloader.

Please learn more details about them through the link as below.

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf

cache.freescale.com/files/microcontrollers/doc/app_note/AN2295SW.zip
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信