I have a boot loader that uses the F021 flash API. This works fine on my old hardware with early silicon but when I loaded it on a rev B silicon device I found that the flash erase function does not erase the flash (in both the m3 or c28)
I was using F021 v1.50 - so I downloaded F021 v1.53 and rebuilt.
With this I can successfully erase the flash on the revB part in both the m3 & c28.
The code download to the c28 work fine.
But when writing to the m3 flash it hangs in Fapi_issueProgrammingCommand() at random places in the download. I tried the new code on the older silicon and get the same result. When it hangs the function never
I am running the m3 at 75MHz & the c28 at 150MHz off a 30MHz xtal.