Ika Shouyu Poppoyaki - LPC82x supported

Dependencies:   MODSERIAL mbed

Fork of ika_shouyu_poppoyaki by Tedd OKANO

Committer:
okano
Date:
Thu Sep 26 11:51:03 2013 +0000
Revision:
34:eaca33d3e632
Parent:
33:ce9fff4cbf09
Child:
35:0b434ef4af49
[1]; fix: verification function was having a bug. 3/4 of the code was having chance of verification fail.; ; [2]; "ENABLE_WRITING" option added (see "_user_setting.h"). Verifying-only operation can be done with disabling this word

Who changed what in which revision?

UserRevisionLine numberNew contents of line
okano 29:96e28bc1bd99 1 #ifndef MBED_ISP___USER_SETTINGS__
okano 29:96e28bc1bd99 2 #define MBED_ISP___USER_SETTINGS__
okano 26:a63e73885b21 3
okano 26:a63e73885b21 4
okano 25:33cb5ad8ae24 5 #define SOURCE_FILE "/local/bin"
okano 25:33cb5ad8ae24 6
okano 25:33cb5ad8ae24 7 // "ISP_BAUD_RATE" is baud rate for ISP operation
okano 25:33cb5ad8ae24 8 #define ISP_BAUD_RATE 115200
okano 25:33cb5ad8ae24 9
okano 33:ce9fff4cbf09 10
okano 25:33cb5ad8ae24 11 // "TARGET_OPERATION_BAUD_RATE" is baud rate for USB-serial bridge operation after
okano 25:33cb5ad8ae24 12 // ISP completion.
okano 25:33cb5ad8ae24 13 // if the target application uses serial(UART) and you use the bridge feature,
okano 25:33cb5ad8ae24 14 // please set this value correctly.
okano 26:a63e73885b21 15 #define TARGET_OPERATION_BAUD_RATE 9600
okano 25:33cb5ad8ae24 16
okano 33:ce9fff4cbf09 17
okano 26:a63e73885b21 18 // enable "AUTO_PROGRAM_START" to let target starts the program after flash writing complete
okano 26:a63e73885b21 19 #define AUTO_PROGRAM_START
okano 26:a63e73885b21 20
okano 26:a63e73885b21 21
okano 34:eaca33d3e632 22 // disabling "ENABLE_WRITING" can be used for "verification only" operation.
okano 34:eaca33d3e632 23 #define ENABLE_WRITING
okano 34:eaca33d3e632 24
okano 34:eaca33d3e632 25
okano 33:ce9fff4cbf09 26 // enable "ENABLE_VERIFYING" to let perform verification by comparing "bin" file and flash read data.
okano 33:ce9fff4cbf09 27 #define ENABLE_VERIFYING
okano 29:96e28bc1bd99 28
okano 33:ce9fff4cbf09 29
okano 33:ce9fff4cbf09 30 // enable "CHECK_CRP_CODE" to check the CRP (Code Read Protection). The ISP writing will be ignored if "bin" file has CRP code.
okano 33:ce9fff4cbf09 31 #define CHECK_CRP_CODE
okano 33:ce9fff4cbf09 32
okano 33:ce9fff4cbf09 33
okano 33:ce9fff4cbf09 34 #endif // MBED_ISP___USER_SETTINGS__
okano 33:ce9fff4cbf09 35