I am trying to build OpenThread(NCP mode) and upload program to EFR32 without JLink.
EFR32 can support OTA upload method and supported format is "ebl".
My propose is:
- Adding cstartup-common.c into compile script
- Build to "axf" format by adding "-gdwarf-2" option on arm-none-eabi-gcc.
- Using "arm-none-eabi-objcopy.exe --srec-forceS3 -O srec ot-ncp-ftd.axf ot-ncp-ftd.s37" to convert "axf" -> "s37"
- Using Silabs' tool "commander.exe" to convert "s37" -> "ebl"
- Using "flash_firmware" tool to upload "ebl" file from host chip to EFR32 by UART
I meet the following error log when runing "wpantund" on host chip
- "The NCP is misbehaving: Repeatedly unable to initialize NCP. Entering fault state."
Is there any one know this?