2007-05-23 05:33 AM
2007-05-23 05:33 AM
I have been erase all flash, and now i whant program it.
I have execute that mov R7,02h exts 0eh,1 mov R6,[R7] bset R6.7 exts 0eh,1 mov [R7],R6 mov R7,02h exts 0eh,1 mov R6,[R7] or R6,02000h exts 0eh,1 mov [R7],R6 mov R7,10h mov R6,0 exts 0eh,1 mov [R7],R6 mov R7,12h mov R6,01h exts 0eh,1 mov [R7],R6 mov R7,08h mov R6,0aa55h exts 0eh,1 mov [R7],R6 mov R7,0ah mov R6,0aa55h exts 0eh,1 mov [R7],R6 mov R7,02h exts 0eh,1 mov R6,[R7] or R6,08000h exts 0eh,1 mov [R7],R6 But after this istruction flash is the same before like 0xFFFFFFFF I don't understand for what... my code is ok ? Thanks :o