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.

Runs Flash API v2.10 (F2812) properly with enabled Flash Pipeline?



Hello,

I'm using the Flash API v2.10 for the F2812 in my own bootloader to program the main application.

The main application enables Flash Pipeline mode to improve performance of code executed from Flash (FlashRegs.FOPT.bit.ENPIPE = 1).

After reset the Flash Pipeline mode in bootloader is OFF, after a jump back from main application back to bootloader the Flash Pipeline mode is ON.

May this been a problem for Flash Erase- and Program-routines if the Flash Pipeline is enabled?

Thanks,
Robert

  • Robert,

    Pipeline mode is provided to improve the performance of code execution from flash. It will not do any good to flash erase or program routines.

    so, please refrain from enabling the pipeline when performing flash erase / programming operations.

    Regards,

    Manoj

  • One note - it is ok to have pipeline mode enabled when you program or erase - but there is no requirement to enable it and no advantage - it will not change the time it takes to program or erase.  If it is already enabled before a program/erase, you can leave it enabled.

     

    Cheers,

    Lori