cli_programmer and jlink 6.4 under 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.
7 posts / 0 new
Last post
bobspam@free.fr
Offline
Last seen: 1 year 7 months ago
Joined: 2018-06-20 08:07
cli_programmer and jlink 6.4 under linux

Hello

I am trying to use cli_programmer with
- Linux Ubuntu LTS 18.0.4
- Segger Jlink 6.4
- Dialog DA14683 USB Dev Kit
- SDK DA1468x_DA15xxx_SDK_1.0.14.1081

I end up with "cannot open gdb interface"

Please find attached jlink.log

Can you please indicate me
- supported version of these tools ?
- known bugs / workaround to have these tools working ?
- documentation to rebuild various required binaries ?

Thank you in advance

Attachment: 
Device: 
bobspam@free.fr
Offline
Last seen: 1 year 7 months ago
Joined: 2018-06-20 08:07
I tried to downgrade to Jlink

I tried to downgrade to Jlink 5.12j. same result

See jlink.log attached.

Thank you

Attachment: 
bobspam@free.fr
Offline
Last seen: 1 year 7 months ago
Joined: 2018-06-20 08:07
I tried other scripts in the

I tried other scripts in the sdk
- reboot_device.sh is ok
- erase_qspi_jtag.sh end up with the same error "cannot open gdb interface"
- program_qspi_jtag.sh "cannot open gdb interface"

Thank you

bobspam@free.fr
Offline
Last seen: 1 year 7 months ago
Joined: 2018-06-20 08:07
I found a working combination

I found a working combination

Jlink 6.34e GDB server under windows together with cli_programmer.exe launched without the qspi scripts.

This allows me to flash the usb dev kit.

The same under linux does not work.

PM_Dialog
Offline
Last seen: 7 months 1 week ago
Staff
Joined: 2018-02-08 11:03
Hi bobspam@free.fr,

Hi bobspam@free.fr,

Let me check it the Jlink 6.34e GDB server is compatible with Linux Ubuntu LTS 18.0.4 and I will let you know as soon as possible.

Thanks, PM_Dialog

derekwright
Offline
Last seen: 2 years 1 month ago
Joined: 2020-05-25 18:36
Can I reopen this issue? I

Can I reopen this issue? I have the exact same problem and am bummed this thread never came to a conclusion.

I am using J-Link 6.12i, but all other paramters are the same (14683 dev board, SDK, Ubuntu 18).

Thanks!

PM_Dialog
Offline
Last seen: 7 months 1 week ago
Staff
Joined: 2018-02-08 11:03
Hi derekwright,

Hi derekwright,

Thanks for your question. Please find my comments below

  1. What is the version of SmartSnippets Studio (SSS) that you are using? I would recommend using version 1.6.3 -  it is under tools section in DA1468x product page.
  2. Did you try to program the DK over UART instead of using JTAG?
  3. Turn the on-board SW6 to 3V position (VBAT)
  4. I would recommend also checking that JLINK is installed and is running properly in your enviroment. If you follow the installer and the SSS it should be OK.
  5. Then, make sure that any other JLINK instance is not running already
  6. Check that your account has the appropriate rights to execute the JLINK.
  7. Try to install the net-tools if it is not installed : sudo apt install net-tools

Generally, the user manual on our support website explain the procedure you should follow in order to install the SSS in Linux OS. Please take a look at section 1.2 in UM-B-057 SmartSnippets Studio User Manual .

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen: 7 months 1 week ago
Staff
Joined: 2018-02-08 11:03
Hi derekwright,

Hi derekwright,

Thanks for your question. Please find my comments below

  1. What is the version of SmartSnippets Studio (SSS) that you are using? I would recommend using version 1.6.3 -  it is under tools section in DA1468x product page.
  2. Did you try to program the DK over UART instead of using JTAG?
  3. Turn the on-board SW6 to 3V position (VBAT)
  4. I would recommend also checking that JLINK is installed and is running properly in your enviroment. If you follow the installer and the SSS it should be OK.
  5. Then, make sure that any other JLINK instance is not running already
  6. Check that your account has the appropriate rights to execute the JLINK.
  7. Try to install the net-tools if it is not installed : sudo apt install net-tools

Generally, the user manual on our support website explain the procedure you should follow in order to install the SSS in Linux OS. Please take a look at section 1.2 in UM-B-057 SmartSnippets Studio User Manual .

Thanks, PM_Dialog