Get S32G UART Serial Boot (not flashing, but run from SRAM) working?

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

Get S32G UART Serial Boot (not flashing, but run from SRAM) working?

Jump to solution
2,199 Views
jp_a
Contributor I

I do not want to flash anything. I just want to do a Serial Boot via UART.

From AN12422. Rev. 4. S32G2 Boot Process

It says:

Steps if Serial boot is required:
1. Application binary to download (Constraint – SRAM size of 8 MB)
2. Tool to transfer binary on Serial (UART/CAN) port. Use S32 Design Studio (S32DS) flash tool can also be used for serial download

So how does one use the S32FlashTool command line tool to do a serial download of an image that matches

  S32G RM ; ch 30.4.5 Serial boot ; Table 157. Image structure for non-secure serial boot

?

I tried various options like using the image as the -t my_image_with_D8h_header.bin but that didn't work. The S32G2xx is setup for Serial Boot as the S32FlashTool correctly talks to it and can -fread some flash.

If S32FlashTool can't actually perform the serial download, then what are the constraints that an external tool needs to follow?

Tags (3)
0 Kudos
1 Solution
2,097 Views
bpe
NXP Employee
NXP Employee

There are no officially supported methods to load a custom application using
Serial Boot mode, sorry. If you are looking for a fully supported solution,
consider using JTAG with the appropriate debug probe and software.
As of Serial Boot, there are certain limited workarounds which we currently
cannot share in a public Forum. If your company/organization has a valid
NDA with NXP, you can open a Support Case to receive more information.

Best Regards,
Platon

View solution in original post

0 Kudos
2 Replies
2,098 Views
bpe
NXP Employee
NXP Employee

There are no officially supported methods to load a custom application using
Serial Boot mode, sorry. If you are looking for a fully supported solution,
consider using JTAG with the appropriate debug probe and software.
As of Serial Boot, there are certain limited workarounds which we currently
cannot share in a public Forum. If your company/organization has a valid
NDA with NXP, you can open a Support Case to receive more information.

Best Regards,
Platon

0 Kudos
2,093 Views
jp_a
Contributor I

There are no officially supported methods to load a custom application using
Serial Boot mode, 

 

AN12422. Rev. 4. S32G2 Boot Process

should then be updated to reflect that fact.

0 Kudos