Flash using command line on Linux

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
apoudret
Offline
Last seen: 3 years 2 weeks ago
Joined: 2017-09-22 08:33
Flash using command line on Linux

Hello,

I am trying to flash my DA14681 board from command line, on my Linux 64bit machine.
I have the default config.ini file and when i run the command:
"./cli_programmer" --cfg config.ini gdbserver write_qspi_exec software.bin
I get a segmentation fault.
If I replace "host_name = localhost" by "host_name = 127.0.0.1" I don't have the segmentation fault anymore but I get error "cannot open gdb interface".
When I run the same command on Windows it works correctly.
What am I doing wrong?

Best regards,
Andy

Device: 
apoudret
Offline
Last seen: 3 years 2 weeks ago
Joined: 2017-09-22 08:33
Fixed by myself - please

Fixed by myself - please ignore.

PM_Dialog
Offline
Last seen: 9 months 2 days ago
Staff
Joined: 2018-02-08 11:03
Hi apoudret,

Hi apoudret,

Glad you figure your issue out

Thanks, PM_Dialog