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 teensy4.1 and gdb still working? (Read 130 times)
bobp58
Newbies
*
Offline


Posts: 3
Joined: Jul 30th, 2023
teensy4.1 and gdb still working?
Apr 18th, 2025 at 5:03pm
Print Post  
Can anyone confirm that there is a setup which works with a Teensy 4.1?  My IDE version is 2.1, Teensyduino is 1.58, using Visual Studio 2022.  I installed the gdb stub library through VSMicro.  It compiles in debug mode, but the code that gets uploaded just produces a 7 or 8 blink error.  The only way out is a manual reset.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: teensy4.1 and gdb still working?
Reply #1 - Apr 18th, 2025 at 5:17pm
Print Post  
Please provide the information request in yellow near the top of the page
  
Back to top
IP Logged
 
bobp58
Newbies
*
Offline


Posts: 3
Joined: Jul 30th, 2023
Re: teensy4.1 and gdb still working?
Reply #2 - Apr 18th, 2025 at 8:31pm
Print Post  
I will provide the info you referenced, but in the mean time I tried with a simple blink program and got a different result.  After compiling and choosing attach process, I got this:

unable to start debugging.  unexpected GDB output from command "-target-select remote \\.\COM31".  Remote replied unexpectedly to 'vMustReplyEmpty': timeout
  
Back to top
 
IP Logged
 
bobp58
Newbies
*
Offline


Posts: 3
Joined: Jul 30th, 2023
Re: teensy4.1 and gdb still working?
Reply #3 - Apr 18th, 2025 at 8:38pm
Print Post  
Board Properties

name=Teensy 4.1
build.board=TEENSY41
build.flags.ld=-Wl,--gc-sections,--relax "-T{build.core.path}/imxrt1062_t41.ld"
« Last Edit: Apr 19th, 2025 at 2:04pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: teensy4.1 and gdb still working?
Reply #4 - Apr 19th, 2025 at 2:03pm
Print Post  
You need to follow the guide in yellow. The output is too large to post into a forum thread. If you don't want to email then click Reply and then attach a file.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint