Go to advanced search

by RichardUK
Fri Sep 17, 2021 5:45 am
Forum: Off topic discussion
Topic: R.I.P Sir Clive
Replies: 35
Views: 3359

R.I.P Sir Clive

R.I.P Sir Clive. Your crystal may have stopped oscillating but your clock cycles with tick on forever.

https://www.bbc.co.uk/news/uk-58587521
by RichardUK
Wed Apr 07, 2021 7:44 am
Forum: C/C++
Topic: stuck on old GCC 8.3.0
Replies: 6
Views: 915

Re: stuck on old GCC 8.3.0

Thanks for the input :) Yes I had feared that Raspberry PI OS maybe held back by debian. I don't follow the forums much so will have missed previous discussions. I had assumed that when they moved to making their 'own' OS some time ago that they had, like other distros, started to pull in more up to...
by RichardUK
Wed Apr 07, 2021 7:11 am
Forum: C/C++
Topic: stuck on old GCC 8.3.0
Replies: 6
Views: 915

stuck on old GCC 8.3.0

Sorry if this is covering old ground but just been bit by this. :/ I have some apps that I build from source on a RPi zero. I've just started to use some c++17 features. I believe I have the latest OS. Compiling GCC on a RPi zero not really an option and I didn't want to get into adding different bu...
by RichardUK
Mon Feb 08, 2021 7:58 pm
Forum: General
Topic: Pico Reset Button and Power Cycle Fix
Replies: 29
Views: 1959

Re: Pico Reset Button and Power Cycle Fix

If you define PICO_ENTER_USB_BOOT_ON_EXIT in your project and return from main the pico will pop back up as a drive. So if you have a pin spare just add a bit of code to exit(0) and no more unplugging the pico or pressing two buttons at the same time. :lol: ;) add_definitions(-DPICO_ENTER_USB_BOOT_O...
by RichardUK
Sun Feb 07, 2021 6:41 pm
Forum: MicroPython
Topic: Only getting serial device when connected
Replies: 8
Views: 728

Re: Only getting serial device when connected

Found it. Page 31 of https://datasheets.raspberrypi.org/pico ... on-sdk.pdf
Seems to use a tool called rshell. Not sure why it does not mount as a drive. Never mind, can test my pico display now. :)
by RichardUK
Sun Feb 07, 2021 6:17 pm
Forum: MicroPython
Topic: Only getting serial device when connected
Replies: 8
Views: 728

Only getting serial device when connected

I apologize if I misunderstood how this is supposed to work but I was under the understanding that as well as the serial port you also get a drive to copy files too. I have tested this on a Linux PC, Windows 10 PC, Chromebook and a RPi4. All show the serial port, non show the drive. The repl works. ...
by RichardUK
Fri Jan 22, 2021 11:31 am
Forum: General
Topic: Is the raspberry foundation flipping blue?
Replies: 65
Views: 4701

Re: Is the raspberry foundation flipping blue?

" lack of Wifi should not be a problem for many applications"
Yup. In a lot of industrial applications Wifi is a non starter. RS485 bus with modbus or EtherNet/IP.
by RichardUK
Fri Jan 22, 2021 11:22 am
Forum: General
Topic: Integrating Pico SoC into Broadcom SoC
Replies: 4
Views: 431

Re: Integrating Pico SoC into Broadcom SoC

Hi, Something I miss in my daily work with embedded Linux is real time capabilities. Is there any chance of integrating the Pico core into the Broadcom SoC used for the Linux Pis? I understand that I can connect a Pico to a Pi 4, but it would be neat to have it integrated. Regards, Jose Check out t...
by RichardUK
Fri Jan 22, 2021 11:14 am
Forum: General
Topic: Is the raspberry foundation flipping blue?
Replies: 65
Views: 4701

Re: Is the raspberry foundation flipping blue?

piglet wrote:
Fri Jan 22, 2021 10:55 am
Most non-simple uses I can think of would need Wifi.
Think harder. ;)

This chip would work well in a low cost PLC.
by RichardUK
Thu Jan 21, 2021 10:06 pm
Forum: General
Topic: Point product or start of a product line?
Replies: 21
Views: 1281

Re: Point product or start of a product line?

Or just switch to fixed point math, faster and better in my experience. Floating point gets too lossy with big numbers.
by RichardUK
Thu Jan 21, 2021 10:01 pm
Forum: General
Topic: Serial with PIO needs both cores?
Replies: 3
Views: 450

Re: Serial with PIO needs both cores?

Sorry, I did not mean both CPU cores, I meant both PIO blocks. Re reading the datasheet looks like they can, with the only shared resource being IRQ and instruction memory. Looks to be enough instruction space to run both TX (four instructions) and RX (four instructions) on one PIO leaving the other...
by RichardUK
Thu Jan 21, 2021 7:59 pm
Forum: General
Topic: Serial with PIO needs both cores?
Replies: 3
Views: 450

Serial with PIO needs both cores?

I've had a look at the datasheet and the sdk examples. (a quick flick throw) Am I correct in thinking that to implement serial you'll need to use both cores, one for TX and one for RX? I was wondering if you could put both the RX and TX code in the same PIO and use two state machines. Or would the D...
by RichardUK
Thu Jan 21, 2021 7:25 pm
Forum: General
Topic: Raspberry Pico and Pi 4 Python and C Basic Beginners Bit Banging Benchmarks
Replies: 10
Views: 2502

