<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.squirrelslair.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hal</id>
	<title>Squirrel&#039;s Lair - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.squirrelslair.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hal"/>
	<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=Special:Contributions/Hal"/>
	<updated>2026-04-29T16:37:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4734</id>
		<title>Raspberry Pi Pico vs Pico2</title>
		<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4734"/>
		<updated>2024-10-07T03:44:41Z</updated>

		<summary type="html">&lt;p&gt;Hal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Single-core performance of the Pico 2 is considerably higher than the original Pico.&lt;br /&gt;
&lt;br /&gt;
I&#039;d put the code in here but I can&#039;t get it to format properly, argh. Anyway...&lt;br /&gt;
&lt;br /&gt;
Part 1 filled the display one pixel at a time.&lt;br /&gt;
&lt;br /&gt;
Part 2 plotted a circle with radius 31 at x=64, y=32 on the display.&lt;br /&gt;
&lt;br /&gt;
Part 3 did the following calculation 1 million times with a (0.31713178593), b (1.578817591983), and c (-5.1383859192):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
for t in range(0, 1000000, 1):&lt;br /&gt;
    d = sqrt(abs(t/((a*b*c)/(a+b+c))))&lt;br /&gt;
    e = d**2&lt;br /&gt;
    f = ((e*d + 1.1)**5)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Part 4 toggled a pin 1 million times with a simple MicroPython loop, no optimizations.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ RESULTS (lower is better)&lt;br /&gt;
|-&lt;br /&gt;
! Test || Pico (RP2040) !! Pico 2 (RP2350)&lt;br /&gt;
|-&lt;br /&gt;
| Part 1 || 54.825s || 49.259s&lt;br /&gt;
|-&lt;br /&gt;
| Part 2 || 4.333s || 3.818s&lt;br /&gt;
|-&lt;br /&gt;
| Part 3 || 177.167s || 68.751s&lt;br /&gt;
|-&lt;br /&gt;
| Part 4 || 10.384s || 5.887s&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
There&#039;s not a big difference in speed when it comes to operations that are bound by peripheral or bus speeds, (like writing to the display), but floating point math and pin toggle times are much faster.&lt;br /&gt;
&lt;br /&gt;
Note that this is with MicroPython v1.23 on the Pico and v1.24.0-preview.321.g0ff782975 on the Pico 2. The code was not optimized and did not use the Native of Viper code emitter for this test.&lt;/div&gt;</summary>
		<author><name>Hal</name></author>
	</entry>
	<entry>
		<id>https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4733</id>
		<title>Raspberry Pi Pico vs Pico2</title>
		<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4733"/>
		<updated>2024-10-07T03:43:54Z</updated>

		<summary type="html">&lt;p&gt;Hal: Page Creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Single-core performance of the Pico 2 is considerably higher than the original Pico.&lt;br /&gt;
&lt;br /&gt;
I&#039;d put the code in here but I can&#039;t get it to format properly, argh. Anyway...&lt;br /&gt;
&lt;br /&gt;
Part 1 filled the display one pixel at a time.&lt;br /&gt;
&lt;br /&gt;
Part 2 plotted a circle with radius 31 at x=64, y=32 on the display.&lt;br /&gt;
&lt;br /&gt;
Part 3 did the following calculation 1 million times with a (0.31713178593), b (1.578817591983), and c (-5.1383859192):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
for t in range(0, 1000000, 1):&lt;br /&gt;
    d = sqrt(abs(t/((a*b*c)/(a+b+c))))&lt;br /&gt;
    e = d**2&lt;br /&gt;
    f = ((e*d + 1.1)**5)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Part 4 toggled a pin 1 million times with a simple MicroPython loop, no optimizations.&lt;br /&gt;
&lt;br /&gt;
RESULTS:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ RESULTS (lower is better)&lt;br /&gt;
|-&lt;br /&gt;
! Test || Pico (RP2040) !! Pico 2 (RP2350)&lt;br /&gt;
|-&lt;br /&gt;
| Part 1 || 54.825s || 49.259s&lt;br /&gt;
|-&lt;br /&gt;
| Part 2 || 4.333s || 3.818s&lt;br /&gt;
|-&lt;br /&gt;
| Part 3 || 177.167s || 68.751s&lt;br /&gt;
|-&lt;br /&gt;
| Part 4 || 10.384s || 5.887s&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
There&#039;s not a big difference in speed when it comes to operations that are bound by peripheral or bus speeds, (like writing to the display), but floating point math and pin toggle times are much faster.&lt;br /&gt;
&lt;br /&gt;
Note that this is with MicroPython v1.23 on the Pico and v1.24.0-preview.321.g0ff782975 on the Pico 2. The code was not optimized and did not use the Native of Viper code emitter for this test.&lt;/div&gt;</summary>
		<author><name>Hal</name></author>
	</entry>
	<entry>
		<id>https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_5_No_Wi-Fi&amp;diff=4664</id>
		<title>Raspberry Pi 5 No Wi-Fi</title>
		<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_5_No_Wi-Fi&amp;diff=4664"/>
		<updated>2024-04-26T02:36:42Z</updated>

		<summary type="html">&lt;p&gt;Hal: Page Creation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TidBit&lt;br /&gt;
|shortDescription=Raspberry Pi 5 Wi-Fi doesn&#039;t work when booting from USB&lt;br /&gt;
|skillSet=Raspberry Pi&lt;br /&gt;
|featured=No&lt;br /&gt;
}}&lt;br /&gt;
There is an issue with older versions of the Raspberry Pi 5 firmware (EEPROM) that can cause problems with Wi-Fi, particularly when booting from USB. If you&#039;re booting from a USB drive and the network isn&#039;t coming up, make an image of Raspberry Pi OS Lite (or normal or full, but Lite takes the least amount of time to download and write to a card), remove the USB disk, and boot from the SD card. Once the Pi has booted up and is visible on the network, connect to it and run the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo apt update; sudo apt full-upgrade -y&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once that process completes, run this to update the EEPROM code on the Pi:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo rpi-eeprom-update&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should now see output that shows what firmware version your Pi currently has and whether there&#039;s a newer version available. If your firmware is old (pre-April 2024), run the following to update it:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;sudo rpi-eeprom-update -a&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once that&#039;s done, shut down the Pi, remove the SD card, reconnect the USB boot device, and (hopefully) the Pi will boot from it.&lt;br /&gt;
&lt;br /&gt;
Reference: https://github.com/raspberrypi/firmware/issues/1837&lt;/div&gt;</summary>
		<author><name>Hal</name></author>
	</entry>
	<entry>
		<id>https://wiki.squirrelslair.ca/index.php?title=File:MW_Install_problem.png&amp;diff=4643</id>
		<title>File:MW Install problem.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=File:MW_Install_problem.png&amp;diff=4643"/>
		<updated>2024-04-19T20:17:32Z</updated>

		<summary type="html">&lt;p&gt;Hal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Hal</name></author>
	</entry>
	<entry>
		<id>https://wiki.squirrelslair.ca/index.php?title=File:Dsc1111111.jpg&amp;diff=4623</id>
		<title>File:Dsc1111111.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=File:Dsc1111111.jpg&amp;diff=4623"/>
		<updated>2024-04-19T00:15:30Z</updated>

		<summary type="html">&lt;p&gt;Hal: Created page with &amp;quot;Filefilefile&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Filefilefile&lt;/div&gt;</summary>
		<author><name>Hal</name></author>
	</entry>
</feed>