2024-11-15 02:47 PM - edited 2024-11-17 08:51 AM
This post can be removed as I found out what was wrong...
But otherwise when you want to do DDR tuning some experienced quirks:
- RTFM twice!
- Make sure the target board is in Engineering Boot Mode!!
- Notices that latest CubeMX and STM32CubeProgrammer (2.17) does not find the path to the .._CLI even after setting it in CubeMX. Using an older version (2.16) did work.
- Besides the wiki, it is necessary to check the community too just to make sure you have the latest info. In the wiki there was mention of the U-Boot SPL to use. Then moment later the community post revealed that it was depreciated. So I got a copy of the DDRFW package from GitHub.
- The DDRFW package could generate a problem when building the software. I traced it back to a python script used as post build command. Installing `python-is-python3` solved that problem.
I managed to get the firmware running using STM32CubeIDE and debug mode. The use of the binary with CubeMX and CubeProgr (Tools/DDR Test Suite) needs to be tested again. At least using CubeIDE worked and I could see the DDR> prompt and do some testing.
> Wiki is sometimes missing articles that are under construction. Please update.
> It would be nice to bundle the Q&A that is only relevant for the latest release or label the posts as being for which release.