How can I use only internal OTP without qspi

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
build77
Offline
Last seen:1 week 17 hours ago
加入:2015-02-17 02:32
How can I use only internal OTP without qspi

Hi, dialog

How can I use only internal OTP without qspi?

In 681 datasheet, I found that
"The DA14681 is based on an ARM® Cortex®-M0 CPU delivering up to 84 DMIPS and provides a flexible memory architecture, enabling code execution from embedded memory (RAM, ROM) or non-volatile memory (OTP or external Quad-SPI FLASH)."
So first, I tried with pro kit(mb / db) and make some project like a pxp_reporter and works well.
This db(daughter board) have qspi, so my f/w wrote to qspi and there is no problem.
然后,为测试OTP,我删除qspidb, I means just removed R for disconnect qspi power (V18), and execute smart snippets toolbox (OTP Image) connect button. I can saw connection well like a bellow message.

[INFO OTP Header @18-11-23 08:32:29] Succesfully connected to JLinkGDBServer on localhost: 2331
[INFO OTP Header @18-11-23 08:32:29] Firmware file D:\DiaSemi\SmartSnippetsStudio\Toolbox\common_resources\uartboot.bin has been selected.

And then I clicked Read button, but just failed like a bellow message.
[ERROR OTP Header @18-11-23 08:33:32] Failed reading OTP memory.

So I wonder how can I read and write OTP by smart snippets toolbox without qspi.

Thank you

Device:
IBA_Dialog
Offline
Last seen:1 week 4 days ago
Staff
加入:2018-01-02 14:45
Hi Build77,

Hi Build77,

You can refer to the UM-B-083 SmartSnippets Toolbox, in section 10 of this document you can see how The ‘OTP Programmer’ tool is used for R/W the OTP Memory.

https://support.dialog-semiconductor.com/system/files/resources/User%20m...

Regards

IBA_Dialog

build77
Offline
Last seen:1 week 17 hours ago
加入:2015-02-17 02:32
Thanks Dialog.

Thanks Dialog.
Before making this thread, I was already studied that manual, and I can't find my solution.
Using Pro kit (mother board, daughter board), only when qspi flash is connected on the daughter board, it can be used to read otp by SmartSnippets Toolbox .
Even if qspi is not on the circuit, please check once more that it is ok to read and write otp by SmartSnippets Toolbox .
I attached the circuit diagram of the modified daughter board.

And, does the 14681 chip work without qspi flash?
Thank you.

Attachment:
PM_Dialog
Offline
Last seen:6 days 10 hours ago
Staff
加入:2018-02-08 11:03
Hi build77,

Hi build77,

My recommendation is to use the QSPI Flash in order to read/write the OTP through Smart Snippets toolbox. Although, you can read/write the OPT without using the QSPI Flash, if you do some modifications into the uartboot.bin in order to bypass the check of the QSPI Flash. Otherwise, the uartboot.bin will get stuck into the check of the Flash, and that is the reason why you get this error in the Smart Snippets toolbox. However , if you don’t have the QSPI Flash, the device will not be able to boot, because the mirroring procedure from the OTP to the System-RAM is not supported.

Thanks, PM_Dialog