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

Parents
  • 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

Reply
  • 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

Children
No data