Add to 11U68 11E68

Dependencies:   DirectoryList MODSERIAL mbed

Fork of ika_shouyu_poppoyaki by Tedd OKANO

Committer:
okano
Date:
Fri Sep 20 00:40:08 2013 +0000
Revision:
28:689c3880e0e4
Child:
29:96e28bc1bd99
made function returns error. LED1 and LED2 assigned to toggle by TX and RX

Who changed what in which revision?

UserRevisionLine numberNew contents of line
okano 28:689c3880e0e4 1 #ifndef MBED_ISP__ERROR_CODE__
okano 28:689c3880e0e4 2 #define MBED_ISP__ERROR_CODE__
okano 28:689c3880e0e4 3
okano 28:689c3880e0e4 4 enum {
okano 28:689c3880e0e4 5 NO_ERROR = 0x00,
okano 28:689c3880e0e4 6
okano 28:689c3880e0e4 7 ERROR_AT_TARGET_OPEN,
okano 28:689c3880e0e4 8 ERROR_AT_FILE_OPEN,
okano 28:689c3880e0e4 9 ERROR_AT_SECTOR_ERASE,
okano 28:689c3880e0e4 10
okano 28:689c3880e0e4 11 ERROR_AT_MALLOC_FOR_WRITE_BUFF,
okano 28:689c3880e0e4 12 ERROR_AT_WRITE_COMMAND,
okano 28:689c3880e0e4 13 ERROR_AT_PREPARE_COMMAND,
okano 28:689c3880e0e4 14 ERROR_AT_COPY_COMMAND,
okano 28:689c3880e0e4 15 ERROR_AT_SENDING_CHECKSUM,
okano 28:689c3880e0e4 16
okano 28:689c3880e0e4 17 ERROR_AT_MALLOC_FOR_VERIFY_FILE_BUFF,
okano 28:689c3880e0e4 18 ERROR_AT_MALLOC_FOR_VERIFY_DATA_BUFF,
okano 28:689c3880e0e4 19 ERROR_AT_READ_COMMAND,
okano 28:689c3880e0e4 20
okano 28:689c3880e0e4 21 ERROR_DATA_DOES_NOT_MATCH
okano 28:689c3880e0e4 22 };
okano 28:689c3880e0e4 23
okano 28:689c3880e0e4 24 #endif