Go to advanced search

by jbeale
Tue Jun 22, 2021 3:45 pm
Forum: General discussion
Topic: recommend scientific graphing program?
Replies: 12
Views: 657

Re: recommend scientific graphing program?

I recently came across Veusz https://veusz.github.io/ which is a reasonably capable, open-source and cross-platform plotting package. My initial experience is that it mostly does what I want, and I was able to simply install it on Windows, and an Intel-based Linux box. However I have so far been una...
by jbeale
Thu Jun 10, 2021 9:47 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

This is a 4GB Pi4. After reading this, I upped my GPU memory so it is now $ vcgencmd get_mem gpu gpu=256M My swap is 100 MB. Right now 'top' reports top - 14:44:18 up 2 days, 3:02, 2 users, load average: 3.05, 3.25, 3.22 Tasks: 195 total, 2 running, 193 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.1 us,...
by jbeale
Tue Jun 08, 2021 6:33 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

pi@rp49:~ $ vcgencmd get_mem gpu gpu=76M Looks like that is not enough. I don't see any kind of memory being set in my /boot/config.txt so that is some sort of default, I suppose? EDIT: apparently yes, 76 is the default for 1G+ memory systems. https://www.raspberrypi.org/documentation/configuration...
by jbeale
Tue Jun 08, 2021 4:53 pm
Forum: MicroPython
Topic: Pico as USB memory device ?
Replies: 28
Views: 1036

Re: Pico as USB memory device ?

Very interesting example hippy. One item, I wonder which version of CircuitPython you are using? I tried this code on my Pico and got a boot_out.txt file saying: Adafruit CircuitPython 6.3.0 on 2021-06-01; Raspberry Pi Pico with rp2040 boot.py output: Traceback (most recent call last): File "bo...
by jbeale
Tue Jun 08, 2021 4:31 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

"Firmware transaction timeout" just happened again. [ 2859.332873] ------------[ cut here ]------------ [ 2859.332912] WARNING: CPU: 3 PID: 3153 at drivers/firmware/raspberrypi.c:64 rpi_firmware_transaction+0xec/0x128 [ 2859.332924] Firmware transaction timeout [ 2859.332935] Modules linke...
by jbeale
Mon Jun 07, 2021 4:36 am
Forum: Automation, sensing and robotics
Topic: advice for low-noise sensor performance
Replies: 4
Views: 422

Re: advice for low-noise sensor performance

In case you're wondering what you can do with a sensor like that, here's one: point it straight up into the sky. On a clear day you see nothing except an occasional blip from a bird or insect flying inside the radar beam. However, when it rains you can tell not only how heavy the rain is, but also h...
by jbeale
Mon Jun 07, 2021 4:01 am
Forum: MicroPython
Topic: Pico as USB memory device ?
Replies: 28
Views: 1036

Re: Pico as USB memory device ?

Wow, thanks everyone for the additional discussion of this issue. Indeed what I was hoping for was a general-purpose, non-OS-specific solution that would enable existing systems running on various legacy hardware to work "as-is" with a new sensor device, so long as they could access a file...
by jbeale
Sat Jun 05, 2021 3:42 am
Forum: MicroPython
Topic: Pico as USB memory device ?
Replies: 28
Views: 1036

Re: Pico as USB memory device ?

when emulating a normal mass-storage device, the host computer assumes it has exclusive control of the flash memory and it can cache things it has read, because its not expecting the contents to change on their own usb camera and phone stuff has had the exact same limitation, the device cant use th...
by jbeale
Sat Jun 05, 2021 3:34 am
Forum: MicroPython
Topic: Pico as USB memory device ?
Replies: 28
Views: 1036

Re: Pico as USB memory device ?

I was able to try the CircuitPython example that logs data to the internal flash memory, but it doesn't work exactly the way I had in mind. In particular, the host PC mounts the board's filesystem in "Read Only" mode and it can read the file exactly once. Either on the host side or the cli...
by jbeale
Sat Jun 05, 2021 2:41 am
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

Happened twice to me again today. Most recently I got "Firmware transaction timeout" and then "raspberrypi-clk soc:firmware:clocks: Failed to change fw-clk-v3d frequency: -110 bcm2835_mmal_vchiq: timed out waiting for sync completion" I have to reboot from another system, or powe...
by jbeale
Fri Jun 04, 2021 4:53 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

Another thing- not a lockup, but while watching a FB video, just that window stopped with an error message that it could not play the video, and I saw 'dmesg' report [80931.936571] bcm2835-codec bcm2835-codec: bcm2835_codec_buf_prepare data will not fit into plane (1536 < 1775616) [81070.586343] mma...
by jbeale
Fri Jun 04, 2021 5:58 am
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

Very interesting! I am also running Chromium 88. Chromium Version 88.0.4324.187 (Official Build) Built on Raspbian , running on Raspbian 10 (32-bit) I don't remember manually updating this, so I assumed this was the current default? But if that's the only factor, I'd expect thousands of people to ha...
by jbeale
Thu Jun 03, 2021 6:19 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

