We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello All,
I am trying to write data into flash which i need to copy it to the SRAM later. I am doing this in assembly and this is part of the code i am trying to use.
I have provided the addresses of the FMD, FMA and FMC registers needed for flash programming and then I am copying those addresses into the registers r8,r9 and r10.
My question is how do i now load data values into the addresses pointed by the registers r8,r9 and r10? As you can see, I am clearly wrong somewhere and need assistance!!
FMD EQU 0x000000ABFMA EQU 0x000000DCFMC EQU 0x000000FF....LDR R8, =FMDLDR R9, =FMALDR R10,=FMCMOV32 [R8], #0xF0F0F0F0MOV32 R9, #0x00000000poll MOV32 R10,#0xA4420001BNE poll
Thanks!!
BR,\ksnf3000
Some flash has unlock cycles to write the data and it can't be directly overwritten.