/* This function is used to write data to flash in OneBitMode and User Mode, and lock CPU when write.  */
IMAGE2_RAM_TEXT_SECTION void FLASH_TxData12BXIP(u32 StartAddr, u8 DataPhaseLen, u8 *pData)
/* This function is used to write data to flash in OneBitMode and User Mode, and lock CPU when write.  */
IMAGE2_RAM_TEXT_SECTION void FLASH_TxData12BXIP(u32 StartAddr, u8 DataPhaseLen, u8 *pData)
{
	FLASH_Write_Lock();
	FLASH_TxData12B(StartAddr, DataPhaseLen, pData);
	Cache_Flush();
	FLASH_Write_Unlock();
}