General • Re: How to report compile time values ?
I sometimes use this old trick to find the size of a complex structure at compile time:Code: // Trick to find struct size at compile time:char (*__kaboom)[sizeof(my_t)] = 1; // warning: initialization...
View ArticleTroubleshooting • Re: Bookworm - Device tree overlays not loading
likely I am using the wrong terminology here,when no device overlays are loaded, the address is shown (example "20" for 0x20), once the overlay is loaded, it gets converted to UUNo that's not true.20...
View ArticleGeneral discussion • Re: RPi 5 as a desktop daily driver?
Apologies for dragging this thread back on topic...This is exactly what I've been doing since setting up my Pi5 (overclocked to 3GHz) with a 1TB PCIe NVMe SSD running at Gen 3, and an IQaudIO Codec...
View ArticleTroubleshooting • Re: Strange behaviour from 27W USB-C PSU
The PSU is checking that the USB-C CC line is pulled down with a valid resistor value before enabling the output. It is how a USB-C device signals to power source that it wants power. The USB-C PSU...
View ArticleTroubleshooting • Re: Problem while flashing the ISO to t SD card
What happens if you use Raspberty Pi Imager 1.8.5 and a new 32GB microSD card?Statistics: Posted by neilgl — Sun Mar 24, 2024 8:34 pm
View ArticleSDK • Re: RP2040 (pico sdk) strange behaviour (and crash) around gpio IRQ...
Most of the first 32-bits of the corrupted range are actually correct. Also, for all 64 bits, of those that are incorrect, they are always 1 when they ought to be 0. Maybe just a coincidence.In both...
View ArticleGeneral • Re: Getting started
And more importantly "machine" was available by default in Thonny, and must be on my computer somewhere, but how do I find it?That 'machine' is a built-in part of MicroPython so it seems you aren't...
View ArticleCamera board • Re: Increase CMA in legacy mode
My bad, I'm running a Raspberry Pi 3 and by legacy, I mean enabling Code: Legacy (non-GL) desktop driver (raspi-config -> Advanced)You'd have no gl support in that mode. Why are you doing that?It...
View ArticleInterfacing (DSI, CSI, I2C, etc.) • Re: UART 3 and 4 data corrupted when CPU...
Here's the output when the data is not corrupted.Code: $ vcgencmd versionuname -avcgencmd get_throttledvcgencmd measure_tempvcgencmd measure_clock coreOct 17 2023 15:39:16 Copyright (c) 2012...
View ArticleFrançais • Re: Problème transfert Wifi Pi 5
Merci pour vos réponses. J’ai fais quelques tests et ca a l’air pas mal pour le moment. J’ai enlevé l’active cooler et je l’ai remis en appuyant bien afin que les pads thermiques soient bien en...
View ArticleSDK • Re: Inconsistent pin-high times when setting pin high with GPIO...
So after thinking about it I've decided to try to implement your PWM solution and just accept that there's going to be a delay between receipt of the clock and the pin going high, but that it's likely...
View ArticleTroubleshooting • Re: Issues with RPi.GPIO? Depreciated?
On Bookworm we now use gpiozero python library, not RPi.GPIO.Alternatively, install the “Legacy” version of Raspberry Pi OS i.e. Bullseye, using Imager settings to set up the user, WiFi etc - it works...
View ArticleBeginners • Re: Intermittent Screen Blanks
have you tried the recommended bullseye for the 3bor as I suggested the Kano OS I suggested above https://teamkano.medium.com/how-to-inst ... f6e2edcd5dStatistics: Posted by DS256 — Mon Mar 25, 2024...
View ArticleTroubleshooting • Re: Pi 5 Python RuntimeError: Cannot determine SOC...
ERROR: No matching distribution found for rpi-lgpiTry -pip3 install rpi-lgpioI'm guessing 'p1r473' made a typo, didn't notice the keypress for 'o' hadn't registered, or it got lost during a...
View ArticleBeginners • Re: Autostart a programe
What do you see if you run...uname -aAnd then....cat /etc/os-releaseStatistics: Posted by gordon77 — Mon Mar 25, 2024 8:28 pm
View ArticleTroubleshooting • Pi 4 wont Boot up
Hi,I have a pi 4 and is will no longer boot up. Is there a way to retrieve all my bookmarks, passwords etc from Firefox and Chromium ?So I can make a new os on a new card and copy them...
View ArticleGeneral • Re: UART issues with overclocked Pico
This is what worked for me:Code: #include <stdio.h>// #include <unistd.h>#include "pico/stdlib.h"#include "hardware/clocks.h"#include "hardware/vreg.h"// #include...
View ArticleCamera board • Re: [GS camera] rpicam-vid broken by latest updates? Always...
Scratch the below... It's working now. The second `sudo rpi-update pulls/6027` must have done the trick, maybe I was seeing a still shot from before the reboot.Note, though, that even with the...
View ArticleHATs and other add-ons • Re: How to wire TL-W5MC1 Inductive Proximity Sensor
The advantage of the optocoupler (also known as an opto-isolator) is that it electrically isolates the pi input (max 3.3V) from the high voltage of the proximity sensor (say 12V). The signal is...
View ArticleTroubleshooting • Re: Pi 5 just flashing green light, no display or outputs
Possibly try the reflash mentioned in viewtopic.php?t=367758hi bro, thank you so much, it worked! do you know what could have caused it in the first place though?Statistics: Posted by mrpetgoldfish —...
View Article