I was trying to OTP the release build and the development build of an application on a DA14581 with SmartSnippets 3.9. The SmartSnippets could not load the hex file for the release build but the loading the development build was OK. Both builds were compiled and linked successfully and can be loaded through Keil GUI.
In SmartSnippets “OTP Image” tab, if I select the development build, the data file contents panel would be populated with hex data, and the log panel displayed two lines “Header records have been removed from hex file XXXXX.hex” and “Read 30536 bytes from file XXXXX.hex”. However, if I select the release build, the data file content panel would be blank and no message lines showing in the log panel.
Device:

嗨zheshen,
I suppose that when you mention release and development build you mean the changes you apply in the SDK for the CFG_DEVELOPMENT_DEBUG definition, is that correct ?
Since you are using a quite old Smart Snippets version, can you please give it a try with the latest version of the Smart Snippets Toolbox ?
试图复制你的问题ith the ble_app_peripheral using SDK5.0.4 and builded with and without the CFG_DEVELOPMENT_DEBUG definition, both of the .hex files are loaded properly even if used the older version of the Smart Snippets.
Thanks MT_dialog