Questions tagged [debug]

The action of finding and removing bugs in computer code.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 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 ...
3
votes
0answers
76 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 ...
0
votes
1answer
215 views

Eclipse PyDev remote debugger Raspberry Pi

I have just created a SSH connection between my Raspberry Pi 3 b+ and my computer using WiFi. I have downloaded Eclipse and the PyDev and RSE plugins so I can use Eclipse as IDE for my Python scriptss ...
2
votes
0answers
21 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 ...
3
votes
1answer
161 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
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 ...
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 ...
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
956 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 ...
1
vote
1answer
988 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
59 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 ...
0
votes
1answer
233 views

How do I use the send_message method on a Raspberry Pi 3?

When I run this code: import datetime import smtplib import re import email from email.mime.text import MIMEText import email.message from robobrowser import RoboBrowser from bs4 import BeautifulSoup ...
7
votes
6answers
10k views

Testing Raspberry Pi scripts on a PC

I'm writing a Raspberry Pi program, to run stuff, take inputs from sensors, save in database and synchronise to a server. Is there a way to test it on the PC before deploying it to the Raspberry Pi? ...
4
votes
2answers
302 views

Visualize execution of scripts

I have a script that always runs on the Raspberry Pi. I defined with sudo nano /etc/rc.local so that they turn even after a reboot or a power failure. My question is how can visualize the execution ...
0
votes
0answers
107 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
1answer
61 views

Printing Python Variables for Debugging

I'm a Python newb so please bear with me if I'm asking a stupid question. I have a RPi3 running Jessie lite. I have Apache and PHP installed. I also have netatalk installed and have mounted my pi e....
0
votes
2answers
216 views

Routing table gets reset with new ip address

I am using the AT&T Avnet IoT Starter Kit to provide cellular connectivity to my Raspberry Pi 3b+. In order to establish the routing table I added an ip command to the file /lib/dhcpcd/dhcpcd-...
1
vote
0answers
125 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 ...
2
votes
1answer
5k views

Clients cannot connect to pivpn server anymore

I have been using and enjoying pivpn for nearly a year now. I am running pivpn and Pi-hole on the same RasPi without issues until now. Recently I have not changed anything besides the occasional apt ...
3
votes
1answer
3k views

How to correctly restart wpa_supplicant debug with networkd-systemd?

I am trying to debug setting up wifi with networkd-systemd managing wpa_supplicant. The overall objective is to get wifi AP and managed client modes working at the same time. I can get managed ...
3
votes
1answer
71 views

Where to find debug output from SD driver?

I have trouble with some SD Cards so I enabled debug output from SD driver with sd_debug=on in /boot/config.txt. I have looked with journalctl and checked the files in /var/log and in /tmp but cannot ...
1
vote
0answers
94 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,...
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 ...
1
vote
0answers
136 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 ...
0
votes
2answers
28 views

command not doing anything when executing

Sketch of situation I am running a small game server, openttd, on my (headless) raspberry pi 3B. I have been able to play this game, with a huge map, so resources are fine (if you don't mind waiting ...
0
votes
1answer
443 views

Direct connect router UART 3.3v to pi3B UART 3.3v and use debug console

Can I use a Raspberry PI model B to interact directly to a router debug console (undocumented) via "screen". TX <-> RX RX <-> TX GND <-> GND # screen -L /dev/ttyAMA0 115200,-...
5
votes
4answers
5k views

Remote debugging with Visual Studio 2015

I am trying to debug my app that I just deployed to my RPi 2 using Visual Studio Remote Debugger. Does anybody have experience doing this and can point me to how to get started with it?
8
votes
3answers
2k views

What's causing these crashes after cross-compiling?

I'm trying to cross-compile a large library (TensorFlow) using gcc on Ubuntu. I've installed the g++-arm-linux-gnueabihf toolchain, and was able to successfully build my binary. The process I'm using ...
1
vote
0answers
581 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? ...
-3
votes
1answer
3k views

Have the GPIO pins changed between the Pi 2 and the Pi 3?

I am trying to get jtag debugging to work and I was wondering whether the pins between the Pi 2 and Pi 3 have any important differences. Because the jtag seggers device I have is connected to a ...
0
votes
1answer
692 views

Segmentation Fault on mplayer and mpv

I'm trying to run mplayer or mpv on my Raspberry Pi, but even after multiple apt-get removes and even apt-get install --reinstalls, I'm still getting the annoyingly undetailed Segmentation fault error ...
3
votes
1answer
157 views

OS-less raspberry pi 2 debugging of Assembly language

I have a Raspberry Pi 2 without an OS installed. I have an assignment where I have to create and display some code in assembly language for the Pi 2. The lab that we have set up at school has ...
10
votes
2answers
6k views

Log output of background or boot script

I have a short script which is executed by a system daemon for particular events. I know the event is occurring and the script is executing, but it does not do what I intend. Strangely, it does when ...
0
votes
2answers
2k views

Auto-login for Raspberry Pi

Let me first say I have a rpi 2 model B with the official 7" display and a old tablet lipo battery. It has Kali Rolling on it. I have tinkered with it quite a bit at this point... I need to auto ...
2
votes
1answer
3k views

Unable to install npm onoff

I'm trying to install onoff via this command $ npm install onoff Every time I try I get this error. I'm new to pi and programming so I'm completely lost. Any help? pi@raspberrypi:~ $ npm install ...
5
votes
0answers
560 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, ...
1
vote
1answer
38 views

Raspberry Pi 2 shows grains on display and reboots repeatedly

Raspberry Pi connected to TV via HDMI and powered by 5V, 750 mA adapter shows grains on the display and repeatedly reboots after showing the OS installation options. I have connected the Wi-fi dongle ...
2
votes
0answers
425 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 ...
10
votes
1answer
9k views

How to debug without “Program received signal SIGILL” using the 3.18 kernel (3.12 works)?

I tried to debug a program with gdb in Raspbian, but all I get is: Program received signal SIGILL, Illegal instruction. 0xb6fe8acc in ?? () from /lib/ld-linux-armhf.so.3 It doesn't help to set the ...
4
votes
1answer
9k views

How to change the kernel commandline for ArchLinuxARM on Raspberry Pi effectly?

I'm using the raspberry pi with the latest ArchLinuxARM image. I'm having issues with the linux kernel and it randomly panics with 'kernel paging request' errors. I've found a solution to enable ...
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
1answer
566 views

Can I use TI Launchpad's JTAG debugger to debug Raspberry Pi over JTAG?

This tutorial describes settting up Rapsberry Pi for debugging over ARM JTAG. TI LaunchPad board also contains some JTAG things to program MSP430. It has only two wires, unlike eight in the tutorial,...
0
votes
2answers
633 views

Debugging headless install

I just got a Model B which I intend to use headless only, via ssh (it's the only way I can use it for now either). I followed this steps to "burn" Rasbian (downloaded from the official website) to a ...
0
votes
1answer
913 views

Reading android debug data from raspberry

Is there any way to read data from android device connected in debug mode? I want to read the same data, that shows in Eclipse's LogCat.