Skip to main content
kiran kanchi
Associate III
August 10, 2018
Question

Cannot flash STM32F769I Disco in Keil MDK5 with 'Erase sectors' in Flash Download. Erase full chip works!

  • August 10, 2018
  • 2 replies
  • 1844 views

Hello,

i am facing problem with flashing my STM32F769I Disco.

the flashing works when i change to erase full chip instead of sector erase on Keil MDK 5.

Full chip erase takes longer time as usual and i dont prefer full erase every time.

The project is a standard one from keil, refer the attached picture.

kindly let me know proper target settings to use Sector erase(which works when project is generated through cubeMx) for flashing.

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    August 10, 2018

    Load one of the example projects under the HAL/Cube trees, they should build and download without problem. Default setting erase blocks as required.

    Anything else plugged into the F769I-DISCO board?

    Try a different USB cable, try a different USB port, try a different computer.

    Check voltages on the board.

    Check current firmware on ST-LINK.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    kiran kanchi
    Associate III
    August 26, 2018

    hi clive,

    -nothing else is plugged into the f769

    -yes, i have tried different cables, i mean same cable works for project generated through CubeMx without problems.

    -Voltages are stable

    -Current ST-Link firmware is up to date .

    i seem to be missing some debug or flash settings in target config of Keil. can't figure which one yet.

    Could you please try with your setup if you have ? take an example from keil itself and flash.

    Thanks.