Dear Dialog Support,
we are setting up a programming and testing environment based on Raspberry Pi 4. Unfortunately you offer SmartSnippets only for x86_64.
Our programming procedure works with system calls of the toolbox to erase/program/verify flash.
Do you see any possibility to port this procedure to a Raspberry Pi with armv7l?
Best regards
Johannes
Device:
Hi gme_johannes,
Thanks for your forum post. SO, if I understood your question, your requirement is to run the SS Toolbox on the Raspberry Pi to program the BLE device? Is that correct? What is the device that you are using? You could use the Command Line Interface to program it.
Thanks, PM_Dialog
Correct. I want to use Raspberry Pi 4 to programm our device (DA14585).
What are you referring to with CLI? In windows I use CLI, like
I want to do the same thing with the SmartSnippets CLI in Linux, but it would require binaries that can run on ARMv7. I only found SmartSnippets Toolbox for x86_64 architecture.
Thanks,
Johannes
Dear Dialog Support,
were you able to come up with an answer?
Maybe it is helpful if I rephrase it
(1) Are there ARMv7 binaries available for the SmartSnippets toolbox that would allow to execute a programming procedure on Raspberry Pi 4?
(2) Alternatively, is it possible to disclose the raw UART communication to empty, program and verify a flash attached to a DA14585?
Thanks,
Johannes
Hi gme_johannes,
Apologies for the delay. Not it is more clear. The SS Toolbox is available either for Windows or Linux OS. Please check the DA14585 and you will find all the available versions under “Development Tools” section.
//www.wsdof.com/雷电竞官网登录products/connectivity/bluetooth-low-energy/smartbond-da14585-and-da14586
Programming the DA14585 via the Raspberry Pi 4 is not a straight-forward procedure and is not supported too. There are a couple of ways for programming our Devices via the SS Toolbox or the CLI programmer.
In fact, the Raspberry Pi 4 should do what the SS Tollbox does in order to program the SPI Flash. The SST does not support any flash capabilities by default. When the “Connect” button is pressed through the tool, a small firmware is downloaded into the DA14585 : flash_programmer_585.bin in case of UART and jtag_programmer_585.bin in case of JTAG.
Please check the 6.0.14.1114\utilities\flash_programmer project of the SDK and you can see the aforementioned options.
So, when this firmware has been downloaded, then the SST sends commands to the DA14585 in order to execute code and initiate the programming procedure. You could find them in the fowling document :
http://lpccs-docs.dialog-semiconductor.com/UM-B-119_DA14585-DA14531_SW_Platform_Reference/Appendix/Appendix.html#flash-programmer
A possible solution might be download the flash_programmer_585.bin to the DA14585, and start sending the commands from the Raspberry Pi 4 via UART to start programming the flash. We haven’t done this procedure with a Raspberry Pi 4, so it’s not tested or supported.
Thanks, PM_Dialog
Hi PM_Dialog,
thank you, the second URL seems to be helpful to achieve a "low level" programming procedure without SST. I might try to attempt it.
In any case, with the rise of ARM and the popularity of Raspberry Pi or similar platforms, I believe there would be quite some interest for ARM binaries of SST in the future :-)
Thanks,
Johannes