Program DA14580 OTP memory issues

7 posts / 0 new
Last post
Zhangkui
Offline
Last seen:7 months 3 weeks ago
加入:2014-12-31 07:20
Program DA14580 OTP memory issues

Hi,Dialog:
I want to burn my application into the OTP,but when i open SmartSnippets v3.9 OTP Programmer, and try to import the newly compiled hex file,SmartSnippets don't load the hex file ,and don't have any prompt,in my code i define DEVELOPMENT_DEBUG to 0,
#define DEVELOPMENT_DEBUG 0 //0: code at OTP, 1: code via JTAG
i find if
#define DEVELOPMENT_DEBUG 1 //0: code at OTP, 1: code via JTAG
and compile again, SmartSnippets can load the file,but the code cannot execute after burned to OTP ,can you tell me what's wrong i have made probably , and whether should i do something in Target Options in Keil.

Thanks
约翰

Keywords:
OTP
Device:
MT_dialog
Offline
Last seen:1 week 3 hours ago
工作人员
加入:2015-06-08 11:34
Hi Zhangkui,

Hi Zhangkui,

That sounds weird, It has nothing to do with the development debug flag of the application or keil, all you have to do is to open the OTP image tab, browse your .hex file and press ok, if you do this you cant see your .hex file loaded in the screen ? You are trying to burn the image compiled by keil not the header or the NVDS of the OTP ? You can find the OTP burning procedure of smart snippets in the Smart Snippets help pdf in the help option of Smart Snippets.

Thanks MT_dialog

Zhangkui
Offline
Last seen:7 months 3 weeks ago
加入:2014-12-31 07:20
Hi MT_dialog,

Hi MT_dialog,
I think it is very weird too,what i tried to burn was the image,attached files are the Hex files i used,and the full_emb_sysram(new).hex is the file that cannot load,and the full_emb_sysram(old).hex is the good one,my SmartSnippets version is 3.9,as i said before,if i defined DEVELOPMENT_DEBUG to 0, the problem happened.

MT_dialog
Offline
Last seen:1 week 3 hours ago
工作人员
加入:2015-06-08 11:34
Hi Zhangkui,

Hi Zhangkui,

你已经u . zip文件ploaded seems to be corrupted. Can you please renew your file in order to test it ?

Thanks MT_dialog

Zhangkui
Offline
Last seen:7 months 3 weeks ago
加入:2014-12-31 07:20
Hi MT_dialog,

Hi MT_dialog,

Attached files are the Hex files i used and compressed again,i hope you can open them.

Thanks
约翰

MT_dialog
Offline
Last seen:1 week 3 hours ago
工作人员
加入:2015-06-08 11:34
Hi Zhangkui,

Hi Zhangkui,

I dont see any problem with the .hex files you ve attached i can properly load both of them and see the binary file. Perhaps something is wrong with the Smart Snippets installation ?

Thanks MT_dialog

Attachment:
Zhangkui
Offline
Last seen:7 months 3 weeks ago
加入:2014-12-31 07:20
Hi,MT_dialog,

Hi,MT_dialog,
I installed Smart Snippets V3.9 several times,but the problem remained,i had installed Smart Snippets V3.7,and this version normally operated,thank you for your help.
Thanks
约翰

Topic locked