VS Arduino | |
>> >> ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC
https://www.visualmicro.com/forums/YaBB.pl?num=1510138872 Message started by FRAN on Nov 8th, 2017 at 11:01am |
Title: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by FRAN on 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::OnBreakPointPrintBegin(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::OnBreakPointPrintEnd() 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 |
Title: Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by Visual Micro on Nov 10th, 2017 at 6:10am
switch off debug by switching the tool bar from Debug to Release
|
Title: Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by FRAN on Nov 10th, 2017 at 10:32am
In release it works and compiles correctly.
The problem is the debug mode. I want is to debug. |
Title: Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by Visual Micro on 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? |
Title: Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by FRAN on Nov 10th, 2017 at 5:13pm
Hello,
Here the description: http://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-eval-tools/stm32-mcu-eval-tools/stm32-mcu-nucleo/nucleo-f303k8.html 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. :-[ a greeting |
Title: Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by Visual Micro on 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 |
Title: Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by FRAN on Nov 21st, 2017 at 11:19am
ok
|
Title: Re: ERROR DEBUG IN BOARD NUCLEO-32 ST MICROELECTRONIC Post by Visual Micro on 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 |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |