Questions tagged [debugging]

The process of finding and resolving problems ('bugs') in a hardware and/or software system.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
63 views

How would I link inline debugger with esp32 on Mac?

I am trying to connect JTAG debugger to my esp32 according to the following steps https://www.instructables.com/How-to-Use-a-Debugger-on-an-ESP32/ but still I am facing issue in debugging. I am ...
Manisha Narayana Gowda's user avatar
2 votes
0 answers
46 views

LED not lighting up despite digitalRead displaying 1

As part of a project, I created a simulation of a juncture with 4 traffic signals. The time for the green signal is set based on a function that calculates it based on an algorithm (and it takes the ...
satan 29's user avatar
  • 169
2 votes
0 answers
3k views

Sim800L HTTP post request stop working after a while

I am desperate to get my SIM800L module (http://www.ebay.co.uk/itm/SIM800L-GPRS-GSM-Module-Board-Quadband-QUAD-BAND-Antenna-for-MCU-Arduino-/321992759287) sending POST requests for a long period of ...
Pauline Issard's user avatar
2 votes
0 answers
103 views

Strange problem with serial communication

I'm developing a little project with Arduino, using a small web page to show data. Well, I have been develop the web page and the small code to communicate with Arduino board in my local computer and ...
Juan Antonio's user avatar
2 votes
0 answers
223 views

Intermittent wifi/hotspot connection

I have an Arduino Mega 2560 with a cc3000 Wifi shield that is sending messages to dweet.io. Here is the relevant portion of my code: // Post data to dweetio char data[125]; sprintf(data, "?t1=...
ericksonla's user avatar
1 vote
0 answers
114 views

Code works in Arduino Web editor but not in PlatformIO IDE or Arduino IDE with board Nicla Sense ME

Here is the verbose for the Arduino IDE: Flashing with command:/Users/hakan/.arduino-create/arduino/openocd/0.11.0-arduino2/bin/openocd -d2 -s /Users/hakan/.arduino-create/arduino/openocd/0.11.0-...
Mr. Panda's user avatar
  • 151
1 vote
0 answers
40 views

Need help with debugging a heartrate/filter code (the heart rate calculation does not work)

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
1 vote
0 answers
250 views

Adding Serial2 ends up blocking nano rp2040

Background Info I want to have two serials in my arduino nano rp2040 connect, in order to be able to communicate using the following scheme. (μC is a microcontroller). μC1 <--> μC2 <--> ...
MIKE PAPADAKIS's user avatar
1 vote
0 answers
64 views

How to debug an error which occures after a long time only?

I've got an ESP32 with an CO2 sensor attached. The Arduino script I'm using is quite old and worked for sending them over LoraWAN to TTN and is stable. I added an Wifi-Client to read data more ...
Standard's user avatar
  • 111
1 vote
0 answers
740 views

Display GPS module data to my TFT display

I am using Arduino Mega 2560 and I have written code for my GPS module (Neo-6m-0-001/GY-NEO6MV2) and it is working fine independently. I also have written code for Compass module (QMC5883L) which is ...
Engr.Double_minded's user avatar
1 vote
0 answers
68 views

Need debug Software that can be used with Arduino IDE

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
0 answers
227 views

Lilygo TTGO T-Beam Guru Meditation Error

I have recently purchased a lilygo ttgo t-beam (868Mhz version) on which I try to run the "DeviceInfo" example code provided by TheThingsNetwork. When executing ttn.ShowStatus(); I see in ...
George Sp's user avatar
  • 153
1 vote
0 answers
784 views

Arduino IDE - debugging Exception 29

I installed the ESP EXCEPTION DECODER along with my Arduino IDE. When my sketch crashes with Exception 29, I take the stack trace and input it, but I can't understand its line references (they dont ...
tony gil's user avatar
  • 362
1 vote
0 answers
213 views

HMC5883L stops reading when x-axis value get to positive value

I've been looking for a solution for this problem for quite a time I tried different I2C libraries; like, I2C master library using hardware TWI interface * Author: Peter Fleury But the same ...
R1S8K's user avatar
  • 283
-1 votes
1 answer
875 views

Debugging a Nordic MCU (feather NRF52) using Segger J-Link

I have an Afafruit NRF52 board with SD 132 and 5.1 dual fw bootloader. I implemented RTT logging and controlling (input) and the code is compiled using arduinoBuilder with RTT and debug level 3. The ...
codeScriber's user avatar