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?