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 6989 times)
FRAN
Junior Member
**
Offline


Posts: 12
Joined: Feb 13th, 2017
ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Nov 8th, 2017 at 11:01am
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
« Last Edit: Nov 8th, 2017 at 11:01am by FRAN »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


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

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


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

The problem is the debug mode.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #3 - Nov 10th, 2017 at 4:08pm
Print Post  
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: 12
Joined: Feb 13th, 2017
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #4 - Nov 10th, 2017 at 5:13pm
Print Post  
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
« Last Edit: Nov 10th, 2017 at 5:23pm by FRAN »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #5 - Nov 18th, 2017 at 2:10pm
Print Post  
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: 12
Joined: Feb 13th, 2017
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #6 - Nov 21st, 2017 at 11:19am
Print Post  
ok
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
Reply #7 - Dec 23rd, 2017 at 2:19pm
Print Post  
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
« Last Edit: Dec 23rd, 2017 at 2:19pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint