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

help me adapt this STM32H external flash loader algorithm for Keil

Hi,

I have developed the application, and It can read, write, erasing the external SPI flash attached to a STM32H750 part, Now I want to adapt it for keil to be able to use for external flash programming,

I have modified the example in the Pack for STM32H743I-eval_FMC

.\Target.lin(29): warning: L6329W: Pattern FlashDev.o(RO) only matches removed unused sections.

How should I resolve the warning, also as I put the generated *.FLM file in the C:\Keil_v5\ARM\Flash folder, the keil would not detect it in the external loaders,

any Advise is highly appritiated.

get the project files from this link

https://gofile.io/d/x7gZmV

thanks

  • Progress

    I have manage to update the project, so now it does not have any warning and it can be detected with keil tools, the problem for now is that it would give flash time out,

    can we debug this kind of project?

    Also can we have the STM32H750-DISCO flash loader project to take a look at, so I can modify it to my flash used.

    you can take a look at the updated project from this link

    https://gofile.io/d/2C10TZ

  • I have removed every thing from the Init,UnInit,EraseChip,EraseSector,ProgramPage functions, and just add one return 0

    Now when I try to use it, the keil would through time out error,  shouldn't it just say program finished succefuly!

    Also I add some simple codes to turn a LED on and off in Init function for my second test, to see if keil would actually call this function when trying to flashing external flash, Nothing happens! 

    any Ideas?

    Thanks

  • Hi, mike morgen.

    Have you solve your problem? I also use the STM32H743I-eval_FMC as reference project for creating the flash loader algorithm for my custom board.