This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Dear expert,
My customer is developing LFU, he reserve 8 words of flash for updating flag. When the host send command, the 8 words will change to zero( it will erase flash first, and then write). When they add or delete some static variables, the writing flash will failed. Below is the code, please help to check this issue.
Angela, I will request a team member to look into this issue. You can expect a reply by Monday.
Thanks,
Sira
Hi Angela,
Is the customer using a modified version of the serial_flash_programmer.exe ? Also, what are the static variables that are added/deleted to see the flash writing issue?
Thanks and regards,
Charles
Hi Charles,
A new information from customer is the issue maybe is not related with the static variables, it will happen even there is no change about variables. He use our flash API ,not serial_flash_programmer.exe. But he did not erase the flash first, but modify the flash directly. What will happen if they modify the flash directly?
Hi Angela,
If the customer did not erase the flash first and there was prior programming (non-overlap) it will still be present on the device. If no errors were spotted during a program (both programs existing), then you could see the code not behave as expected. Is there a reason why the customer cannot first erase the previously program? I see that flash memory range for sectors CDEF is used in the linker command file. What was first programmed by modifying the flash directly?
Thanks,
Charles