This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C129 Flash Erase FaultISR issue.

Other Parts Discussed in Thread: TM4C129ENCPDT

Dear all...

My firmware will show FaultISR when call FlashErase API, if I change the system clock to 60MHZ (From 120MHZ--->60MHZ), the FaultISR issue will fix. I read the datasheet for TM4C129ENCPDT and find there is the MEMTIM0 register for flash, i think this register value should change to fix the FaultISR issue, is that correct?

If yes, is there any API could change the MEMTIM0 register? Thanks:-)

  • As far as I am aware the SysCtlClockFreqSet API sets these timing register automatically according to your specified frequency setting. You can verify this by either viewing or reading the register contents for FBCHT, PBCE and FWS and verify if they are correct as specified in table 8-1 after running SysCtlClockFreqSet.
  • Hello Walter,

    The SysCtlClokFreqSet API as you mentioned takes care of setting the correct registers in the correct sequence. If you are doing the sequence in your own code, then I may suggest the same to be handled by the API

    Regards
    Amit