Failed reading OTP memory.

5 posts / 0 new
Last post
Ruslan
Offline
Last seen:2 years 5 months ago
加入:2016-11-08 05:27
Failed reading OTP memory.

Hello.
I made custome PCB. I use DA14681-01, memory MX25R2035F and Base JLink. Circuit in attach.
When I start SmartSnippets Toolbox, I see

(信息一般@17-03-24 14:05:03] Found SWD-DP with ID 0x0BB11477
(信息一般@17-03-24 14:05:03] FPUnit: 4 code (BP) slots and 0 literal slots
(信息一般@17-03-24 14:05:03] Found Cortex-M0 r0p0, Little endian.
(信息一般@17-03-24 14:05:03] BTLE device selected.
[INFO OTP Image @17-03-24 14:05:07] Succesfully connected to JLinkGDBServer on localhost: 2331
[INFO OTP Image @17-03-24 14:05:07] Firmware file C:\Program Files (x86)\DiaSemi\SmartSnippetsStudio\Toolbox\common_resources\second_stage_bootloader.bin has been selected.

If push Connect button in OTP Image tab:

[INFO OTP Image @17-03-24 14:16:49] Succesfully connected to JLinkGDBServer on localhost: 2331
[INFO OTP Image @17-03-24 14:16:49] Firmware file C:\Program Files (x86)\DiaSemi\SmartSnippetsStudio\Toolbox\common_resources\second_stage_bootloader.bin has been selected.

如果按读按钮:

[ERROR OTP Image @17-03-24 14:18:09] Failed reading OTP memory.

What is the problem?

Attachment:
Device:
Ruslan
Offline
Last seen:2 years 5 months ago
加入:2016-11-08 05:27
Problem solved.

Problem solved.
I changed MX25R2035F on W25Q80EW.

MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Rusian,

Hi Rusian,

Thanks for the indication, this is apparently because the flash that you have used (the MX25R2035F) is not supported by default by the SDK so the second_stage_bootloader doesn't recognize the flash, unfortunately the flash interaction occurs even when you would like to communicate with the OTP as well.

Thanks MT_dialog

Ruslan
Offline
Last seen:2 years 5 months ago
加入:2016-11-08 05:27
Thank you!

Thank you!
What can I do with SDK for recognize MX25R2035F?

MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi Rusian,

Hi Rusian,

At the moment only three flashes are supported by default from the SDK, (GD25LQ80B, MX25U51245G, W25Q80EW) if you would like to add your flash device then you should add your flash in the uartboot.bin file (check the uartboot\sdk\memory\include the qspi_XXX_template.h file) build the uartboot project with the new flash (usually this should be build with the autodetect feature in order for the SS to be able to identify dynamically the flash that you are using), and replace the second_stage_bootloader.bin file (rename the uartboot.bin file to second_stage_bootloader in order for the SS to be able to recognize it) with the newly programmed file (check directory of the second_stage_bootloader.bin from the log of Smart Snippets, by default this is located in C:Diasemi\SmartSnippetsStudio\Toolbox\common_resources\). Please check the readme.md file in the sdk/memory directory for more details.

Thanks MT_dialog