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
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
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.
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