Other Parts Discussed in Thread: HALCOGEN
I have written a simple program to create and write to a file on the host from my target:
FILE *fout;
int main() {
int n;
fout = fopen ("out.txt", "wt");
for (n = 0; n<20; n++) {
fprintf (fout, "n = %d\n", n);
}
fclose (fout);
return 0;
}
The file "out.txt" gets created on the host, but when it tries to write to the file, I guess that I am getting an exception since when I halt the cpu, it is here:
prefetchEntry
b prefetchEntry
b _dabort <=====
Any idea what I need to do to get this to work?
mark.