2007-01-09 03:20 PM
2005-08-25 12:41 AM
Hi,
We are using in our project the STR710FZ2T6-Processor and have the Problem with the in-circuit programming (programming the internal Flash): We are trying to program data into B1F0/B1F1(Bank1) while the program is running in B0Fx(Bank0). Before we start to update our data to Bank1, we try to erase the sector B1F0/B1F1 via sectorerase. Any attempt do do this failed, also to write in an erased sector B1Fx! (-> we hook on an undefined instruction exception (?invalid Data 0xE6000010?)) The Flashprogramming-Manual says, that is possible ''The write operation commands must be executed from another bank or another memory (internal RAM or external memory)'' If our program is running in external Memory the programming of Bank1 is successful! Is there a mistake in Flashprogramming-Manual? Is there any workaround or solution to fix the problem ? regards, CEL-Team PS: The same problem was posted by bazzer at 18-04-2005 at 09:512005-08-25 01:45 AM
Hello,
Please find attached the Flash example, it work fine. This code runs from the Flash bank 0 and writes some data to the sector 0 of the Flash bank 1. Best regards, Bouha ________________ Attachments : flash_example.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtOx&d=%2Fa%2F0X0000000aPV%2FkTxAhF0PbkzXtYbg_h3qXnWWXuz6Zn7ESQ1mLjbawHM&asPdf=false2005-08-29 08:47 PM
Hi,
I have the same problem, but I have not still tried to solve it. Is it a problem of thumb mode? Are you in thumb mode ? regards, Ludo2005-08-29 09:24 PM
Hello,
No I'm not in Thumb mode, I think it's a problem of waiting for the last operation. Best regards, Bouha2007-01-09 03:20 PM
you should disable interrupt and disable bank1 write protection, you will be ok ! :D