Closed nonNoise closed 6 years ago
OK!!! It worked!!
I asked the Japanese mbed forum. https://os.mbed.com/forum/ja/topic/28061/?page=1#comment-53355
When writing with USB ISP without using CMSIS-DAP or DAPLink, it is inevitable to write checksum to bin file.
I wrote checksum to the bin file in the following way https://github.com/basilfx/lpc_checksum Blink worked successfully.
(Perhaps other lpcu 37 and LPC 1768 may have similar problems)
LPC11U35 does not work well?
The binary file output by Platform.io is 3.3 kB (3,304 bytes), But, output by Web Compile is 8.7 kB (8,652 bytes).
Don't run Program.
Version:
PlatformIO, version 3.4.1
Board:
https://os.mbed.com/platforms/EA-LPC11U35/
Code:
include "mbed.h"
DigitalOut myled(LED1);
int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }
platformio.ini:
[env:lpc11u35] platform = nxplpc board = lpc11u35 framework = mbed