Re: Raspberry Pico and Pi 4 Python and C Basic Beginners Bit Banging Benchmarks

"By Roy Longbottom, nearly 86 years old"
Don't you mean 0x56 years young? :)
by RichardUK
Thu Jan 21, 2021 7:18 pm
Forum: General
Topic: Why does the RP2040 processor have dual cores?
Replies: 72
Views: 6052

Re: Why does the RP2040 processor have dual cores?

Dual cores are handy for use with RTOS. Such as FreeRTOS.
Its' also good for having one core do all the network stack and handle the wifi leaving the other core for the application. You don't have to worry about your app hogging the cpu.
by RichardUK
Thu Jun 11, 2020 12:10 pm
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 1008
Views: 267247

Re: STICKY: Raspberry Pi OS (64 bit) beta test version feedback

Got the package installing now. I had to remove the failed install, do 'sudo apt update && sudo apt upgrade -y' and try the install again. That now installs without errors. My best guess is that I had forgotten to do the initial update / upgrade after first boot. eglInitialize is failing but...
by RichardUK
Thu Jun 11, 2020 11:40 am
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 1008
Views: 267247

Re: STICKY: Raspberry Pi OS (64 bit) beta test version feedback

Trying to build for Mesa 3D GLESv2. GLESv2 and EGL libs not found. A quick addition, the following gives this output. sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packa...
by RichardUK
Thu Jun 11, 2020 11:32 am
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 1008
Views: 267247

Re: STICKY: Raspberry Pi OS (64 bit) beta test version feedback

Trying to build for Mesa 3D GLESv2. GLESv2 and EGL libs not found. As per the original sticky announcement post linker searching in /usr/lib Trying to install libgles2-mesa-dev and I get sudo apt install libgles2-mesa-dev Reading package lists... Done Building dependency tree Reading state informati...
by RichardUK
Sun May 24, 2020 7:26 pm
Forum: Ubuntu
Topic: RPi 4 "/dev/dri" folder missing on Ubuntu 20.04
Replies: 2
Views: 959

Re: RPi 4 "/dev/dri" folder missing on Ubuntu 20.04

Looks like this is a bug that is under investigation. So hopefully an update will fix this for me. The registered bug is "Missing v3d driver disables 3D support on RPi4". This is for Ubuntu to work on. Be nice to see it working. Only just been registered / accepted if I read it right. http...
by RichardUK
Sun May 24, 2020 6:32 am
Forum: Ubuntu
Topic: RPi 4 "/dev/dri" folder missing on Ubuntu 20.04
Replies: 2
Views: 959

Re: RPi 4 "/dev/dri" folder missing on Ubuntu 20.04

BTW I installed libgbm-dev and kmscube. Get the error

could not open drm device
failed to initialize legacy DRM
by RichardUK
Sun May 24, 2020 6:29 am
Forum: Ubuntu
Topic: RPi 4 "/dev/dri" folder missing on Ubuntu 20.04
Replies: 2
Views: 959

RPi 4 "/dev/dri" folder missing on Ubuntu 20.04

Making a rod for my own back using Ubuntu 20.04 on RPi but I like it. It's a hobby...... ;) Anyway, I am running without X on the command line. And I am trying to get some old GLES code running again. After some rooting about in the undergrowth of the internet it seems there are a few things I need....
by RichardUK
Mon Jul 29, 2019 4:35 pm
Forum: Other projects
Topic: Putting my money where the foundations mouth is :)
Replies: 1
Views: 465

Putting my money where the foundations mouth is :)

Here is a picture of my Raspberry Pi 4 desktop. I will be starting my Masters in October so will be giving it a go as my study PC. :) Specs are: Rpi 4 - 4 GIG Two new AOC G2590VXQ 24.5 1080p monitors 7 port USB 3.0 powered port 32 GIG SD card for OS 128 gig USB 3.0 usb drive which has the home folde...
by RichardUK
Thu Jun 27, 2019 9:24 am
Forum: General discussion
Topic: Why do I not see 2x speed up in sysbench?
Replies: 5
Views: 1382

Re: Why do I not see 2x speed up in sysbench?

Ta will give that ago. :)
by RichardUK
Wed Jun 26, 2019 10:44 pm
Forum: General discussion
Topic: Why do I not see 2x speed up in sysbench?
Replies: 5
Views: 1382

Why do I not see 2x speed up in sysbench?

On the blog post it says "yielding performance increases over Raspberry Pi 3B+ of between two and four times, depending on the benchmark." when talking about moving to the newer CPU arch. And yet testing the CPU alone with sysbench shows only 15% speed up. confused.com :? Is sysbench that ...
by RichardUK
Wed Jun 26, 2019 9:39 pm
Forum: Troubleshooting
Topic: Got the latest Raspbian light image, pip is not installed
Replies: 2
Views: 3015

Got the latest Raspbian light image, pip is not installed

I've googled and seems I have to download a script from https://pip.pypa.io/en/stable/installing/
Is this script safe? Is pip in the disk image and I am missing something???

Ta :)
by RichardUK
Wed Jun 26, 2019 8:43 pm
Forum: General discussion
Topic: Here is a printable case I designed for the Rpi 4 :)
Replies: 2
Views: 925

Here is a printable case I designed for the Rpi 4 :)

In Tinkercad

On Thingiverse

It's a two part print, the base and the top. There are three options for the top part.

Image

Go to advanced search