Part Number: TMS570LC4357
Tool/software: Code Composer Studio
hello
I am implement a file system.
now I have success to implement the "FLASH_open()", "FLASH_close()", "FLASH_write()" and so on.
call the function "add_device("flash_disk", _SSA, FLASH_open, FLASH_close, FLASH_read, FLASH_write, FLASH_lseek, FLASH_unlink, FLASH_rename)"
when I call the fopen(), it can execute the FLASH_open();
when I call the fread() and fwrite() function , it can't execute the FLASH_read() and FLASH_write(); but when call it again, it will execute the "FLASH_read" and "FLASH_write" two times.
can you give me some advice?