The software platform vxworks6.9
In adaptation, 128 m as TFFS nor flash file system, the following problems:
1. The flash can be normal formatting is 128 m, but read and write data every 16 m repeated problems (such as 0000 ~ 0 0 x0000 x0100 0000 data and 0 x0100 0000 ~ 0 x0200 0000 identical),
Consult BBS bosses have encountered this problem?
CodePudding user response:
During the random writing TFFS to rand (), use the read data in a read TFFS as shown
CodePudding user response:
For bosses to helpCodePudding user response:
The number is written in operating sectors directly or via the file system to create the file, then check the position of the sector file read sector get again?If is written into direct operation sectors, consider:
1, check the BSP sysFlashWrite function operation process is not correct, when a slice operation to other area
SysSectorErase function called 2, try to erase a certain sectors, to see if there will be other sector be erased phenomenon at the same time, if any, in piece of CPU try again
CodePudding user response:
Is written by the file system to create the file in; Without file system when writing is normal, as long as written by file system will be the above problems