Hello, I've written a Perl script that will update the StellarisParts struct in src/flash/nor/stellaris.c with the latest collection of recognizable Stellaris chip IDs. It requires TI/Luminary's "StellarisWare complete Firmware Development Package," available from here: http://www.luminarymicro.com/products/software_updates.html
The Perl script takes the directory that contains the chip-specific include files (usually SW-LM3S-####/inc) and the location of your stellaris.c file as arguments. Originally, the Perl script would just generate a standalone struct, but I couldn't figure out how to turn that into a patch without manual intervention. The current version of the script will generate the new struct in memory, then read stellaris.c into memory until it gets to the StellarisParts struct, substitutes the new struct, and reads the remainder of the file. Then it reopens the file for writing and overwrites it. It's probably not the best way, but it works. Best regards, ~Eric Wetzel
stellaris-part-header.pl
Description: Binary data
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
