Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC (Read 1624 times)
FRAN
Junior Member
**
Offline



Posts: 7
ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Nov 8th, 2017 at 11:01am
 
Hi, I'm testing the "Nucleo-32 STM32F303" board from st microelectronic that is compatible with NANO arduino. After configuring everything, it is correctly programmed with the arduino id by the usb and it is also programmed with the micro visual id. when i try to debug visual micro it gives me this error:

Compiling debug version of 'progtest' for 'Nucleo-32'

VM_DBG.cpp:33: In file included from

VM_DBG.h: 301:2: error: 'UARTClass' does not name a type
   UARTClass *transport
   ^~~~~~~~~

VM_DBG.h: 302:13: error: 'UARTClass' has not been declared
   void begin(UARTClass *theSerial, unsigned long baud)
   ^~~~~~~~~
VM_DBG.cpp: In member function void VisualMicroDebug:ShockednBreakPointPrintBegin(uint8_t)

VM_DBG.cpp: 181:2: error: 'transport' was not declared in this scope
   transport->print("VMDPE_")
   ^~~~~~~~~
VM_DBG.cpp: In member function void VisualMicroDebug:ShockednBreakPointPrintEnd()

VM_DBG.cpp: 194:2: error: 'transport' was not declared in this scope
   transport->println("_VMDPE")
   ^~~~~~~~~
VM_DBG.cpp: At global scope

VM_DBG.cpp: 818:30: error: variable or field 'begin' declared void
void VisualMicroDebug*: begin(UARTClass *theSerial, unsigned long baud)
   ^~~~~~~~~

VM_DBG.cpp: 818:30: error: 'UARTClass' was not declared in this scope

VM_DBG.cpp: 818:41: error: 'theSerial' was not declared in this scope
void VisualMicroDebug*: begin(UARTClass *theSerial, unsigned long baud)
   ^~~~~~~~~

VM_DBG.cpp: 818:52: error: expected primary-expression before 'unsigned
void VisualMicroDebug*: begin(UARTClass *theSerial, unsigned long baud)
   ^~~~~~~~
VM_DBG.cpp: In member function unsigned char VisualMicroDebug::read()

VM_DBG.cpp: 959:6: error: 'transport' was not declared in this scope
   b = transport->read()
   ^~~~~~~~~
VM_DBG.cpp: In member function unsigned char VisualMicroDebug::peek()

VM_DBG.cpp: 974:6: error: 'transport' was not declared in this scope
   b = transport->peek()
   ^~~~~~~~~
VM_DBG.cpp: In member function uint8_t VisualMicroDebug::available()

VM_DBG.cpp: 989:6: error: 'transport' was not declared in this scope
   b = transport->available()
   ^~~~~~~~~
VM_DBG.cpp: In member function void VisualMicroDebug::sendContinuedACK(uint8_t)

VM_DBG.cpp: 1202:2: error: 'transport' was not declared in this scope
   transport->print("VMDPC_")
   ^~~~~~~~~
VM_DBG.cpp: In member function void VisualMicroDebug::sendMessage(const char*)

VM_DBG.cpp: 1228:2: error: 'transport' was not declared in this scope
   transport->print(debugger_message)
   ^~~~~~~~~

VM_DBG.cpp: In function void no_lvalue_err()

VM_DBG.cpp: 1589:13: error: 'class VisualMicroDebug' has no member named 'transport

   Attempt to set a read-only variable or data type not supported\r\n")
   ^~~~~~~~~
Error compiling libraries
   error: This hardware might not support the default Serial debugger.
     Try switching 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 'progtest'



can you help me. Thank you
Fran
Back to top
« Last Edit: Nov 8th, 2017 at 11:01am by FRAN »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8856
United Kingdom
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #1 - Nov 10th, 2017 at 6:10am
 
switch off debug by switching the tool bar from Debug to Release

Back to top
 
WWW  
IP Logged
 
FRAN
Junior Member
**
Offline



Posts: 7
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #2 - Nov 10th, 2017 at 10:32am
 
In release it works and compiles correctly.

The problem is the debug mode.

I want is to debug.
Back to top
« Last Edit: Nov 10th, 2017 at 10:36am by FRAN »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8856
United Kingdom
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #3 - Nov 10th, 2017 at 4:08pm
 
Okay, some boards have a different serial class.

I will try the core and see what class it uses for the next release.

What is the name and version of the board manager package you have installed for the board?
Back to top
 
WWW  
IP Logged
 
FRAN
Junior Member
**
Offline



Posts: 7
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #4 - Nov 10th, 2017 at 5:13pm
 
Hello,

Here the description:
http://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation...

Here the libraries to include the board in the arduino IDE:
https://github.com/stm32duino/Arduino_Core_STM32

Here stm forum:
http://www.stm32duino.com/

Here official forum:
https://community.st.com/community/stm32-community/stm32-forum/content

You can tell me when it will be available? I am in the middle of a development and I need to debug. Embarrassed

a greeting
Back to top
« Last Edit: Nov 10th, 2017 at 5:23pm by FRAN »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8856
United Kingdom
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #5 - Nov 18th, 2017 at 2:10pm
 
Thanks for the report and detailed info.

This is fixed in the release due over the next few days

You will see a message in the ide when the update is available
Back to top
 
WWW  
IP Logged
 
FRAN
Junior Member
**
Offline



Posts: 7
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #6 - Nov 21st, 2017 at 11:19am
 
ok
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8856
United Kingdom
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #7 - Dec 23rd, 2017 at 2:19pm
 
Hi,

I installed the Nucleo from the site you provided and tested debug compile with Nucleo 32 which worked okay.

Can you please switch on vMicro>compiler>verbose and "show build properties" then click build>clean then build and email the output as a .txt file

Thanks
Back to top
« Last Edit: Dec 23rd, 2017 at 2:19pm by Visual Micro »  
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print