Bootloader for Firmware Update with UDS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Bootloader for Firmware Update with UDS

5,443 次查看
nevozade
Contributor IV

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.

0 项奖励
回复
7 回复数

5,410 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@nevozade

you can take a look at this post

Unified bootloader Demo 

this is a demo about bootloader,CAN and UDS.hope it works for you!

 

0 项奖励
回复

5,327 次查看
nevozade
Contributor IV

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.

0 项奖励
回复

5,322 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@nevozade

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.

0 项奖励
回复

5,407 次查看
nevozade
Contributor IV

Hi @Senlent ,

I do not have PCAN-USB adapter, so I cannot perform the demo. Is there any method to do the demonstration with any other CAN, like Kvaser?

Thanks.

0 项奖励
回复

5,403 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@nevozade

Sorry, that is all we have

0 项奖励
回复

5,248 次查看
nevozade
Contributor IV

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.

0 项奖励
回复

5,236 次查看
nevozade
Contributor IV

Hi again,

The mentioned project is attached to this post which has reset problem about sending CAN message.

BRs,

Nevzat.

0 项奖励
回复