Hi,
I was not able to run the example as it is created for the KW45B41ZEVK, while I am using the K32W148-EVK. Is there a similar example for the board I am using? I can try to add the missing stuff and run it on my board, because from a quick look, most differences are board/device specific files. I have noticed some things that I did not have in my project, like these two lines in the linker script:
" m_hadmbuff_start = __base_RAM_VECTOR_TABLE + 0x400;
m_hadmbuff_size = 0x2000;"
However, even after adding them in the symbols.ldt file, the result was the same.
The only change I have made that is different from the guide was to set the gAppUseBonding_d and gAppUsePairing_d to 0 as I was having some issues when reconnecting to the device but I do not think this has any effect on the updating part. By using the debugger I was able to see that the update seems to transfer correctly, however when the device resets I get a OTACFG_FW_UDPATE_FAILURE(0x4412d283) value for update_status which according to the data sheet: "Indicates failure to process sb3 file OR failure to erase/write update status to OTACFG page". Any clue as to why this would happen? I am sending a .srec file created from the binary utilities of MCUXpresso through the NXP IoT Toolbox application on an iOS device if that helps.
Kind Regards,
Ridvan