A question about ECUbus

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

A question about ECUbus

跳至解决方案
3,273 次查看
ywjack
Contributor III

微信截图_20220418152516.pngI am using NXP to provide S32KXX series BOOTLODER DEMO project debugging () unified_bootloader_framework) I am using S32K144, so NXP also provides a host computer software (ECUbus) to download the .BIN file generated by MCU compilation. During the debugging process, I found an ECUbus The problem is that I have some doubts,
The specific problem is: when downloading the .BIN (FLASH file) through the UDS 36 service, I found that the data length of each frame (in the 36 service frame) is 128, except for 36 01/02/03...etc. There are only 126 bytes, and as long as the FLASH programming starts with 128 bytes, it is not enough to fill OXFF. In this way, the last two bytes of some lines of FLASH are erased into OXFF every time. Therefore, I think whether the ECU bus can be made into 36 services to transmit data as 130 bytes as a frame.
The description is not clear, you can see my screenshot below

标记 (1)
0 项奖励
回复
1 解答
3,194 次查看
nxf10035
NXP Employee
NXP Employee

Hello,

  The ECU BUS resolved the issue. So, the bootloader and GUI should be match:

1. Bootloader V1.0 with NXPOpenBus

2. Bootloader V2.0 with ECU BUS

 

Best Regards!

在原帖中查看解决方案

0 项奖励
回复
5 回复数
3,244 次查看
nxf10035
NXP Employee
NXP Employee

Hello,

 I think you used the bootloader version is v1.0. This is a known issue for the v1.0. You can get the new version from: https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

Best Regards!

0 项奖励
回复
3,203 次查看
ywjack
Contributor III

Hello technical support: How does FLASH DRIVER map to RAM, that is how your flash_api.bin is made, is there any source code, can you provide it?
At present, I want to change the FLASH DRIVER mapping address to another (not starting from 0x1FFF8010) to another RAM address. I have tried several times and failed, so I would like to ask you how to make flash_api.bin. Can you provide the source code?

0 项奖励
回复
3,196 次查看
nxf10035
NXP Employee
NXP Employee

Hello,

   If you want to change the flash driver store address should:

1. Change the address of flash driver in ECUBUS

2. Modify flash driver address in flash_hal_Cfg.c(gs_astFlashDriverBlock) in bootloader

3. Flash driver section should be change in link file

Please note: the address of flash driver should be align with 4 bytes.

Best Regards!

0 项奖励
回复
3,233 次查看
ywjack
Contributor III

Is there CANFD in version 2.0? Is there CAN? I compared the next version 2.0 with a lot of changes. For the problem I mentioned, only change BOOTLOADER without changing ECUBUS transmission. Can it be solved, or ECUBUS also changed the transmission byte length?

0 项奖励
回复
3,195 次查看
nxf10035
NXP Employee
NXP Employee

Hello,

  The ECU BUS resolved the issue. So, the bootloader and GUI should be match:

1. Bootloader V1.0 with NXPOpenBus

2. Bootloader V2.0 with ECU BUS

 

Best Regards!

0 项奖励
回复