William Reynolds
/
LPC_Bootloader
main.cpp
- Committer:
- daugihao
- Date:
- 2011-09-27
- Revision:
- 0:15536fa79743
- Child:
- 1:0872c208795f
File content as of revision 0:15536fa79743:
#include "mbed.h" #include "LPC.h" SerialBuffered lpc(1024, p9, p10); int main() { //RESET CHIP TO LOAD TO BEFORE RUNNING PROGRAM!!! lpc.InitUART(230400); //Specified limit of 230400 baud lpc.ProgramFile("/fs/t.bin"); //Write your program name in this box with the prefix /fs/ (sometimes unstable with special characters and long names) } //To add new chips to load to, add a case to the switch function in ID.cpp, using the ID code and last sector number information