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 Sparkfun nRF52832 breakout board (Read 2342 times)
Craig Graham
Newbies
*
Offline


Posts: 6
Joined: May 1st, 2018
Debugging Sparkfun nRF52832 breakout board
May 1st, 2018 at 12:42pm
Print Post  
I've just discovered Visual Micro and I'm playing with it in trial mode. Nice to be able to edit, build and deploy in Visual Studio but I can't get debugging to work. When I try, I get the error

Code
Select All
Compiling debug version of 'ProtocolSandpit' for 'SparkFun nRF52832 Breakout'
   UARTClass *transport
   void begin(UARTClass *theSerial, unsigned long baud)
Error compiling libraries
   Debug Build Error: This hardware might not support the default Visual Micro Debugger.
	If this project is using OTA/WiFi upload then please use the vMicro>Debugger menu to set the Serial COM and Remote port for the debugger.
	Otherwise switch the toolbar from 'Debug' to 'Release' and build again.
		or switch off Automatic Debugging
		or configure the SoftwareSerial debugger option.
Debug build failed for project 'ProtocolSandpit'
 



Does this mean, essentially, I can't debug using these boards? Are there any nRF52832 boards that are supported?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Sparkfun nRF52832 breakout board
Reply #1 - May 5th, 2018 at 4:26pm
Print Post  
Thanks for the report. This is resolved in the next release. Download from here

  
Back to top
WWW  
IP Logged
 
Craig Graham
Newbies
*
Offline


Posts: 6
Joined: May 1st, 2018
Re: Debugging Sparkfun nRF52832 breakout board
Reply #2 - May 8th, 2018 at 1:53pm
Print Post  
Tim@Visual Micro wrote on May 5th, 2018 at 4:26pm:
Thanks for the report. This is resolved in the next release. Download from here



Hmm. Something seems to have changed because there's now a tutorial breakpoint been added but the original error still appears when I try to build in debug mode. I appear to be running 1804.21.0. What nRF boards is it known to work with?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Debugging Sparkfun nRF52832 breakout board
Reply #3 - May 8th, 2018 at 2:51pm
Print Post  
1)

I don't think anything changed. I think previously you had multiple projects open in the same solution. Visual Micro only gives one tutorial breakpoint per solution so the code in the "other" project or file had a breakpoint.

You can easily see a list of all breakpoints by clicking debug>windows>breakpoints

2)

Debug support for the core you are using and a few other nRF cores has been added for the next release. It is available here http://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint