Hi
I am using the F035 Flash API library on the TMS570. So far it has been working well - I have been able to successfully erase and program using the library and now I have
unfortunately come across a problem. I have a Bootloader code that runs in Bank 0 of Flash. When running in Bank 0 I can successfully erase and program
sectors in Bank 1, 2 and 3. However if I am running in Bank 1 of Flash, I can successfully erase sectors in Bank 2 and 3, but not in Bank 0.
When I call the Flash_Erase_B function, an ABORT (prefetch) interrupt is triggered. According to the TMS570 tech ref manual, an ABORT is triggered if an access is made
to 1.) an illegal address, 2.) a protected address, 3.) or a valid address with an ECC error.
I have all ECC checking turned off, and I have also have not turned on any of the Flash protection registers and I really can't see how passing in a Bank 0 sector start address
could be deemed as an illegal address.
In conclusion, do you have any idea what might be causing this to occur. Like I mentioned all F035 Flash API functions work well on every bank except Bank 0.
Many Thanks
Kieran