[s1mp3-dev] loadram -- USB subroutine upload program

Jeroen Domburg jeroen at sprite.student.utwente.nl
Thu Jun 15 10:33:14 CDT 2006


Hi all,

After digging deep in the s1fwx source, various usb dumps etc, I proudly 
present you: loadram v0.1.

What does this program do? Very simple: You connect your mp3 player to 
your USB port (in fw update mode, for now), enter 'loadram myprog.bin' and 
the data in 'myprog.bin' is executed. The program data is executed as a 
subroutine: executing a 'ret' returns to the firmware update mode 
instantly, which is great for small testing programs to figure out how the 
hardware works.

For now, the program only runs under Linux, but porting it to Windows 
should be a breeze: just copy the device.c file from s1fwx and compile, 
and it _should_ run without too much errors. I don't have Visual C and I 
don't like Windows, so the porting will have to be done by someone else 
more knowledged in that area.

Anyway, it's downloadable at 
http://sprite.student.utwente.nl/~jeroen/projects/s1mp3/loadram-0.1.tgz , 
and it includes 2 test programs which write a pattern to the LCD.

Jeroen



More information about the s1mp3-dev mailing list