Search This Blog

Friday, May 21, 2010

Where Was I? Oh, Yeah, a Bootloader!

    I've been pretty busy with work.  Had to write some really complex business logic **** Had to remove this rant.  Details of work are confidential ... But enough of work.
    I put down the chips for far too long.  Been working nights or not on the comp at all.  Now, I'd like to get back to it.  I got sidetracked with the whole SD card read/write thing.  Wound up doing a lot of chip math to calculate where to put my bytes or find them again.  There are lots of good FAT libraries out there.  I, of course, wanted to do the whole thing myself in asm.  *martyr*  The idea was to have the pic write to a file that would have a directory entry, fat entry, etc., so a computer could mount the SD card and see the file.  That has gotten a little too tedious for me.  After all, this is just a hobby.  If it ain't fun... well... I'm a programmer, I can't give up.  I'll just put it aside and do the next self-imposed challenge.
    The next self-imposed challenge is actually something I started and got side-tracked: the bootloader.  I'm going to gear myself back into that.  It would be cool to be able to reprogram my chip without taking it out of the board.