How to use S32 Flash Tool

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

How to use S32 Flash Tool

跳至解决方案
4,822 次查看
youngdae
Contributor III

I have S32G-VNP-RDB2 and S32 Debug probe.

I try to written in flash area.

but An error has occurred as below.

Program finished with error #-1073741819.

I don't know what to do.

youngdae_0-1651208656115.png

 

0 项奖励
1 解答
4,782 次查看
mikedoidge
NXP Employee
NXP Employee

Hello Youngdae,

Before you can use the flash operations, you must 'Upload target and algorithm to hardware'. If this is successful, then the communication settings are not an issue. Then you should be able to use the flash operations. What file are you trying to upload to the device?

Mike

在原帖中查看解决方案

5 回复数
4,783 次查看
mikedoidge
NXP Employee
NXP Employee

Hello Youngdae,

Before you can use the flash operations, you must 'Upload target and algorithm to hardware'. If this is successful, then the communication settings are not an issue. Then you should be able to use the flash operations. What file are you trying to upload to the device?

Mike

1,918 次查看
hahahaha
Contributor I

Hello, where can I download this software?

0 项奖励
1,908 次查看
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @hahahaha , 

If I am not mistaken are you looking to install S32DS? 

 

You can find the S32DS according to your requirement 

https://www.nxp.com/design/software/development-software/s32-design-studio-ide:S32-DESIGN-STUDIO-IDE

Please follow the installation guide provided in design resource for e.g. 

https://www.nxp.com/webapp/Download?colCode=S32DSIG

 

If you were looking for S32 Flash tool it is embedded with S32DS installation. 

 

After you install S32 Design Studio for S32 Platform, you will find the S32 Flash Tool located within the installation directory:

C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool

There are options for both GUI and command line:

"C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\GUI\s32ft.exe"

"C:\NXP\S32DS.3.5\S32DS\tools\S32FlashTool\bin\S32FlashTool.exe"

 

Please let us know if you require any further help 

 

Thank you. Best regards. 

 

-Mehul Patel 

0 项奖励
3,996 次查看
lun_ccc
Contributor I

hello, I clicked on this option and still has this problem

标记 (1)
0 项奖励
3,978 次查看
mikedoidge
NXP Employee
NXP Employee

Hello,

 

Below are possible reasons to get error in the flash tool “Program finished with error # - 1073741819”.

Could you please confirm the following conditions?

  1. The USB connection between the PC and the target was attempted on more than one USB port.
  2. The target is set to ‘serial boot mode’ with the following:
    i.      BOOTMOD0 (SW14) = all OFF
    ii.      BOOTMOD1 (SW15) = all OFF
    iii.      BOOT_CFG[0:7] (SW6) = all OFF
    iv.      BOOT_CFG[8:15] (SW7) = all OFF
    v.      BOOT_CFG[16:23] (SW8) = all OFF
    vi.      BOOT_CFG[24:31] (SW9) = all OFF
  3. A serial connection can be established from the PC to the target using a terminal program (PuTTY, TeraTerm, etc.), this would also confirm that the USB cable is good
    • Can you flash the SD card with Linux BSP and set the board to SD card boot mode? You can find an image of Linux BSP on Flexera if you have not already have one built. Then, you can test that UART, the board, and the cable works by just turning the board on and viewing the BSP serial console on the PC. Make sure uboot and kernel both are initialized.
  4. There were no other serial connections active on the same COM port at the same time the S32 Flash Tool was in use (no terminal program running on the COM port), etc.
  5. The COM port should be entered using UPPERCASE letters. It is not likely the cause of this error, but it is what is expected by the S32 Flash Tool.
  6. None of the DIP switches are damaged.
  7. You are directly accessing the flash commands without first using 'Upload target and algorithm to hardware...'

 

Best Regards,

Mike

0 项奖励