User Activity

static void EEPROM_WriteBytes(u32 Addr, u8 *Buffer, u16 Length){u8 *wAddr = NULL;wAddr = (u8 *)Addr;DIS_INT;FLASH->PEKEYR = PEKEY1; // unlock     // this is Program stuckFLASH->PEKEYR = PEKEY2;while(FLASH->PECR & FLASH_PECR_PELOCK); // wait PELOCK se...