Write using Flash Tool with eMMC

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

Write using Flash Tool with eMMC

3,958 次查看
wufan2
Contributor I

  I want to download the bianry to device(S32G274A RDB2) with eMMC using flashtool;

When i run below command:

sudo ./bin/S32FlashTool -t ./targets/S32G2xxx.bin -a ./flash/EMMC.bin -i uart -p /dev/ttyUSB0

then there are below errors:

Initializing Target.

Error: Target image load is failed!

Error: Response error

from above error, the targets bin file of s32g2xxx has some wrong? 

Could you help check this issue, thanks

0 项奖励
回复
5 回复数

2,758 次查看
puravp
Contributor II

Even I am facing the same issue. Any updates on this?

0 项奖励
回复

3,957 次查看
wufan2
Contributor I

I have set below setting in my board:

eMMC Boot:
– SW9 -> ALL-OFF
– SW10 -> 1-ON, 2-OFF
– SW3 -> OFF
– SW4 -> 6-ON, 7-ON, Rest-OFF
– SW5 -> ALL-OFF
– SW6 -> ALL-OFF
– SW7 -> ALL-OFF

0 项奖励
回复

3,927 次查看
bpe
NXP Employee
NXP Employee

You set your board to boot from eMMC, while the processor has to be in the
Serial boot mode to communicate with the host part of the Flash Tool. 
In addition to the settings specified in Section 3.6 of S32G-VNP-RDB2 User
Guide, you should set SW3 to OFF to make eMMC visible to the processor/tool.
Details behind this setting can be found in Section 3.7.3 of S32G-VNP-RDB2
Reference Manual.

 

Best Regards,
Platon

 

 

0 项奖励
回复

3,372 次查看
prabhat_
Contributor III

hello @bpe I am facing a similar issue with SBC S32G274A EVB, I am trying to directly flash the binary image into the SRAM of the device which is SoM (MPX-S32G274A) through the S32 debug probe which I have connected to the JTAG module ST7. I have configured the onboard SW2 and SW3 in the following fashion : 
SW2 : 1,2,3 - OFF & 4-ON
SW3 : 1,2 - OFF

I prepared the bootable binary image using the following sources : HOWTO: Use IVT Tool To Create A Blob Image S32G274... - NXP Community

S32DS flashing attempt through IVT mode : 

prabhatpandey_1-1658730304546.png

S32 flash tool :

prabhatpandey_0-1658730105375.png

 

 

 

0 项奖励
回复

2,843 次查看
prabhat_
Contributor III

hello @bpe @wufan2, any update on this issue ? I am trying to do a flash write using the S32 Flash Tool by keeping the boot option as serial download on the EVAL board. I am still facing the very same issues. 

0 项奖励
回复