How to use S32 Flash Tool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use S32 Flash Tool

Jump to solution
4,626 Views
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 Kudos
1 Solution
4,586 Views
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

View solution in original post

5 Replies
4,587 Views
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,722 Views
hahahaha
Contributor I

Hello, where can I download this software?

0 Kudos
1,712 Views
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 Kudos
3,800 Views
lun_ccc
Contributor I

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

Tags (1)
0 Kudos
3,782 Views
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 Kudos