Hi,
The following code is based on the asm from https://community.freescale.com/message/354833#354833
nDATA0 EQU 0x20
nDATA1 EQU 0x06
DATA0 EQU nDATA0:AND:0x3F
DATA1 EQU nDATA1:AND:0x0F
; </h>
AREA |.ARM.__AT_0x100003F8|, CODE, READONLY
DCB 0xFF, 0xFF, 0xFF, 0xFF, DATA1, DATA0, 0xFF, 0xFF
END
0x06 ends up in 0x100003FC and 0x20 in 0x100003FD this should be correct according to chapter 30.3.3 Data flash IFR map.
In the FlashInit command reads of FCCOBA register for EEEDataSetSize and FCCOBB register for DEPartitionCode. These registers are set to FF and not 0x06 and 0x20. This results in DFlash size 80000hx. Expected result is 40000 and 40000
Any Ideas?