Hi there,
I have few question about flashing binary file into DA14531.
1) when I am executing (.\SmartSnippetsToolbox.exe -type spi -chip DA14531 -clk P0_4 -cs P0_1 -miso P0_3 -mosi P0_0 -jtag 483052626 -cmd write -offset 0x0000 -file "image_14.bin" -max 0x400000 -firmware "jtag_programmer.bin") this command, It is asking the below question, but flashing is happening fine. Can anyone tell me the meaning of bootable here?
Do you want SPI Flash memory to be bootable? ([Y / N]?)N
2) when I am trying to erase the DA14531 flash using (.\SmartSnippetsToolbox.exe -type spi -chip DA14531-01 -clk P0_4 -cs P0_1 -miso P0_3 -mosi P0_0 -jtag 483052626 -cmd erase -verify) this command, I am getting Failed configuring SPI ports and pins. Can anyone tell me how to resolve this erase issue?
Launching SmartSnippets Toolbox v5.0.24.4128Loaded the following properties from C:\Users\vigneshv\SmartSnippetsToolbox\properties.txt{ENABLE_HIDDEN_TOOLS=true, ENABLE_TS=true, ENABLE_MP=true, ENABLE_TE=true}Command line arguments:-type spi -chip DA14531-01 -clk P0_4 -cs P0_1 -miso P0_3 -mosi P0_0 -jtag 483052626 -cmd eraseFound SW-DP with ID 0x0BC11477DPIDR: 0x0BC11477Scanning AP map to find all available APsAP[1]: Stopped AP scan as end of AP map has been reachedAP[0]: AHB-AP (IDR: 0x04770031)Iterating through AP map to find AHB-AP to useAP[0]: Core foundAP[0]: AHB-AP ROM base: 0xE00FF000CPUID register: 0x410CC601. Implementer code: 0x41 (ARM)Found Cortex-M0 r0p1, Little endian.FPUnit: 4 code (BP) slots and 0 literal slotsCoreSight components:ROMTbl[0] @ E00FF000ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB008 SCSROMTbl[0][1]: E0001000, CID: B105E00D, PID: 000BB00A DWTROMTbl[0][2]: E0002000, CID: B105E00D, PID: 000BB00B FPBBTLE device selected.Using default max memory size: 0x00200000 bytes.Using default baudrate: 115200 Bd.Failed configuring SPI ports and pins.Started erasing all memory.SPI Flash memory erasing failed.
Hi OV_Renesas
Yes, the flashing and erasing are working fine no issue, but once I flash through CLI, the code is not running I need to reset externally. is there any chance I can reset the DA15431 using command line?
Hi Nothing,
OV is OOO, I will keep looking on this.
No such CMD, if it's needed to reset or a power cycle will work.
All CMDs are here: section 8.5
8. CLI implementation — UM-B-083
BR,
JH_Renesas
Hi JH_Renesas ,
Can I use Prodtest.exe -p 5 write_reg16 50000000 008C these command line tool to make SW reset?