Learn MoreFAQsTutorials

11 posts / 0 new
Last post
Roie DAHAN
Offline
Last seen:5 months 3 days ago
加入:2018-11-19 16:32
OTP错误

Hi,

I'm trying to burn blinky example on DA14585-00ATDDEVKT-B (Devkit-Basic) using SmartSnippets Toolbox v5.0.6.2196

However, it seems as error with CPU Halt command see attached print screen
(Kiel also fails to run debug)

Please advise how to burn blinky examlpe and restore Kiel Debug capability

*Note: JTAG interface is working okay.

Thanks,
Roie

阿塔chment:
Device:
PM_Dialog
Offline
Last seen:1 week 3 days ago
工作人员
加入:2018-02-08 11:03
Hi Roie DAHAN,

Hi Roie DAHAN,

Can you please clarify the steps that you have followed? What are you trying to accomplish? Do you want to burn the OTP or the external SPI Flash? Please clarify is and I will provide the correct steps. However, be aware that OTP stands for One Time Programmable, thus you can’t erase and re-write the OTP multiple times, but you can only flip the bits that are still set to 0 and turn them to 1. If you would like to burn the OTP, 2 areas must be burnt:

  • The OTP image area, where the user code is placed and mirrors to the sysram at boot.
  • The OTP Header area, where flags and specific values that define the operation of the device are placed (more information regarding the values of the OTP Header can be found in the Smart Snippets User guide).

Did you burn the OPT header?

Thanks, PM_Dialog

Roie DAHAN
Offline
Last seen:5 months 3 days ago
加入:2018-11-19 16:32
Hi PM_Dialog Team,

Hi PM_Dialog Team,

Yes, i have burn the blinky example to OTP, but the DevKit (Basic) doesn't run from it

Moreover, now Keil is unable to debug anything, let me know how to resulve it

Regards,

Roie

PM_Dialog
Offline
Last seen:1 week 3 days ago
工作人员
加入:2018-02-08 11:03
Hi Roie DAHAN,

Hi Roie DAHAN,

Can you please provide me the OTP Header that you are using? You could extract if SmartSnippets Toolbox.

Thanks, PM_Dialog

Roie DAHAN
Offline
Last seen:5 months 3 days ago
加入:2018-11-19 16:32
Hi,

Hi,

Do you have an App Note/Guide that explain how to burn Blinky/other example on DA14585 builtin Flash ?

I'm getting the following error:

[INFO OTP Header @19-07-03 09:11:17] Found SW-DP with ID 0x0BB11477
[INFO OTP Header @19-07-03 09:11:17] Using pre-configured AP[0] as AHB-AP to communicate with core
[ERROR OTP Header @19-07-03 09:11:17] DAP error while reading DP-Ctrl-Stat register.
[INFO OTP Header @19-07-03 09:11:18] Found SW-DP with ID 0x0BB11477
[INFO OTP Header @19-07-03 09:11:18] Using pre-configured AP[0] as AHB-AP to communicate with core
[INFO OTP Header @19-07-03 09:11:18] Found SW-DP with ID 0x0BB11477
[INFO OTP Header @19-07-03 09:11:18] Using pre-configured AP[0] as AHB-AP to communicate with core
[INFO OTP Header @19-07-03 09:11:18] Found SW-DP with ID 0x0BB11477
[INFO OTP Header @19-07-03 09:11:18] Using pre-configured AP[0] as AHB-AP to communicate with core
[ERROR OTP Header @19-07-03 09:11:18] Failed writing value A6 at address 50000012.
[ERROR OTP Header @19-07-03 09:11:18] Failed downloading firmware file to the board.

PM_Dialog
Offline
Last seen:1 week 3 days ago
工作人员
加入:2018-02-08 11:03
Hi Roie DAHAN,

Hi Roie DAHAN,

As I mentioned in my previous post, I would like to shame me the OTP Header that you are using. So, please open the SmartSnippets toolbox and navigate to “OTP Programmer” from the toolbar. Then connect to OPT Header, and after that press the “Export Header to file”. Save the binary export and please share it with me in order to check if the OTP is correctly burnt. Another option would be to connect again to OTP Header and send me a screenshot. Please not that if the application flags are burned and the JTAG enable flag is Disabled then the device becomes inaccessible.

In addition, if you use the Keil, are you able to debug your board are the JTAG is disabled?

Thanks, PM_Dialog

Roie DAHAN
Offline
Last seen:5 months 3 days ago
加入:2018-11-19 16:32
Hi,

Hi,

Please see attached Jlink Error, and OTP Header

Thanks,

Roie

阿塔chment:
Roie DAHAN
Offline
Last seen:5 months 3 days ago
加入:2018-11-19 16:32
阿塔ched OTP Header Error

阿塔ched OTP Header Error

阿塔chment:
PM_Dialog
Offline
Last seen:1 week 3 days ago
工作人员
加入:2018-02-08 11:03
Hi Roie DAHAN,

Hi Roie DAHAN,

Can you please describe the steps you had followed in order to burn the OTP? Did you burn the application flag fields? Are you able to connect over UART with the toolbox? Be aware that TP stands for One Time Programmable, thus you can’t erase and re-write the OTP multiple times.

Thanks, PM_Dialog

Roie DAHAN
Offline
Last seen:5 months 3 days ago
加入:2018-11-19 16:32
Hi,

Hi,

I can't access using UART, please advise how to re-enable JTAG Debug

Regards,

Roie

PM_Dialog
Offline
Last seen:1 week 3 days ago
工作人员
加入:2018-02-08 11:03
Hi MADHUSF,

Hi MADHUSF,

Can you please check the jumper configuration on the board? Are they placed correctly? As I mentioned before, as soon as you bunt the OTP you can not erase it or re-write it. So, it would be very helpful to indicate the steps you followed in order to burn the OPT image and the OTP header in order to understand what it got wrong. Did you burn the application flags in the OTP header?

Thanks, PM_Dialog