KW45 Sb3 file

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

KW45 Sb3 file

跳至解决方案
421 次查看
chris123951
Contributor III

Hi All,

I have downloaded Localization SDK version SDK_25_06_00_KW45B41Z-LOC and I’m able to generate a sb3 file with our keys. When flashing the sb3 on a fresh custom PCB, it works fine.

Now, to update to SDK_25_09_00_KW45B41Z-LOC, I generated a new sb3 file specific to this version. When I try to flash this new sb3 file, I encounter the following error:

Sending SB file [################################----] 91% 00:00:04 ERROR:spsdk.mboot.mcuboot:RX: Mboot: Data aborted by sender (47860ms since start, mcuboot.py:253)
Response status = 10203 (0x27db) Memory Cumulative Write.
 

Interestingly, if I use an older SDK (non-localization one), generate sb3, and flash it, that works without any issue.

Has anyone faced a similar issue with SDK_25_09_00_KW45B41Z-LOC?

  • Is there any change in the sb3 generation process for this release?

  • Or are there known differences in memory layout/bootloader compatibility between 25_06_00 and 25_09_00 localization SDKs?

Any insights or guidance would be much appreciated.

Thanks in advance!

Cheers
Christian

RD-KW45-LOCALIZATION KW45 

0 项奖励
回复
1 解答
140 次查看
chris123951
Contributor III
0 项奖励
回复
5 回复数
382 次查看
luis_maravilla
NXP Employee
NXP Employee

Hello Christian,

Could you help us describe and give details about the method you implement for update and generate your SB file? Are you following an application note or NXP post, information?

getting cumulative write error, normally occurs when you write multiple times to the same flash region without performing a mass erase or region erase first. Could you help us perform a mass erase and retry?

If you need to see more information about implemented changes between SDK version, please refer to [Connectivity Framework related] in Connectivity framework CHANGELOG — MCUXpresso SDK Documentation] and in MCUXpresso SDK Release Notes — MCUXpresso SDK Documentation

Best Regards

Luis

0 项奖励
回复
366 次查看
chris123951
Contributor III

Hi @luis_maravilla ,

 

I'm using AN13883 for generating secure binary with our keys.
Before flashing the sb3 file, I usually erase the memory with this command:
blhost -p COMx flash-erase-all , I think this will do the mass erase right ?

 

Thanks & Regards
Christian.

0 项奖励
回复
300 次查看
luis_maravilla
NXP Employee
NXP Employee

Hello Christian,

Yes, that is the command, Could you help us confirm if that work?

Also, could you update your SPSDK tool to newest version to avoid incompatibilities, the information is in Chapter 3 from AN13883

Best Regards

Luis

0 项奖励
回复
212 次查看
chris123951
Contributor III

Hi @luis_maravilla ,

Unfortunately, the mass erase command did not help.

I am using **SPSDK version 3.2.0** along with the following files:

chris123951_0-1759739369978.png

Could you please confirm if there are any changes required, or provide the updated versions?

In AN13883, it is mentioned that a zip file is available, but I could not find any such file attached.

chris123951_1-1759739455428.png

Additionally, when I go to the location:
C:\nxp\spsdk\examples\jupyter_examples
and open kw45_load_NBU_image, I get a compilation error, it is from 2023.

Could you please confirm if this example file has been updated by NXP?

Thanks & Regards,

Christian.

0 项奖励
回复
141 次查看
chris123951
Contributor III
I have solved the issue. Following this link
https://github.com/nxp-appcodehub/dm-kw45-secure-boot-scripts
0 项奖励
回复