8 years, 5 months ago.

LPC1768 overrunning no cotrol

Dear All Please show me the reset. When I write the bin file on LPC1768 mbed. The program is running well. And this can stop by reset pin. But, On PC no display of mbed file and can not rewrite another file on it. How do I do? Please show me How/

--------

  1. include "mbed.h" LocalFileSystem SeqFile("Local"); int main() { FILE *fp; printf("START\n"); wait(0.1); int i = 1; while(1){ fp = fopen("/Local/TEST.csv", "r"); if(!fp){printf("error %d",i); exit(1); }else{ printf("%d\n",i); fclose(fp); } wait(0.1); i++;} }

1 Answer

8 years, 4 months ago.

Read this section:

https://developer.mbed.org/handbook/LocalFileSystem

It will explain what is happening and how to fix it.

Mike