5 Replies Latest reply on Sep 28, 2016 12:17 AM by HolgerW_56

    Main flash programming problem


      I have FM4-216-ethernet board and tried to compile and debug example "FM_PDL_2.0.1\example\flash\fm4\type1_6" using keil v5. But when program entered in to MFlash_SectorErase function it stopped. 


      this line executed ----   FM_FLASH_IF->FASZR = 0x01u;


      after that (at line u8Dummy = FM_FLASH_IF->FASZR;  ) program jumped to 0xfffffffe addr and freezed.


      Where problem may be? Where is my mistake?