• fwrite of "cnt < 4-byte" data results in ARM_Flash_ProgramData (cnt = 4-byte)
    Problem Code: /* main.c */ uint8_t testBuf[] = {1, 2, 3, 4, 5}, FILE * fwr = fopen("tst1.txt", "w"); fwrite(testBuf, sizeof(uint8_t), sizeof(testBuf), fwr); fflush(fwr); fclose(fwr); /* flash_cmsis_driver...
  • Flash file system: fwrite not working
    Hello, fwrite is not writing to the file when implementing my own fputc to display debug messages on lcd and fwrite is writing on lcd not in file and without fputc fwrite is working fine. fwrite is...
  • RL-FLASHFS fwrite() causing Hard Fault !
    Hi Everyone I am hoping someone might be able provide me with some inspiration or something !! I have a problem within the application I am developing and am struggling to work out what is going...
  • ANOTHER retarget issue
    Hi All, I've been working my way through all the retarget.c threads on here today, trying to resolve the old Symbol __stdout multiply defined (by stdio_streams.o and retarget.o) Symbol __stding...
  • Retargeting: Return error from _sys_read()
    Dear all, The below implementation of _sys_read() returns an error code (a negative number, e.g. -7) if the underlaying file system functions indicates an error. The caller of _sys_read() (the C...