Dear Team,
We are using DA14531 soc for our application. I have used "default_app_generate_unique_static_random_addr()" to generate the unique address for each device.
In this I want to flash this unique address into the OTP memory at this address 0x07F87FD4.
I am using smart snippets cli for programming. After flashing i want to verify the BD address in the OTP and the address my device advertise are same.
How to read the particular address from the OTP using cli? and how to flash the BD address in OTP.
Kindly help me to solve this issue.
Dear Team ,
I have used the same command as you mentioned, still I got the error message as below in the evaluation board.
C:\Program Files\SmartSnippetsToolbox\SmartSnippetsToolbox5.0.24>SmartSnippetsToolbox.exe -type spi -chip DA14531 -jtag 480072666 -cmd read -offset 0x0f000 -file spi_out.txt Launching SmartSnippets Toolbox v5.0.24.4128 Command line arguments: -type spi -chip DA14531 -jtag 480072666 -cmd read -offset 0x0f000 -file spi_out.txt Found SW-DP with ID 0x0BC11477 DPIDR: 0x0BC11477 Scanning AP map to find all available APs AP[1]: Stopped AP scan as end of AP map has been reached AP[0]: AHB-AP (IDR: 0x04770031) Iterating through AP map to find AHB-AP to use AP[0]: Core found AP[0]: AHB-AP ROM base: 0xE00FF000 CPUID register: 0x410CC601. Implementer code: 0x41 (ARM) Found Cortex-M0 r0p1, Little endian. FPUnit: 4 code (BP) slots and 0 literal slots CoreSight components: ROMTbl[0] @ E00FF000 ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCS ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWT ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPB BTLE device selected. Using default max memory size: 0x00200000 bytes. Using default baudrate: 115200 Bd. Started reading 32768 bytes from SPI Flash memory offset 0xF000. Failed configuring SPI ports and pins. Error: Failed reading 16384 bytes from offset 0xF000 SPI Flash memory reading has failed.
In my custom board,
Why it is fail to configure the SPI pins? How to solve this issue?
I used the same command as you mentioned, but I still encountered errors. Here’s what I found:
2. Custom board : I encountered this error
In both case the error message is "Failed to configure SPI pins" . How to solve this issue.
Hi TDC,Thank you for the replies.You will have to specify the SPI pins as well. Please refer on 8. CLI implementation — UM-B-083 (renesas.com)As you can see there is options to declare the SPI pins:Please use these options based on your design.Best Regards,OV_Renesas