This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

is writing ready flash this involved?

I was reading up on the flash eeprom and best I can tell for the stm32f chips this is needed.
micromouseusa.com/

Has Keil mdk5 not provided a simple function?

Parents Reply Children
  • I found a project of some help.

    github.com/.../eepromConfig.h

    It compiles all but he flash erase.

    flashErase.NbPages=1;//error no member flashErase.Banks = FLASH_BANK_1; flashErase.PageAddress = _EEPROM_FLASH_PAGE_ADDRESS; //error no member flashErase.TypeErase = FLASH_TYPEERASE_PAGES;

    and FLASH_TYPEERASE_PAGES does no exist.

    flashErase has;
    voltageRange
    nbSectors
    sector

    guesssing nbSectors/sectors and nbPages/PageAddress interchangeable?
    and how can I find the missing define FLASH_TYPEERASE_PAGES
    what would I use for a voltageRange?