How to boot an image from uart?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to boot an image from uart?

跳至解决方案
1,553 次查看
Jeff-CF-Huang
Contributor III

Hi Sir,

I created an image for serial boot.
Is there any way to load and run it from uart without S32 DS & JTAG?
I have tried the below command, but it seems not to work.

S32FlashTool.exe -t S32G2xxx.bin -i uart -p COM13,115200 -boot application.bin -addr 0x34000000

I want to load my application to 0x34000000 and the entry is 0x340D5000.

0 项奖励
回复
1 解答
1,515 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We have the below information on regards of serial boot:

"Copy generated image to SRAM via "copy" command in Windows Command Prompt.

Configure the UART mode(n means COM number)
mode comn 48000,e,8,2

Copy the image to SRAM (image means the generated image file name)
copy image /b comn /b

"

We have followed the information and were able to boot from UART directly, without the need of S32DS nor JTAG connection. Since our binary file size was large, the serial download required some time to finish.

Please, let us know.

在原帖中查看解决方案

1 回复
1,516 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We have the below information on regards of serial boot:

"Copy generated image to SRAM via "copy" command in Windows Command Prompt.

Configure the UART mode(n means COM number)
mode comn 48000,e,8,2

Copy the image to SRAM (image means the generated image file name)
copy image /b comn /b

"

We have followed the information and were able to boot from UART directly, without the need of S32DS nor JTAG connection. Since our binary file size was large, the serial download required some time to finish.

Please, let us know.