i'm not sure what uC is and its hard to picture exactly what your aiming for (i guess its commercially sensitive) however, if your talking along the lines of running from a pic this might give you some ideas
http://www.mycncuk.com/forums/diy-pr...-indexing.html

iv just splashed out on a pickit3 programmer... haven't got a clue what i'm doing at this point (besides making LED's blink)
I might have a go at building something along the "indexing" lines when iv got over the "hello world" side of programming :)