.Issues with the RP2040

Code security and RAM security Typically a microcontroller allows the code it runs to be protected against reading and has programming time options to disable debugging. The RP2040 doesn’t have this, it is unable to protect the code it runs or its RAM. The MCU can execute code either from RAM or directly from flash. […]

Read More

Pins

GPIO pins VDDIO Voltage range 1.8V to 3.3V Diodes to VDDIO ADC GPIO pins have diode to VDDIO, but other GPIO pins do not.

Read More

Creating a Visual Studio Code project

Create a new project As you follow these steps for the first time after install, Visual Studio may prompt you to do various setup things – when it does just click the default option it is asking you. Click top left “Explorer” button > Open Folder Create a folder somewhere you want to store your […]

Read More

.Setting up Visual Studio Code

Unfortunately the setup for programming it in C using a Windows PC is pretty horrible. Assuming this hasn’t been solved by the time you read this, there’s a horrible set of steps you’re expected to jump through. If you want to program in Windows that’s just the way it is. There’s lots of guides online […]

Read More

chmod

Get permissions state of file or folder The 3 values are shown in this order: Owner, group and others Altering permissions Set all permissions Add an individual permission (Example adds read and write permission for owner, group or others) Remove an individual permission (Example removes write permission for owner, group or others)

Read More

Reset Network Interface

After Changes to the network interface configuration, you have to restart the network interface using this (assuming the interface is called “eth0”). Alternative if you get error message (“ifdown: unknown interface wlan0”) for wlan0 WiFi interface reset doesn’t work? We’ve found using Raspberry Pi OS Buster the above commands no longer cause the WiFi interace […]

Read More

File manager as root user

Menu > Preferences > Main Menu Editor, Accessories, New Item Name: Root File Manager Command: sudo pcmanfm Comment: Open the file manager as root user Add the item and you will then have the new item appear in the start menu accessories folder.

Read More