Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Debugging does not work with other debuggers except Jlink+OCD (Read 492 times)
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Debugging does not work with other debuggers except Jlink+OCD
Oct 14th, 2020 at 1:47pm
Print Post  
Using Generic STM32F1 Series, Bluepill Debugging works with Jlink(OCDVM). 
Using STlink+OCD it compiles but it does not break. 
Debuf output:
openocd: Open On-Chip Debugger 0.10.0+dev-01058-g853a05287 (2020-02-13-16:41)
openocd: Licensed under GNU GPL v2
openocd: For bug reports, read
openocd:      http://openocd.org/doc/doxygen/bugs.html
openocd: debug_level: 2
openocd: 
=thread-group-added,id="i1"
GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140228-cvs
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
=cmd-param-changed,param="pagination",value="off"
Note: automatically using hardware breakpoints for read-only addresses.

Micro Build output:
Compiling 'Blinkmicro1' for 'Generic STM32F1 series'
Program size: 9'264 bytes (used 7% of a 131'072 byte maximum) (10.30 secs)
Minimum Memory Usage: 580 bytes (3% of a 20480 byte maximum)
 
Uploading 'Blinkmicro1' to 'Generic STM32F1 series' using 'USB'
Open On-Chip Debugger 0.10.0+dev-01058-g853a05287 (2020-02-13-16:41)
Licensed under GNU GPL v2
For bug reports, read
     http://openocd.org/doc/doxygen/bugs.html
debug_level: 0
****[vMicro]**** Uploading ELF :target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x1ffff020 msp: 0x200001fc
** Programming Started **
** Programming Finished **
** Resetting Target **
shutdown command invoked
     The upload process has finished.

How to fix that?
« Last Edit: Oct 14th, 2020 at 1:48pm by arduino1 »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2704
Joined: Feb 13th, 2019
Re: Debugging does not work with different Cores
Reply #1 - Oct 14th, 2020 at 2:15pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging does not work with other debuggers except Jlink+OCD
Reply #2 - Oct 14th, 2020 at 5:16pm
Print Post  
This Topic was moved here from Hardware Debugging (GDB, GDB WiFi, GDB Stub) [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint