tinyul

tinyul is a replacement for the Windows application that talks to the Tiny PIC Bootloader. It has been tested on a PIC18F452 microcontroller and can be reasonably assumed to work on most of the 18F series. If you get around to testing it on devices other than the 18F, please let me know how things went!

- Thomas Themel <themel0r@wannabehacker.com> 2006-08-05

Usage

tinyul is the actual application you'll be using. fake-pic is a development helper application that emulates a PIC over a serial line. If you want to change the default settings (like the default serial port or baud rate), you should have a look at the top of tinyul.c, or write a config file parser and send it back to me. Thanks!

Using it should be pretty straightforward, have a look at --usage. Here is a couple of examples:

themel@sophokles:~/picery/tinyul$ ./tinyul -i 
Attempting to contact PIC on `/dev/ttyUSB0'...
PIC identified itself as 0x41.
PIC Type: 18F252/18F452/18F2520/18F4520
Flash size: 32768 (0x8000) bytes

themel@sophokles:~/picery/tinyul$ ./tinyul led.hex  
Attempting to contact PIC on `/dev/ttyUSB0'...
PIC identified itself as 0x41.
PIC Type: 18F252/18F452/18F2520/18F4520
Flash size: 32768 (0x8000) bytes
Writing 64 bytes at 0x0000: OK
Writing 64 bytes at 0x0040: OK
Writing 64 bytes at 0x0080: OK
Writing 64 bytes at 0x00c0: OK
Writing 64 bytes at 0x0100: OK
Writing 64 bytes at 0x0140: OK
Writing 64 bytes at 0x0180: OK
Writing 64 bytes at 0x01c0: OK
Writing 64 bytes at 0x0200: OK
Writing 64 bytes at 0x0240: OK
Writing 64 bytes at 0x0280: OK
Writing 64 bytes at 0x7f00: OK
Done!

Download

attachment:tinyul-svn65.tar.gz

themel: tinyul (last edited 2008-11-03 17:38:38 by themel)