Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switch to EBlink (STlinkGDB reports unknow chip id)
#1
Hi,

I would like to program/debug my new STM32 MCU. However, the STLinkGDB is giving me "unknown chip id!" but it does see the chip.

Some people suggested to update the stlink-common.c which is giving the warning, but how do I do that?

Thanks!
Reply
#2
Hi,

Forget STlinkGDB ( and the stlink-common.c) because this tool is no longer maintained. STlinkGDB was a fork of Texane (currently stlink-org) and that code base was growing out of control. A lot of time was going to the maintenance of STlinkGDB and it was only getting worse.

STlinkGDB is replaced by EBlink, build from scratch,  but is not in the install package of EB 1.11. You can download a EBlinkInstaller or download from github https://github.com/EmBitz/EBlink (also linux and RaspPi).

For integration of EBlink in the current EB1.11 check this
https://github.com/EmBitz/EBlink/issues/13
Reply
#3
(04-11-2020, 06:25 AM)embitz Wrote: Hi,

Forget STlinkGDB ( and the stlink-common.c) because this tool is no longer maintained. STlinkGDB was a fork of Texane (currently stlink-org) and that code base was growing out of control. A lot of time was going to the maintenance of STlinkGDB and it was only getting worse.

STlinkGDB is replaced by EBlink, build from scratch,  but is not in the install package of EB 1.11. You can download a EBlinkInstaller or download from github https://github.com/EmBitz/EBlink (also linux and RaspPi).

For integration of EBlink in the current EB1.11 check this
https://github.com/EmBitz/EBlink/issues/13

Thank you for the answer!

I have followed the instructions but I cannot find the EBlink in the Embitz GDB server settings? I have installed EBlink in C:\Program Files (x86)\EmBitz\1.11\share\EBlink\

Do I need to restart the computer or something?


Attached Files Thumbnail(s)
   
Reply
#4
(04-11-2020, 11:13 PM)VincentN Wrote:
(04-11-2020, 06:25 AM)embitz Wrote: Hi,

Forget STlinkGDB ( and the stlink-common.c) because this tool is no longer maintained. STlinkGDB was a fork of Texane (currently stlink-org) and that code base was growing out of control. A lot of time was going to the maintenance of STlinkGDB and it was only getting worse.

STlinkGDB is replaced by EBlink, build from scratch,  but is not in the install package of EB 1.11. You can download a EBlinkInstaller or download from github https://github.com/EmBitz/EBlink (also linux and RaspPi).

For integration of EBlink in the current EB1.11 check this
https://github.com/EmBitz/EBlink/issues/13

Thank you for the answer!

I have followed the instructions but I cannot find the EBlink in the Embitz GDB server settings? I have installed EBlink in C:\Program Files (x86)\EmBitz\1.11\share\EBlink\

Do I need to restart the computer or something?



I think that you didn't copied the new interface dialogs into:
${EMBITZ}\share\EmBitz\debuggers\Interfaces

Follow the procedure exactly as written by Miink
Reply
#5
(05-11-2020, 11:05 AM)embitz Wrote:
(04-11-2020, 11:13 PM)VincentN Wrote:
(04-11-2020, 06:25 AM)embitz Wrote: Hi,

Forget STlinkGDB ( and the stlink-common.c) because this tool is no longer maintained. STlinkGDB was a fork of Texane (currently stlink-org) and that code base was growing out of control. A lot of time was going to the maintenance of STlinkGDB and it was only getting worse.

STlinkGDB is replaced by EBlink, build from scratch,  but is not in the install package of EB 1.11. You can download a EBlinkInstaller or download from github https://github.com/EmBitz/EBlink (also linux and RaspPi).

For integration of EBlink in the current EB1.11 check this
https://github.com/EmBitz/EBlink/issues/13

Thank you for the answer!

I have followed the instructions but I cannot find the EBlink in the Embitz GDB server settings? I have installed EBlink in C:\Program Files (x86)\EmBitz\1.11\share\EBlink\

Do I need to restart the computer or something?



I think that you didn't copied the new interface dialogs into:
${EMBITZ}\share\EmBitz\debuggers\Interfaces

Follow the procedure exactly as written by Miink

I did follow instructions exactly as written by Miink, see attached screenshot.


Attached Files Thumbnail(s)
   
Reply
#6
No, you did not. Your screenshot is just one part.
Again, read carefully the instructions.

You also need to copy the modified interface scripts, provided by Miink, into the EmBitz location
${EMBITZ}\share\EmBitz\debuggers\Interfaces
Reply
#7
Grab this one
https://github.com/EmBitz/EBlink/issues/...-719030783

and put in


   
Reply
#8
(05-11-2020, 07:47 PM)VincentN Wrote:
(05-11-2020, 11:05 AM)embitz Wrote:
(04-11-2020, 11:13 PM)VincentN Wrote:
(04-11-2020, 06:25 AM)embitz Wrote: Hi,

Forget STlinkGDB ( and the stlink-common.c) because this tool is no longer maintained. STlinkGDB was a fork of Texane (currently stlink-org) and that code base was growing out of control. A lot of time was going to the maintenance of STlinkGDB and it was only getting worse.

STlinkGDB is replaced by EBlink, build from scratch,  but is not in the install package of EB 1.11. You can download a EBlinkInstaller or download from github https://github.com/EmBitz/EBlink (also linux and RaspPi).

For integration of EBlink in the current EB1.11 check this
https://github.com/EmBitz/EBlink/issues/13

Thank you for the answer!

I have followed the instructions but I cannot find the EBlink in the Embitz GDB server settings? I have installed EBlink in C:\Program Files (x86)\EmBitz\1.11\share\EBlink\

Do I need to restart the computer or something?



I think that you didn't copied the new interface dialogs into:
${EMBITZ}\share\EmBitz\debuggers\Interfaces

Follow the procedure exactly as written by Miink

I did follow instructions exactly as written by Miink, see attached screenshot.

I also checked it and one step is missing, sorry Confused

Step 3 (after placing the scripts ) update the config.script file as attached.


Attached Files
.script   config.script (Size: 1.52 KB / Downloads: 4)
Reply
#9
Unpack this archive into your EmBitz folder. https://www.embitz.org/forum/thread-12-p...tml#pid142

There is no need to update config.script.
In EmBitz 1.11 this file has a line with EBlink.
Code:
//  The EBLink scripts
    RegisterInterface( _T("EBlink"),  _T("STMicroelectronics"),_T("EBlink/stlink"),   _T("arm-gdb.exe"));
It is necessary to copy the scripts for EBlink to the EBlink/stlink folder.

In the archive to which I gave the link, this is all done. Just unzip it into a folder ${EMBITZ}
Reply
#10
(05-11-2020, 09:37 PM)Mink Wrote: Unpack this archive into your EmBitz folder. https://www.embitz.org/forum/thread-12-p...tml#pid142

There is no need to update config.script.
In EmBitz 1.11 this file has a line with EBlink.
Code:
    //  The EBLink scripts
    RegisterInterface( _T("EBlink"),  _T("STMicroelectronics"),_T("EBlink/stlink"),   _T("arm-gdb.exe"));
It is necessary to copy the scripts for EBlink to the EBlink/stlink folder.

In the archive to which I gave the link, this is all done. Just unzip it into a folder ${EMBITZ}

After unzipping the archive, I confirmed that the line containing EBlink is in the config.script . However, I still don't see it in the Embitz Interfaces  Angry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)