Skip to main content

Questions tagged [debug]

Debug (debugging) is a methodical process of finding and reducing the number of bugs, or defects, in a computer program.

1 vote
1 answer
64 views

Re debugging RISC-V CH32V2xx/CH32V3xx Is there a way to watch 'RCC_CFGR0', say, rather than '* 0x40021004'? eg. add definitions to GDB? (program compiled with -g option and optimized for debug, IDE 2....
Spehro 'speff' Pefhany's user avatar
1 vote
0 answers
142 views

I wrote simple program to test debug macros, but it gives me compilation error Program: #include <Arduino.h> #define DEBUG #ifdef DEBUG #define DPRINT(...) Serial.print(__VA_ARGS__) #...
MrNams's user avatar
  • 129
1 vote
1 answer
247 views

I wanted to compare the debug output of the Arduino Zero when connecting via two different debug paths. Via the embedded debugger (EDBG) connected to Arduino IDE via USB Via the JTAG hardware ...
RowanP's user avatar
  • 869
1 vote
0 answers
66 views

The code below is a program that aims to apply the Pans-Thompskin algorithm to a signal attained from a ECG filter. The filter seems to work alright but it fails to blink the LED and collect a correct ...
David Chan's user avatar
0 votes
1 answer
99 views

I have discovered a strange error in my Arduino. It's not in the code. I think it's a hardware bug in the ALU of the microcontroller, maybe in clone only. So there is a variable called feedLimit and ...
Z Dhillon's user avatar
2 votes
1 answer
105 views

I am trying to run a very simple program to glow LEDs in a certain fashion, I connected 9 LEDs to the GPIOs or digital pins, 2 To 10, via 220 Ohm resistors; when I am running the program it is hanging ...
Ashish Jog's user avatar
2 votes
2 answers
3k views

I have a DFPlayer Mini bought from AliExpress. The player works correctly in standalone mode, but I am having troubles while using it with the following components: Seeduino v4.0; 2GB Smartbuy ...
Starter's user avatar
  • 153
1 vote
0 answers
111 views

Background: I have made a standalone Arduino board using Atmega328PB. I have written code for a clock which lights LEDs based on the time. After a day or so it locks up. Sometimes it reboots. I ...
RickH's user avatar
  • 41
1 vote
1 answer
3k views

I want to debug my ESP32 module which is giving an exception using ESP32 exception decoder, but for that, I would need to have access to my stack trace to paste it. But currently, my arduino serial ...
blazingcannon's user avatar
0 votes
2 answers
1k views

I'm making some code for school, and is adding debug code to it. When compiling, I get the error as written in the title. This is the code in question: #define DEBUG 1 #ifdef DEBUG #define Serial....
TheGaardenator's user avatar
1 vote
0 answers
130 views

I use arduino_debug to upload my sketch to an Arduino Mega 2560 and to an Arduino Due from my application (Windows). I saw the following issue: When JAVA is not installed or it was installed only ...
Ariel Frumkin's user avatar
0 votes
2 answers
1k views

I have written simple code to enable toggling of serial.print debug data. #define DEBUG #ifdef DEBUG #define DEBUG3(x,y,z) Serial.print(x);Serial.print(" ");Serial.print(y); Serial....
R Lloyd's user avatar
  • 33
1 vote
1 answer
1k views

My project is based on a moving fan using DHT11 sensors. I have used 2 void loops and the IDE is showing an error "exit status 1 redefinition of 'void loop()'" One doubt: Can we use 2 void loops ...
Reshu Singh's user avatar
0 votes
1 answer
1k views

I am using a Pro Mini to read analog values and to send them via serial. Goal of the sketch is to stream these values to Serial as fast as possible, to obtain a steady stream of at least 1000 ...
FarO's user avatar
  • 339
1 vote
2 answers
522 views

I'm writing a function for my arduino program that takes a character array of any size and will mark all the characters that aren't in the alphabet by changing their value to '1'. I have a switch ...
paulj's user avatar
  • 13

15 30 50 per page