Product Information

 Register Once for
 custom product info



When using the ML674000 CPU board in Normal Mode, I cannot seem to access the Flash memory part 0xc820_0000. The memory that I see at that address seems to be a mirror of the SRAM memory.

Descriptive Answer:
To be able to access the flash, you need to first set the PIOA[10:14] to their secondary functions which are XA[19:23]. This is due to the fact that the chip is connected to these high address pins. To do this, you will need to set the Port Function Select Register (GPCTL=0xB7000000). Simply write a '1' to the 2nd bit (GPCTL2) of this register.
ยป  0xB700 0000 |= 0x4
Now if you access the Flash addresses, you'll be able to see the flash chip. For a detailed description of the GPCTL register refer to Ch12 of the ML674000 Users Man.