Skip to main content
Graduate II
April 18, 2024
Question

can this article be used to write external loader OSPI for Keil?

  • April 18, 2024
  • 1 reply
  • 1017 views

here is the application note from Keil

https://developer.arm.com/documentation/kan333/latest/

 

but it refers to QSPI

I wonder if it would be the same to follow and make external loader in Keil for OSPI (this is the memory chip MX25LM51245GMI00)

the first problem I see is link on page 7 to QSPI drivers

GitHub - STMicroelectronics/stm32-external-loader at contrib

but I cannot find how to replace it with drivers for OSPI, I do not see any drivers for OSPI

 

ST seems to be slow to do some more tutorials

    This topic has been closed for replies.

    1 reply

    Graduate II
    April 18, 2024

    >>ST seems to be slow to do some more tutorials

    They are kind of in the business of selling chips, not teaching embedded sw engineers how to do their jobs.

    Sure they could make things easier, but I can understand why it doesn't happen. Some of the videos are long and awful and don't really approach the problem correctly, IMHO. There's been a use of HAL where most of the shipped loaders used a much simpler/cleaner SPL approach that nobody wanted to admit existed.

    There should be BSP code for ALL the EVAL/DISCO boards covering the QSPI/OSPI/HSPI/XSPI stuff, and components ST uses. Support for the MX25LM51245's is in there. Orders of magnitude more flowery than necessary, but there.

    The ST/Keil STM32U5 packs have source and buildable .FLM for this chip, in an OSPI context for EVAL/DISCO/DK boards. Pulled the STM32H7 packs, in there too.

    MNapiAuthor
    Graduate II
    April 18, 2024

    I am not doing it for living so my knowledge is a little limited just a few hobby projects. I know enough to figure it out sooner or later. I do not want to spend like a few weeks on this. Once I have some nice board with flashing LEDs and LTDC

    Writing data to SD etc.

    I do not know what else to do with it. Maybe build some robot.