William Reynolds
/
LPC_Bootloader
main.cpp
- Committer:
- daugihao
- Date:
- 2011-09-30
- Revision:
- 5:6134277e4d57
- Parent:
- 1:0872c208795f
- Child:
- 7:d0f98d61ec4c
File content as of revision 5:6134277e4d57:
#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(); } //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