MC60 Flash reboot issue

Hello!

So I came across the following issues while using user flash system of MC60 open cpu. If I fill the flash up to the point where it is almost full (103424 bytes used or more), then during a readout the system sometimes reboots. I know, sometimes sounds dreadful, but It really is quite sporadic. It’s been impossible so far for me to trace what exactly triggers the reboot, as I don’t get any info in my custom made fault function. I thought perhaps using ADVANCE_MODE debugging, but can’t seem to find the catcher tool in download zone.

Also, another but related question, is about how to use Ql_FS_Format function, because it doesn’t seem to do anythin when called with Ql_FS_UFS, I get QL_RET_ERR_PATHNOTFOUND and ufs is not formatted. I am not sure what path it requires? Full format QL_FS_FAT works, but before I get the return code CPU reboots. Is this normal behavior?

Hi
ufs will be used when the module is working, so don’t overfill ufs, if your ufs is too full, the module will cause a dump when using ufs.
QL_RET_ERR_PATHNOTFOUND indicates that the file path is not found. There may be a problem with the path you entered or the file does not exist.
The Ql_FS_Format interface will format ufs and clear the files you created