2024-12-01 04:59 PM
Hello STM-Guys,
There's a bug in X-CUBE-AZRTOS-H7 V3.3.0, which affects the memory assignment.
I declared the following memory assignment:
This generates the attached "STM32H723ZGTX_FLASH.rar" file. The memory declarations are in the file, but those are not used in the generated code file "app_azure_rtos.c." Not only is it not used for the "Tx_Pool_Buffer" and "Fx_Pool_Buffer" declarations, but it's also wrong for the "NX_Pool_Buffer" declarations.
I don't even want to discuss the format of the linker script file; it's absolutely messy. The indentations are off, and nothing is in any order.
2024-12-01 11:31 PM
Hello @Intector
Could you please add your .ioc file.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-12-02 07:38 AM
Hey @STTwo-32 ,
I restarted my project because I ran into some other issues. The Octo-SPI and external PSRAM aren't working on the STM32H723. I followed the example in "AN5050—Getting started with Octo-SPI, Hexadeca-SPI, and XSPI interfaces on STM32 MCUs," what can I say, It's a mess. The example uses the function "HAL_RCCEx_OCTOSPIDelayConfig," which is called in the "DelayBlock_Calibration" of the example. Unfortunately, this HAL function does not exist. There's a trail in this community where other people tried to use the example and experienced the same issue.
This one blows all the other ones out of the water:
APS6408L-3OBM-BA RAM not working with stm32h723 pr... - STMicroelectronics Community
In this one here, people are at least trying to help:
Solved: Unable to read reset values of the STM32H730VB OCT... - STMicroelectronics Community
Still, it started in 2021, and no solution exists. That is just sad.
I made these boards containing an eMMC chip with 8 GByte and a PSRAM chip with 8 MByte.
I have some problems. Whenever I address the AZRTOS buffer to 0x90000000, the compiled program can't be downloaded to the board. It gives me the error message that it is outside the available memory. The problem was that the generated code does not reflect the static memory assignment for the AZRTOS buffer. If I assign the buffer manually in the "app_azure_rtos.c." file, the compiled firmware will not flash onto the board with some strange error message. I tried to use the Cube-Programmer to flash the binary FW-File onto the board, but that file is about 2 GByte.
I started over to get the PSRAM to work first and than go from there.