Thanks for firmware but again after copying your firmware.uf2 on Pico mass storage I get via UART on PC:I'm surprised the '.uf2' zipped up that small. Testing your firmware worked for me - and hopefully the reported version matches with yours -As far as I can tell, my 'firmware.uf2' build is the same as yours - with just version and date differences, and just a few image differences. The addresses and sizes match in each -Code:
MPY: soft rebootMicroPython v1.25.0-preview.301.g8987b39e0.dirty on 2025-02-19; Raspberry Pi Pico with RP2040Type "help()" for more information.>>> dir()['machine', '__name__', 'rp2']
Yours -Mine -Code:
Program Name : MicroPythonProgram Version : v1.25.0-preview.301.g8987b39e0.dirtyTarget Device : RP2040Target Chip : Cortex-M0+Target ISA : ARMv6-MTarget Board : PicoCode Execution Type : Run from FlashBuild Date : Feb 19 2025Pico SDK Version : 2.1.0Build Attributes : MinSizeRelBoot Stage 2 Name : boot2_w25q080Program Area Used : 10000000 to 10051D4F 327 KB 335,184 bytesBinary Info Root Entry : 100001D4 to 100001E7 5 quads 20 bytesCopy Table Information : 10000238 to 1000025F 10 quads 40 bytesUSB Configuration Info : 1004876B to 100487B5 Configuration 1USB Device Descriptor : 100487B6 to 100487C7 2E8A:0005 [1.0] USB 2.0Binary Info Pointers : 1005099C to 10050A0F 29 quads 116 bytesIncluded File System : 100A0000 to 101FFFFF 'MP' "MicroPython" 1,408 KBBinary Info Tag Name : 'RP' - Raspberry Pi Pico SDKBinary Info Tag Name : 'MP' - frozen modulesUSB Device Information : 2E8A:0005 [1.0] Raspberry Pi MicroPythonBut there are differences in the executable image. However that seems to have come down to the order 'BUILD_FROZEN_CONTENT' finds files on disk -Code:
Program Name : MicroPythonProgram Version : v1.25.0-preview.304.g1034b1755.dirtyTarget Device : RP2040Target Chip : Cortex-M0+Target ISA : ARMv6-MTarget Board : PicoCode Execution Type : Run from FlashBuild Date : Feb 20 2025Pico SDK Version : 2.1.0Build Attributes : MinSizeRelBoot Stage 2 Name : boot2_w25q080Program Area Used : 10000000 to 10051D4F 327 KB 335,184 bytesBinary Info Root Entry : 100001D4 to 100001E7 5 quads 20 bytesCopy Table Information : 10000238 to 1000025F 10 quads 40 bytesUSB Configuration Info : 1004876B to 100487B5 Configuration 1USB Device Descriptor : 100487B6 to 100487C7 2E8A:0005 [1.0] USB 2.0Binary Info Pointers : 1005099C to 10050A0F 29 quads 116 bytesIncluded File System : 100A0000 to 101FFFFF 'MP' "MicroPython" 1,408 KBBinary Info Tag Name : 'RP' - Raspberry Pi Pico SDKBinary Info Tag Name : 'MP' - frozen modulesUSB Device Information : 2E8A:0005 [1.0] Raspberry Pi MicroPythonIf it had added files in the same order, sorted its input, I would anticipate the files being the same bar version and date.Code:
< 1004B29E : IDSTR 'MP' 4A99D719 [1004255A->] "rp2"< 1004B2AA : IDSTR 'MP' 4A99D719 [1004AA2F->] "_boot_fat"< 1004B2B6 : IDSTR 'MP' 4A99D719 [1004AA39->] "_boot"---> 1004B29E : IDSTR 'MP' 4A99D719 [1004AA2F->] "_boot_fat"> 1004B2AA : IDSTR 'MP' 4A99D719 [1004AA39->] "_boot"> 1004B2B6 : IDSTR 'MP' 4A99D719 [1004255A->] "rp2"
Regardless, knowing zipping does work, here's my build, 'firmware.uf2' renamed to make things easier. I guess fingers crossed it behaves the same ...
firmware-from-hippy.zip
Code:
*** PANIC ***Hard assertStatistics: Posted by msawicki — Fri Feb 21, 2025 1:16 am