Hi Dialog Team,
I have a problem connecting to the DA14585.
I am using this command:
C:\DiaSemi\SmartSnippetsStudio\Toolbox>smartsnippetsToolbox.exe -type spi -chip DA14585-00 -jtag 480063775 -cmd write -file common_resources/ble_app_ota_585.hex -bootable
it works perfectly if I click on "connect" inside the smart snippets toolbox SPI flash programmer tab before I use the command mentioned above:
Launching SmartSnippets Toolbox v 4.7.3.1690
Oct 18, 2019 4:30:13 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Found SWD-DP with ID 0x0BB11477
FPUnit: 4 code (BP) slots and 0 literal slots
Found Cortex-M0 r0p0, Little endian.
BTLE device selected.
Using default baudrate: 57600 Bd.
Successfully set SPI Flash gpios: CLK=P0_0, CS=P0_3, MISO=P0_5, MOSI=P0_6.
Read 32484 bytes from file common_resources/ble_app_ota_585.hex.
Added bootable header to image.
Started burning memory with 33628 bytes of data at address 0x00000.
Burning of block 1 (16000 bytes) completed successfully.
Burning of block 2 (16000 bytes) completed successfully.
Burning of block 3 (1628 bytes) completed successfully.
Memory burning completed successfully.
But I can't get it to work without connecting via the smart snippets toolbox SPI flash programmer tab:
Launching SmartSnippets Toolbox v 4.7.3.1690
Oct 18, 2019 4:08:22 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Found SWD-DP with ID 0x0BB11477
FPUnit: 4 code (BP) slots and 0 literal slots
Found Cortex-M0 r0p0, Little endian.
BTLE device selected.
Using default baudrate: 57600 Bd.
Failed setting the following values to SPI Flash gpios: CLK=P0_0, CS=P0_3, MISO=P0_5, MOSI=P0_6.
Read 32484 bytes from file common_resources/ble_app_ota_585.hex.
Added bootable header to image.
Started burning memory with 33628 bytes of data at address 0x00000.
Burning of block 1 (16000 bytes) failed.
Burning of block 2 (16000 bytes) failed.
Burning of block 3 (1628 bytes) failed.
Memory burning failed.
What does it cause no not thet the values to SPI flash gpios?
Thanks for your help!
Hi flomeier,
请尝试以下命令。你应该adjust them in your folder path. First you should erase and then burn the SPI Flash.
Thanks, PM_Dialog
I tried this and it did not work.
/rikard
Hi,
Will you kindly update your Smart Snippets Toolbox to the latest version and try again?
//www.xmece.com/sites/default/files/smartsnippets_t...
BR, Paolo