Code to load a LPC1114 over tx/rx. I have only tested with a 1114 chip but it should work with other LPC uControllers

Dependencies:   DirectoryList MODSERIAL mbed

Fork of ika_shouyu_poppoyaki by Tedd OKANO

Files at this revision

API Documentation at this revision

Comitter:
okano
Date:
Fri Sep 20 02:26:57 2013 +0000
Parent:
30:e0d7524661ca
Child:
32:3700d5df4e18
Commit message:
cleaner code :)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Sep 20 02:21:58 2013 +0000
+++ b/main.cpp	Fri Sep 20 02:26:57 2013 +0000
@@ -48,19 +48,16 @@
         error( "  ** ISP failed\r\n" );
 
 #ifdef  AUTO_PROGRAM_START
-    //set_target_baud_rate( TARGET_OPERATION_BAUD_RATE );
-    //reset_target( NO_ISP_MODE );
-    
+
     start_target_in_normal_mode( TARGET_OPERATION_BAUD_RATE );
 
     printf( "  ** The program in flash has been started!!\r\n" );
+    
 #endif
 
     printf( "     (now the mbed is working in \"serial through mode\")\r\n\r\n" );
-
-//    success.attach( &success_indicator, 0.1 );
+    
     start_success_indicator();
-
     usb_serial_bridge_operation();  //  doesn't return. infinite loop in this function
 }