IJFW - IchigoJamのBASICプログラムをメモリカード(MMCまたは互換カード)に保存したり読み出したりできるプログラム。メモリカードにファームウェアのファイルを置くだけで、電源ON時に自動的に書き換える機能も搭載(一応こちらがメイン)。LPC1114FN28専用。
参考URL http://www.cyberchabudai.org/index.php/entry?tag=IJFW
UartIsp/UartIsp.h
- Committer:
- oks486
- Date:
- 2016-04-28
- Revision:
- 0:43cce7b453d0
- Child:
- 1:11f73f269fdc
File content as of revision 0:43cce7b453d0:
#ifndef UART_ISP_H #define UART_ISP_H #include "mbed.h" #include "UartIspBase.h" #include "FatfsIJFW.h" class UartIsp : public UartIspBase { public: enum ISP_RESULT { NOERROR, ERR_FILE_OPEN, ERR_SYNC_MCU, ERR_UNLOCK_FLASH, ERR_FILE_READ, ERR_WRITE_TO_RAM, ERR_COPY_TO_FLASH, }; UartIsp(RawSerial* _serial, FatfsIJFW* _fs); virtual ~UartIsp(); virtual void writeSerial(const char val); virtual char readSerial(); virtual int readable(); virtual void sleep(int msec); ISP_RESULT runUartIsp(const char* filename); protected: RawSerial* serial; FatfsIJFW* fs; char* buffer; }; #endif