Questions tagged [debug]

The action of finding and removing bugs in computer code.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
550 views

Debugging a RPi using SWD

Has anybody been able to figure out how to debug a Raspberry Pi 3 model B using SWD? To be clear, I'm looking to debug the Pi itself using SWD. We've tried setting up the GPIO pins to use JTAG-SWD, ...
3
votes
0answers
73 views

Raspberry Pi button bug, what is happening?

I am new user of raspberry pi. I have two buttons, and some code to run, yet the led will not react to the buttons. It's probably a easy fix, but keep in mind, I am new to robotic and have only ...
3
votes
1answer
147 views

Accessing Raspberry Pi JTAG randomly fail

I am trying to debug a Raspberry Pi 3B (rev 1.2) bare metal application using JTAG. I have no JTAG adapter so I am using another Raspberry Pi (3B rev 1.2) as JTAG adapter. I am using OpenOCD and it ...
3
votes
4answers
6k views

Cannot deploy to Raspberry Pi from Visual Studio

I'm having exactly the same issue than here: When I'm in Visual Studio, and I try to deploy I got some error messages: 1>Error: Unable to connect to the Microsoft Visual Studio Remote Debugger ...
3
votes
1answer
6k views

Why the Raspberry PI loses the ethernet connection?

Please help me out with debugging, why my RPI (Raspbian) loses internet connection. The scenario is this: 1. I start the PI, the ethernet is working. 2. I start one php script, that posts something ...
2
votes
0answers
20 views

g++ and gdb debugging does not provide full backtrace

I never experienced this behaviour on classic desktop platform thus I'm asking here. The question is how to correctly debug C++ application (g++ build) using GDB on Raspberry Pi? When my application ...
2
votes
1answer
1k views

How to see debug logs from Raspberry Pi 3 during boot process?

I am currently trying to debug a "black screen" on a Raspberry Pi. The Pi is plugged to an in-house PCB using connector of the Pi and the LCD screen is connected on this in-house board. The Linux ...
2
votes
1answer
945 views

Raspberry pi 3 openocd debugging jtag scan interrogation fail all zeroes problem

I am trying to debug a bare metal application using openocd (seggers does not provide support for the cortex a-53 so jlink won't work). I installed openocd following this set of instructions. However ...
2
votes
0answers
424 views

Using kernel debug symbols on Raspberry pi

I see that I can install packages that contain the kernel debug symbols in Ubuntu as shown here. Is it possible to do the same for Raspberry pi? I'd really like to have kernel symbols for the raspbian ...
1
vote
0answers
54 views

Client can't connect to pivpn

I have a custom setup and wish someone could help. I have a main router(R1) and a secondary router(R2). I will refer to main router as (r1) and secondary router as (R2). (R1) is used for home ...
1
vote
0answers
118 views

Raspberry Pi Version 1 B (512 MB) - Using JTAG

I want to use an FT2232H Mini Board as Raspberry Pi JTAG (based on https://github.com/dwelch67/raspberrypi/tree/master/armjtag). I use a raspberry pi B version 1 (this one with the 26-pin connector ...
1
vote
0answers
92 views

RPi & VisualGDB - running GUI application

I am trying to run an application compiled in VisualGDB on my Raspberry Pi. In Visual Studio debugging works fine, but I need to run this application on an HDMI monitor. I tried to run the file on RPi,...
1
vote
0answers
134 views

Python 3 Debugging Symbols for Raspbian Stretch

I am trying to track down a segfault when using Pip on my Raspberry Pi Model 3B running Raspbian Stretch. I've configured the pi to do a core dump, and I've gotten gdb to load the core. The ...
1
vote
0answers
577 views

Remote python debugging with Visual Studio Code from Mac

I am trying to remote debug from Visual Studio Code on Mac OS. I would like to know if anyone has managed this or if it only possible from Visual Studio for Windows, or if not, what am I doing wrong? ...
1
vote
1answer
984 views

Remote develeopment with Netbeans: debugger goes to disasembly

I managed to set up remote development on RPi with Netbeans 8.0.2 over direct connection to my laptop. my simple program compiled, run and debugged. #include <iostream> using namespace std; ...
1
vote
0answers
435 views

Kernel compilation failed when enabled DEBUG

I am compiling a kernel for my raspberry pi (on the pi). I checked necessary configuration and enabled DEBUG_INFO=y and REDUCED_DEBUG=n. But when I issue the command make I get the following error: ...
1
vote
0answers
388 views

Error git clone git@github.com/felixge/node-mysql

I would like to seek help on npm install felixge/node-mysql. I been trying to install mysql into Raspberry PI so that I can do node.js with mySQL for my REST API but this problems been there for 2 ...
0
votes
0answers
23 views

How to debugg kernel panics?

I have an Raspberry Pi V3 running as a home server for some years. Since a while ago, it doesn't run stable anymore, instead, after it is up for a couple of days sometime after a couple of hours, it ...
0
votes
0answers
104 views

Resilio Sync vanishes without notice

I have a raspberry pi 3 here with the latest (for today ;-) raspbian on it. Also the latest version of resilio sync 2.6.3. I have installed it so that it will automatically start at boot etc. When ...
0
votes
0answers
90 views

Parallax MS5607 and Raspberry Pi 3?

I am trying to connect the MS5607 to the Raspberry Pi via I2C. I can confirm that it connected when I run sudo i2cdetect -y 1. I then went ahead and tried to use rsolomon's python code. First error I ...