它基于DA14585 MSK物联网设计。我只做了大约15个板
作为这个产品的开发/测试平台。我对DA14585_DB_IOT+VC_SCH中所示的DA14585使用了相同的引脚。在这个原理图中,
引脚38只是发送到没有放置的电容器。因此,在看到这个并读取DA14585的数据表之后,似乎这个引脚不需要
。所以在我的设计中,我没有连接这个大头针(就像你没有)。现在我读到,我需要有二级引导加载程序,以
引导从我安装的外部闪存(正如安装在您的MSK设计)。 So in order to install the secondary bootloader
I suppose I need access to that pin 38 to set it to 6.8 volts for the OTP programming. I cant gain access to that pin now with the boards I had made.
Is this true? Is there a away around having to use this pin while still being able to boot from the external flash? How did you do this at the factory
(did you use a zif programmer or something like that) as I am surpised that you had the OTP programmed ahead of time on the chips before they
were soldered on the board (?) as there doesnt appear to be anything connected to your pin 38 on the schematic.
Please help. Thank you.
However, I found that sometimes it is weird.
I have written data into the OTP, but after reading, It became to 0x00. Some bytes which I wrote 0x00, but it became 0x80.
1. Write 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x11
2. Read the address, got 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x11 ==> correct
3. Write 0x00 0x00 0x00 0x00 0x00 0x00 0x22 0x00
4. Read the address, got 0x00 0x00 0x00 0x00 0x00 0x80 0x22 0x00 ==> incorrect, It should be 0x22 0x11 and a byte became 0x80??
Why? I have no idea.
After rounds of reading and writting, I can't read anything from OTP.
I traced the code, I found it got stuck in "ASSERT_WARNING_OTPC_MODE(HW_OTPC_MODE_STBY);" of "hw_otpc_manual_read_on" function.
How can I recover it?
By the way, I use Product Line Tool to write some data such as "Trim Value for the XTAL16M oscillator".
Should I write some code to read it and set the value?
Thanks a lot.