I 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
已解决! 转到解答。
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!
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?
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!
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?