Dear support ,
now i am developing bootloader for S12ZVML128 MCU.
ia read through the AN4723 and find the SCI1 is used, if sci1 is not available but LIN is available, how can i modify the AN4723SW?
Hello @NoahXu,
I'm not sure what you mean.
The LINPHY can be routed to SCI0 only.
There is such a bootlaoder already:
AN5389 S12Z MagniV LIN Bootloader
https://www.nxp.com/docs/en/application-note/AN5389.pdf
https://www.nxp.com/docs/en/application-note-software/AN5389SW.zip
Best regards,
Daniel
Hi Noah,
Indeed the compiled code is too big.
Have you tried increasing the size SHADOW_ROM_S and SHADOW_RAM_S sections:
You could also use a higher optimization level:
Regards,
Daniel
Hi, Danielmartynek
thanks for reminder, this AN5389SW is what I need.
when i try to use this SW, i found the PC application program is difficult to understand.
how to use this S12Z_MagniV_Serial_Bootloader_Interface.jar ?
should i develop some windows java application?
BR
Noah
Hi @NoahXu,
The S12Z_MagniV_Serial_Bootloader_Interface.jar interface is for the SCI bootloader.
For the LIN bootloader, you need a LIN master that would send the data
The master should send the S-record file data in frames of 8 bytes with the ID reserved for reception of data, as explained in AN5389.
Regards,
Daniel