New C.H.I.P. flashing method

I struggled to get the chip flashing to work as the code is incompatible with a modern linux system. So, I used apptainer to build an image.

If you want to use this method to flash your chip / pocketchip, see below.

  1. Install apptainer or singularity.

  2. singularity pull library://bpietras/bpietras/c.h.i.p-flasher:latest

Or, to download the .sif, without using the pull command, you can click the 'Download' button here: https://cloud.sylabs.io/library/bpietras/bpietras/c.h.i.p-flasher

3a) singularity exec chip-flasher.sif chip-update-firmware.sh -L flash-collection/stable-server-b149

Or, if you have a pocketchip

3b) singularity exec chip-flasher.sif chip-update-firmware.sh -L flash-collection/stable-pocketchip-b126

  1. Put the c.h.i.p. in FEL mode with a paperclip (link FEL to GND). Use a data transfer micro-usb cable to plug into USB (some cables are charging only). Then plug the CHIP into your PC.

Oh, if someone wants just the flash-collection/stable-server-b149 they can get it from here: https://mega.nz/file/97phVRTB#s4e2FWfajnNf4qshi-0DzyTyshG4t7kGJfoLC5Hreqs

That's 0.4G rather than 4.8G - a much faster download than https://archive.org/details/C.h.i.p.FlashCollection

EDIT - for ubuntu, the easiest way to install apptainer (works the same as singularity) looks to be: https://apptainer.org/docs/admin/main/installation.html#install-debian-ubuntu-packages

Good luck chipperinos!

Posted Nov 28, 2022, 6:01 PM UTC · edited

2120
Loading comments…