Given that you mention I2C, I just noticed this in my /boot/config.txt Apparently I've got i2c_arm ON. I don't remember if that is the default or if I manually enabled that at some point, for testing something or other. # Uncomment some or all of these to enable the optional hardware interfaces dtpa...
by jbeale
Thu Jun 03, 2021 4:32 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

Thanks again for looking into it. I've got a SSD on one USB3 port and various other normal USB things (keyboard, mouse, USB audio dongle, USB-serial dongle, Pi Pico) but I do not have anything connected to any GPIO pins. I presume there's something odd about my config, as if this was a common proble...
by jbeale
Wed Jun 02, 2021 9:38 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

Unfortunately the update did not solve the problem. Mouse and display lockup still happens. Logging in remotely via ssh and doing 'dmesg' gives this: [279375.308861] bcm2835-codec bcm2835-codec: bcm2835_codec_buf_prepare data will not fit into plane (1536 < 264960) [279375.309038] bcm2835-codec bcm2...
by jbeale
Tue Jun 01, 2021 3:39 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

FWIW I have not yet had another lockup but I did get this "warning" since updating: [133258.395745] bcm2835-codec bcm2835-codec: bcm2835_codec_start_streaming: Failed enabling i/p port, ret -2 [133258.395757] ------------[ cut here ]------------ [133258.395787] WARNING: CPU: 3 PID: 4581 at...
by jbeale
Sun May 30, 2021 7:11 pm
Forum: Automation, sensing and robotics
Topic: advice for low-noise sensor performance
Replies: 4
Views: 422

advice for low-noise sensor performance

I figured this out before, forgot it, and re-learned it so I'm going to write it down here to help me remember. It might help someone else too. In my case I'm working with a cheap 24 GHz doppler-radar module, the CDM324 (about $10 on ebay). It needs +5V and and it gives you a signal with a frequency...
by jbeale
Sun May 30, 2021 3:48 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

Re: lockup on 4b : Firmware transaction timeout ?

Thank you 6by9 for checking into it. FWIW I just did apt update & upgrade today and a number of things were upgraded, so apparently I didn't have the latest. I will note here if it happens again now. I am sure there is something off with my particular config, as whenever this glitch happens it f...
by jbeale
Thu May 27, 2021 9:16 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 981

lockup on 4b : Firmware transaction timeout ?

I am running Linux rp49 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux on a Pi4b (4 GB) and the system is running from an external SSD, with no SD card. It has worked without trouble for many months. Recently when I am using the Chromium browser (Facebook, etc) it will sometime...
by jbeale
Sat May 22, 2021 6:26 pm
Forum: MicroPython
Topic: Pico as USB memory device ?
Replies: 28
Views: 1036

Pico as USB memory device ?

Is there any example code which when run on a Pico, causes the Pico to appear to an external USB host as a simple USB memory stick? In some cases it would be convenient to present some live sensor data as a dynamically updated file on the Pico, that the host could access and read periodically as if ...
by jbeale
Sat May 22, 2021 3:43 am
Forum: MicroPython
Topic: Time
Replies: 20
Views: 507

Re: Time

Sometimes I've had endian-ness problems that sound like that (number looks right on one architecture, and very wrong on another) but I don't know if that's the case here.
by jbeale
Mon May 17, 2021 8:30 pm
Forum: Off topic discussion
Topic: Pi in the News: McDonalds / Kytch Kerfuffle
Replies: 8
Views: 959

Re: Pi in the News: McDonalds / Kytch Kerfuffle

Only just came across this article today; it is an interesting story. I can definitely understand that the engineers got it to work once and moved on; meanwhile with the design lock-in they have, the unreliability became a profit center through service and replacement parts. It is my guess that some...
by jbeale
Mon May 17, 2021 5:54 am
Forum: MicroPython
Topic: Clocks
Replies: 9
Views: 569

Re: Clocks

As a non-useful reply, this is beyond my experience level with the Pico board, but I hope someone can help.
by jbeale
Wed May 12, 2021 3:59 am
Forum: MicroPython
Topic: develop for Pico using (older) Chromebook?
Replies: 9
Views: 553

Re: develop for Pico using (older) Chromebook?

Thank you Rafael for the BIPES project. I have tried this page out and (after flailing around through several ways it didn't work, which I still don't understand) I did eventually get it to work with a Pico board, and I was able to run a test block-style program, and see the Python code also. Nice w...
by jbeale
Tue May 04, 2021 7:07 pm
Forum: General discussion
Topic: recommend scientific graphing program?
Replies: 12
Views: 657

recommend scientific graphing program?

This is not specific to R-Pi of course, but that's what I'm using and I think likely people here have good ideas. I graph a lot of sensor data as a time series. My usual timestamp is a single number that is Unix epoch (seconds from Jan.1 1970). I find the "Kst-Plot" program https://kst-plo...

Go to advanced search