Ika Shouyu Poppoyaki - LPC82x supported

Dependencies:   MODSERIAL mbed

Fork of ika_shouyu_poppoyaki by Tedd OKANO

Revision:
26:a63e73885b21
Parent:
24:9830b4f1207b
Child:
27:2b5c1eb39bb5
--- a/writing.cpp	Fri Sep 13 03:51:14 2013 +0000
+++ b/writing.cpp	Fri Sep 13 12:56:23 2013 +0000
@@ -18,6 +18,8 @@
         write_binary_data( fp, tpp->ram_size, tpp->sector_size, tpp->ram_start_address );
     else // UUENCODE
         write_uuencoded_data(  fp, tpp->ram_size, tpp->sector_size, tpp->ram_start_address );
+        
+    return ( 0 );   //  this is temporallry return code 
 }
 
 
@@ -106,8 +108,6 @@
     if ( NULL == (b     = (char *)malloc( flash_writing_size * sizeof( char ) )) )
         error( "malloc error happened\r\n" );
 
-    printf( "\r\n  ==== flash writing ====\r\n" );
-
     while ( size    = fread( b, sizeof( char ), flash_writing_size, fp ) ) {
 
         if ( !total_size ) {
@@ -157,7 +157,7 @@
     *p  = 0xFFFFFFFF - cksum + 1;
     printf( "  -- calculated checksum    : 0x%08X\r\n", *p );
 
-    printf( "     new checksum will be used to program flash\r\n" );
+    printf( "     new checksum will be used programing flash\r\n" );
 }