Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Error when debugging on Arduino 2.2.1

2 posters

Go down  Message [Page 1 of 1]

1Error when debugging on Arduino 2.2.1 Empty Error when debugging on Arduino 2.2.1 Tue Oct 17, 2023 7:13 pm

OscarES



Hello,
Solved the compilation and loading for Arduino Uno, now I want to debug the code, I have Arduino 2.2.1 installed on Windows 11.
I receive the following message:

-------------------------------------------------------

Iniciando Depurador...

-------------------------------------------------------

Executing:
"C:/Program Files/Arduino IDE/resources/app/lib/backend/resources/arduino-cli.exe" compile --no-color --optimize-for-debug --fqbn=arduino:avr:uno --build-path "C:/Users/ADMIN/AppData/Local/simulide/codeeditor/buildIno/build" --build-cache-path "C:/Users/ADMIN/AppData/Local/simulide/codeeditor/buildIno/cache" --libraries "D:\Documentos\Arduino" "D:\Documentos\Arduino\Proj_oscar\SimulIDE\Blink4\Blink4.ino"

Build folder: C:/Users/ADMIN/AppData/Local/simulide/codeeditor/buildIno
SketchBook:  
Arduino Board "arduino:avr:uno"

El Sketch usa 982 bytes (3%) del espacio de almacenamiento de programa. El máximo es 32256 bytes.
Las variables Globales usan 9 bytes (0%) de la memoria dinámica, dejando 2039 bytes para las variables locales. El máximo es 2048 bytes.

Used platform Version Path                                                                      
arduino:avr   1.8.6   C:\Users\ADMIN\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6


FirmWare Cargado en 1_mega328-109(mega328)
D:/Documentos/Arduino/Proj_oscar/SimulIDE/Blink4/Blink4.hex


Searching for variables... 3 variables found

Searching for Functions... 6 functions found

Mapping Flash to Source... 0 lines mapped

Error Iniciando Depuración


I really appreciate the help.

arcachofo

arcachofo

I can't reproduce the issue, can you share your code?

OscarES



I use "SimulIDE-R1994_Win64"


// Blinking leds en pin 9 y 11


int led_amar = 11;
int led_azul = 8;
int time1 = 400;
int time2 = 1000;

void setup() {
pinMode(led_amar, OUTPUT);
pinMode(led_azul, OUTPUT);
}

void loop() {
digitalWrite(led_amar, HIGH);
digitalWrite(led_azul, LOW);
delay(time1);
digitalWrite(led_amar, LOW);
digitalWrite(led_azul, HIGH);
delay(time2);
}

arcachofo likes this post

arcachofo

arcachofo

I can't reproduce it.
And with so many changes in Arduino it's difficult to know.

We can try to find if everything is where it's supposed to be...
Does this executable exist in your system? (the part in bold could not be exactly the same):
C:\Users\ADMIN\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-addr2line.exe

OscarES



arcachofo wrote:I can't reproduce it.
And with so many changes in Arduino it's difficult to know.

We can try to find if everything is where it's supposed to be...
Does this executable exist in your system? (the part in bold could not be exactly the same):
C:\Users\ADMIN\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-addr2line.exe



Confirmed, here it is::

"C:\Users\ADMIN\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-addr2line.exe"

arcachofo

arcachofo

Confirmed, here it is::

"C:\Users\ADMIN\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-addr2line.exe"
Thanks, then I have no idea what could be the problem.
I will have a look and try to find some posible problem.

Have you tried debugging sketches with older Arduino version in this computer?

OscarES



On this PC I do not have Arduino 1.8.19 installed and I have not tested it, but I feel comfortable that it already compiles and loads with Arduino 2.2.1, I will wait a month and we will see if the new updates do it.
I'm happy to have SimulIDE running on my 2 PCs.
I appreciate your genuine interest in helping.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum