FLC Flash Memory Control. FLSH_ 0x40029000 0x00 0x1000 registers Flash_Controller Flash Controller interrupt. 23 ADDR Flash Write Address. 0x00 ADDR Address for next operation. 0 32 CLKDIV Flash Clock Divide. The clock (PLL0) is divided by this value to generate a 1 MHz clock for Flash controller. 0x04 0x00000064 CLKDIV Flash Clock Divide. The clock is divided by this value to generate a 1MHz clock for flash controller. 0 8 CTRL Flash Control Register. 0x08 WRITE Write. This bit is automatically cleared after the operation. 0 1 complete No operation/complete. 0 start_wr Start operation. 1 MASS_ERASE Mass Erase. This bit is automatically cleared after the operation. 1 1 complete No operation/complete. 0 start_me Start operation. 1 PAGE_ERASE Page Erase. This bit is automatically cleared after the operation. 2 1 complete No operation/complete. 0 start_pge Start operation. 1 WIDTH This field sets the width of a write to the flash page. Select between 128-bit (default) and 32-bit. 4 1 128_bit Flash is written to in 128-bit increments. 0 32_bit Flash is written to in 32-bit increments. 1 ERASE_CODE Erase Code. The ERASE_CODE must be set up property before erase operation can be initiated. These bits are automatically cleared after the operation is complete. 8 8 dis Flash erases disabled. 0 pge Enable Page Erase. 0x55 me Enable Mass Erase. The debug port must be enabled. 0xAA BUSY Flash Pending. When Flash operation is in progress (busy), Flash reads and writes will fail. When PEND is set, write to all Flash registers, with exception of the Flash interrupt register, are ignored. 24 1 read-only idle Idle. 0 busy Busy. 1 UNLOCK_CODE Flash Unlock. The correct unlock code must be written to these four bits before any Flash write or erase operation is allowed. 28 4 unlocked Flash Unlocked. 2 locked Flash Locked. 3 INTR Flash Interrupt Register. 0x024 DONE Flash Done Interrupt. This bit is set to 1 upon Flash write or erase completion. 0 1 inactive No interrupt is pending. 0 pending An interrupt is pending. 1 ACCESS_FAIL Flash Access Fail. This bit is set when an attempt is made to write the flash while the flash is busy or the flash is locked. This bit can only be set to 1 by hardware. 1 1 noerr No Failure. 0 error Failure occurs. 1 DONE_IE Flash Done Interrupt Enable. 8 1 dis Disable. 0 en Enable. 1 ACCESS_FAIL_IE 9 1 dis Disable. 0 en Enable. 1 4 4 DATA[%s] Flash Write Data. 0x30 DATA Data next operation. 0 32 ACTNL Access Control Register. Writing the ACNTL register with the following values in the order shown, allows read and write access to the system and user Information block: pflc-acntl = 0x3a7f5ca3; pflc-acntl = 0xa1e34f20; pflc-acntl = 0x9608b2c1. When unlocked, a write of any word will disable access to system and user information block. Readback of this register is always zero. 0x40 write-only ACNTL Access control. 0 32