Hello,
I have both S32K116 and S32K118 platforms. The aim of my study is running a bootloader software (on D-Flash) which uses CAN communication with the UDS to firmware update.
Briefly, I need a bootloader project that UDS is integrated in it to firmware update. I do not need flash R/W functions etc. The UDS is the critical module for my study.
May you share a proper bootloader or guide me to solve my request, thanks.
Best Regards.
you can take a look at this post
this is a demo about bootloader,CAN and UDS.hope it works for you!
Hi @Senlent again,
I want to run this Unified bootloader on S32K116 or S32K118 D-Flash section. Since the D-Flash size is 32 kB (without EEPROM emulation), I need a minimal bootloader.
However, this project that you offer has 50 kB size although the optimization option -Os. Is there any project (or smaller with same functionality) unified bootloader or any other solution for my problem? The only desired service that will be used is firmware updating for UDS, do not need any other UDS control mechanism.
Best Regards,
Nevzat.
Sorry, only this routine is available for your reference.
If you feel that the space occupied by the boot program cannot meet your needs, then you can only modify the routine by yourself, and we cannot customize and modify the routine for you.
Hi @Senlent ,
I have two main issues for this shared project:
1. When I call the SendMsgMainFunc() to send a CAN data, the board resets itself and I lost all my data. What is the main reason for this reset after any CAN message sending from CAN?
2. I want to modify the shared UDS Bootloader project. I want to import FlexCAN instead of CAN_PAL, thus I need to access the 'Processor Expert' in the S32 Design Studio. However, in S32DS 3.4 I cannot access the processor expert and there is no .mex file in the project. Also, the project cannot be build in S32DS 2.2 version. What should I do to open the Processor Expert window for this project?
Best Regards,
Nevzat.