Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [debug]

The action of finding and removing bugs in computer code.

0
votes
0answers
24 views

DC Motors Not Moving, Programming or Wiring Error?

I got a Raspberry Pi 3B, That ive hooked 4 DC motors up to (with a motor controller of course). I run the program and they do not move, i cant figure out if im missing something or wired something up ...
0
votes
0answers
20 views

TFT display for Pi Zero using W8BH tutorial

I am a RPi and python newbie. I have been using Bruce Hall's (W8BH) tutorial for a 1.8" TFT attached to a Pi Zero. I have entered the code provided in Part 1 of the tutorial and after several false ...
2
votes
1answer
173 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 ...
0
votes
0answers
80 views

Remote debugging a python script fails

I am running into problems with remote debugging a Python script on a Raspberry Pi 2 Model B Version 1.1, where I followed the advices in this blog post. The script basically starts with import ...
0
votes
0answers
77 views

Raspberry Pi as JTAG debugger

I have been working on my custom extension board for the Raspberry Pi platform. I want to add JTAG debugger. Is it even possible to use Raspberry Pi as a JTAG debugger/programmer? As far as I see ...
1
vote
0answers
35 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,...
2
votes
1answer
1k 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 ...
0
votes
0answers
47 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
74 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
1answer
356 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 ...
0
votes
2answers
24 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 ...
2
votes
1answer
44 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 ...
0
votes
1answer
145 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,-...
2
votes
1answer
727 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
0answers
504 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? ...
-5
votes
1answer
2k 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
467 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 ...
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 ...
3
votes
1answer
132 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 ...
2
votes
1answer
2k 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 ...
3
votes
0answers
460 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, ...
9
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 ...
5
votes
4answers
4k 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?
3
votes
4answers
5k 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 ...
1
vote
1answer
838 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
1answer
36 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 ...
10
votes
2answers
5k 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 ...
5
votes
4answers
8k 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? ...
2
votes
0answers
358 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 ...
9
votes
1answer
8k 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 ...
1
vote
0answers
404 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
385 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
535 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,...
3
votes
1answer
5k 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 ...
0
votes
2answers
434 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 ...
5
votes
1answer
8k 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 ...
0
votes
1answer
837 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.