Hello,
I am trying FileSystem example on FRDM K64F. However I can't get it working without ULINK. It says I need it in order to get it working. Is there any work around? Can I use serial port instead to INPUT/OUTPUT commands. Any help will be appreciated! I just tried a simple printf but can't get it out to serial port or debug printf viewer.
Thanks again. I was able to figure out. I had to change to UART0. Now I can see IN/OUT but I have issue in INPUT. It doesn't flush the characters on ENTER. SO next time take last character entered. Below is my getc function and I use scanf to take string in.
int fgetc(FILE *f) { int ch; ch = stdin_getchar(); fflush(stdin); stdout_putchar(ch); fflush(stdin); return ch; }
Thanks again. What I found is it only happens if in debug mode. If I take out of debug mode and connect board through serial, then is no issue at all. I am using CMSIS-DAP as a debugger. As I said issue is only with input. I have core clock frequency set to 120MHz. Operating system is set to RTX Kernel. Do I need to do some other debug setting to avoid this mis-behavior?