Amit,
I think the problem is that you are erasing within Flash Bank B (010000h-01FFFFh) while trying to execute code from the same bank (copy function is at 0x1A000). Looking at the family user’s guide (http://www.ti.com/lit/ug/slau208m/slau208m.pdf), it seems read and fetch from Flash is allowed during erase in a *different* bank only, but not from within the same bank where an erase is being performed. I’m not positive this is the issue, but that is how I interpret the docs.
One other question (if the above is not the issue, or if you change the partitioning of Flash)… is what are you doing before overwriting the Flash where the application is running from? Are you maybe disabling interrupts to prevent the active application (and interrupts?) from trying to use Flash that is being reprogrammed?
Thanks,
Scott
↧
Forum Post: RE: MSP430F5438A continusously runs the func During Firmware Update with SYSBIOS
↧