Document for programming the OTP with DA14580DEV-KIT-PRO?

7 posts / 0 new
Last post
ChrisHab
Offline
Last seen:5 years 4 months ago
加入:2015-09-23 09:58
Document for programming the OTP with DA14580DEV-KIT-PRO?

Hello,

where can I find the document on how to program the DA14581 chip with a DA14580DEV-KIT-PRO?

I have an external circuit board with a DA1481 placed on it. I want to program this chip with a modified version of the proximity reporter.

The following pins are connected:
1. RST
2. SCLK
3. SDIO
4. GND
5. VBAT_580

The chip seems not to detect when I press the RESET-BUTTON on the DEVKIT-Pro:
(l og from smart snippets )
[INFO @15-11-06 11:45:32] Connection to COM33 port has successfully opened.
[INFO @15-11-06 11:45:32] Started download procedure...
[ACTION @15-11-06 11:45:33] Please press the hardware reset button on the board to start the download process.
[ERROR @15-11-06 11:45:48] Timeout: Reset signal not detected for more than 16000 msecs.

In this forum there are many topics on programming the chip, e.g.:
http://support.dialog-semiconductor.com/how-program-otp-proximity-report...

Do I have to do all the modifications in the code described above?

Thanks in advance for your response.

Device:
MT_dialog
Offline
Last seen:1 month 1 week ago
工作人员
加入:2015-06-08 11:34
Hi ChrisHab,

Hi ChrisHab,

The procedure is the same with 580. Are you trying to burn the OTP using smart snippets ? Have you selected the JTAG interface in Smart Snippets ?

Thanks MT_dialog

ChrisHab
Offline
Last seen:5 years 4 months ago
加入:2015-09-23 09:58
>The procedure is the same

>The procedure is the same with 580.
Thank you for your answer. I want to burn the OTP using smart snippets. Therefore I need the description what has to be done:

- pin connections?
- compiler/IDE setup to generate the Bin-File for the OTP

Can you point me to the application note where it is described?

Best regards,
Christoph

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

Hi ChrisHab,

There is no application note for burning a custom board. The compiler is keil (for downloading into the Sysram) and Smart Snippets for burning the SPI or OTP, and the pins for connecting with Smart Snippets are either Jtag interface or one of the predefined UART pins of the da. Check some of the following links:

http://support.dialog-semiconductor.com/otp-external-board-basic-develop...

http://support.dialog-semiconductor.com/programming-da14580-swd

http://support.dialog-semiconductor.com/programming-pan1740-uart

Thanks MT_dialog

ChrisHab
Offline
Last seen:5 years 4 months ago
加入:2015-09-23 09:58
Thanks for the answer.

Thanks for the answer.
I used the AN-B-020 which describes the procedure. The document is not quite up to date because in the Smart-Snippets Tool its all graphical and not as described in AN-B-020 command line based, but I managed the programming.

I programmed the flash on a daughter board just for a test ( only the program section, not the configuration because I want to use the board for further tests )

But now I have a external board where I can not use the serial lines. Debugging the code on that target is possible by the SWDIO line.
The programming procedure is described AN-B-020 is with the use of the RX/TX lines, not with the SWDIO lines.

How can I program the OTP without the RX/TX lines ?

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

Hi ChrisHab,

The purpose of the AN-B-020 is to guide the user in handling the CLI tool not Smart Snippets. You can use the jtag interface(SWDIO, SWCLK)in order to program the OTP. Just connect to Smart Snippets with the jtag interface (UART/SPI mode - UART mode - JTAG) and choose the OTP programmer tool, connect to the OTP and then you will be able to burn the OTP, the OTP header, and the OTP nvds. You can find info about doing so in the Help option User Guide.pdf.

Thanks MT_dialog

ChrisHab
Offline
Last seen:5 years 4 months ago
加入:2015-09-23 09:58
Thank you for the answer. I

Thank you for the answer. I needed the hints from AN-B-020 for setting up the OTP-header HEX file.
Programming with JTAG and Smart-Snippets worked now quite well.

Topic locked