STM32MP257F M33 flavor : unable to debug and compil StarterApp to run only in internal RAM
Hi everybody,
For a project, we need to start the STM32MP257F in the M33 flavor, in order to perform some basic functions (GPIO, I2C, UART) in the lowest power mode possible (DDR unpowered, A35 in low power mode — i.e., no remoteproc nor Linux). The goal is to compare MP257 capabilities compared to IMX8 (goal line end of this month)
I use Yocto/bitbake to compile for our custom board.
Following the StarterApp_M33TD_CM33 example, I've encountered the following difficulties:
1) How can I debug the BL2 part?
From the post STM32MP257 programming via JTAG - STMicroelectronics Community , I see that JTAG can be used to debug the STM32MP257 using CubeIDE.
2) How can this be done?
I tried to modify the *.ld file used by StarterApp_M33TD_CM33 to place the code in internal RAM instead of DDR, but it doesn't work. On the UART console I see BL2 logs, but nothing from this app, and since I can't debug, I don't know what's happening.
3) How do I modify the project/Device Tree or other elements to execute this code only in internal RAM?
4) I need to check if the STM32MP257F can be put into a mode with power consumption below 200mW. Is this realistic?
5) Is it possible to modify the clock and PMIC configuration in BL2 mode in order to achieve a low power mode? If yes, where should this be done?
Can someone helps me
Thanks for your help
