PCear FM Radio upgrade: Instructions on how to upgrade your PCear FM Radio to Silabs firmware. NOTE: I've tested these steps pretty well but I make absolutely no guarantee that you won't turn your radio into a non-functioning brick. 1. Installl Linux-2.6.26 or later and get radio-si470x.c (in this archive) and install and boot it. 2. Plug in the PCear and do this command: lsusb You should see something like: Bus 002 Device 107: ID 10c5:819a Sanei Electric, Inc. 3. Do as superuser (NOTE: this will step will take about 2 minutes, the output file image.bin should increas in size during this period): echo 1 > /sys/class/radio/c8051flash/flash_access cat /sys/class/radio/c8051flash/flash_raw > image.bin wget http://www.efn.org/~rick/work/pcear/image.pcear.orig.raw.bin cmp -l image.pcear.orig.raw.bin image.bin 4. If the last command printed out differences outside the range 13824-13855 DON'T proceed! You do not have compatible software and may will probably turn your radio into a brick if you proceed. 5. Make a radio subdirectory and unzip this archive and go to the AN264SW directory. mkdir ~/radio; cd ~/radio tar jxf pcear.X.tar.bz2 # where X is the revision Note that you don't need this file: usr/local/share/sdcc/include/mcs51/C8051F320.h unless you want to build the firmware. 6. Unplug your radio and then plug it back in and do: cd AN264SW echo 1 > /sys/class/radio/c8051flash/flash_access cat pcear.upgrade.pass1.bin > /sys/class/radio/c8051flash/flash_data 7. Unplug your radio and then plug it back in and do: echo 1 > /sys/class/radio/c8051flash/flash_access cat pcear.upgrade.pass2.bin > /sys/class/radio/c8051flash/flash_data 8. Unplug your radio and then plug it back in and do: echo 1 > /sys/class/radio/c8051flash/flash_access for (( cntr= 0; cntr < 28; cntr++ )); do cat silabs$cntr.fmt.bin > /sys/class/radio/c8051flash/flash_data; done 9. Unplug your radio and then plug it back in and do this command: lsusb You should see something like: Bus 002 Device 021: ID 10c4:818a Cygnal Integrated Products, Inc. 10. To use the radio do just one (only one) of these (take your pick): gradio & radio -c /dev/radio0 & kradio & gnomeradio & AND do just one of these (take your pick): sox -c 2 -s -r 48000 -t oss /dev/dsp1 -t oss -r 48000 /dev/dsp sox -2 --endian little -r 96000 -t oss /dev/dsp1 -t oss /dev/dsp arecord -D hw:1,0 -r96000 -c2 -f S16_LE | artsdsp aplay -B - 11. To use my changed firmware that fixes pops and clicks. WARNING: No guarantees this won't brick your unit. Hook up a C2 interface if you want to make sure you can recover from it. # Make sure you exit from sox and your radio program! killall sox killall radio cd AN264SW/Firmware make upgrade