10 posts / 0 new
Last post
Connect
Offline
Last seen:2 years 6 months ago
加入:2016-06-30 18:57
Custom code on Beacon

Hello,

Is it possible to program the Beacon hardware with other custom or generic example code written for the DA14580?

Thanks.

Keywords:
Device:
MT_dialog
Offline
Last seen:1 week 3 days ago
Staff
加入:2015-06-08 11:34
Hi Connect,

Hi Connect,

Yes you can, its just a 580, although this requires that the hardware you have, hasn't allready its OTP and the application flags on the OTP header burned. But even if it is, you can download a fw in the sysram via JTAG (as long as the JTAG enable flag in the OTP header isn't burned as disabled) but when your power off the beacon the program in the OTP will be uploaded into the sysram.

Thanks MT_dialog

Connect
Offline
Last seen:2 years 6 months ago
加入:2016-06-30 18:57
Hi MT_dialog,

Hi MT_dialog,

Thanks for your reply. I am able to debug with the iBeacon source code but when I try to flash other example code it just fails?

I am using the Beacon - Battery Powered hardware together with the supplied Dialog Segger programming board.

我怎么检查啊TP flags on the header have been burned?

MT_dialog
Offline
Last seen:1 week 3 days ago
Staff
加入:2015-06-08 11:34
Hi Connect,

Hi Connect,

Since you are able to download code(iBeacon code)via keil and step through the code with the debugger, you should be able to download any code from the SDK in the hardware, it doesn't have to do with the OTP application flags (since you can download fw through keil). In order to check if the OTP is burned you can use Smart Snippets and the OTP programmer tab in order to read/write the OTP. What do you mean that the programming fails ?

Thanks MT_dialog

Connect
Offline
Last seen:2 years 6 months ago
加入:2016-06-30 18:57
It seems that I can erase the

It seems that I can erase the flash and enter debug mode but when I try to download any code to flash, it comes up with the following error message:

Flash download failed - "Cortex-M0"

Jelphi
Offline
Last seen:3 months 1 week ago
Staff
加入:2015-09-10 12:07
Hi Sir,

Hi Sir,

if you are going to download firmware into Flash, you need to use Smartnippets which you can download it from Dialog website

Regards,

Jelphi

Connect
Offline
Last seen:2 years 6 months ago
加入:2016-06-30 18:57
Thanks for your reply Jelphi.

Thanks for your reply Jelphi.

I have tried to open the DA1458x_SDK in a workspace within Smartsnippets however it is not finding the individual code examples?

Jelphi
Offline
Last seen:3 months 1 week ago
Staff
加入:2015-09-10 12:07
Smartsneppets is tool which

Smartsneppets is tool which you can download from our website

Connect
Offline
Last seen:2 years 6 months ago
加入:2016-06-30 18:57
Hi Jelphi,

Hi Jelphi,

As my previous message above, I have Smartsnippets installed but it cannot seem to find any projects even thought I have specified the directory where DA1458x_SDK is located?

Jelphi
Offline
Last seen:3 months 1 week ago
Staff
加入:2015-09-10 12:07
sir,

sir,

Honestly,I don't know what you are looking for, ,but here I attaching smartsnipets help file, you can go to page24 to know how to burn your image to Flash

Attachment: