Hi Fabrice,
The bootloader project used for OTA client is at the following location:
- MKW2xD_ConnSw_1.0.2\boards\frdmkw24\wireless_examples\framework\bootloader_otap\bm
As a first test, please do the following:
1. Write the bootloader binary to board; (you can do this from IAR or using the TestTool -> Firmware Loader -> Kinetis Firmware loader);
2. Write the Thread node binary. From your comment, seems that you put the right options, but to double check consider the following:
- If you are using end_device_ota_client you should just update the gEepromType_d from config.h file to match to internal flash and to put gUseInternalStorageLink_d=1 at project linker option.
- If you are not using the demo example, please consider the following:
- Linker options: gUseInternalStorageLink_d=1 and gUseBootloaderLink_d=1
- config.h - gEepromType_d = gEepromDevice_InternalFlash_c
- Enable OTA cLient (#define gEnableOTAClient_d 1, config.h file);
3. Reset the board to see if the firmware pass over the bootloader and starts with Thread node firmware (at this step the debugger should not be attached to board).
If step 3 is not working, please consider to remove the gEraseNVMLink_d=1 from the project linker options (thread node firmware) and repeat the steps 1, 2, 3.
Regards,
Ovidiu