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 ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC (Read 371 times)
FRAN
Junior Member
**
Offline


Posts: 12
Joined: Feb 13th, 2017
ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Nov 8th, 2017 at 5:31pm
Print Post  
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
 
IP Logged
 
FRAN
Junior Member
**
Offline


Posts: 12
Joined: Feb 13th, 2017
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #1 - Nov 14th, 2017 at 8:02am
Print Post  
This Topic was moved here from Other Hardware [move by] FRAN.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint