#include<stdio.h>
int main() { unsigned char buff; FILE *fp = fopen("Hi.txt","r"); FILE *out = fopen("Hi1.txt","w"); while(!feof(fp)) { fread(&buff,1,1,fp); fprintf(out, "%d ,",buff); } fclose(fp); fclose(out); return 0; }
This code i am able to run on MingGW. But on Keil i am able to compile only but not able to Debug Why?
Consider creating a Flash Algorithm applet, see \Keil\ARM\Flash for other examples. Then commands like "LOAD" should work in the debugger.
Other alternatives are to implement X/Y-Modem and drivers for your memory, and download files to the target from your terminal app.