2019-07-12 12:06 AM
Hi ST Community,
i am trying to debug firmware on cortex-m4 of STM32MP157-Eval. i had success debugging OpenAmp_TTY_echo example as instructed in https://wiki.st.com/stm32mpu/wiki/Modify,_rebuild_and_reload_a_firmware. But while trying to debug a simple hello world example by same method, the Debug button is always deactive and i am not getting any kind of error or missing setting on debug window as well.
Could you please guide me, what i am missing here?
Best Regards,
Bhinder
2019-07-12 12:21 AM
Hi Bhinder,
Debug button is frozen while Debug Configuration settings are not all properly set.
Can you please check the .elf is properly filled in "Main" pane and also that the IP address set is correct ?
Hope it help,
Olivier
2019-07-12 12:34 AM
hi Oliver,
Thank you for quick answer. IP address is set correct bcause it is working for OpenAmp_TTY_acho.
it isn't showing me any error in main and Debugger windows, They looks like as follow:
BR
Bhinder
2019-07-12 12:41 AM
Hi Bhinder,
I see you are using .out ?
Only .elf format is supported for M4 firmware.
Olivier
2019-07-12 12:51 AM
Hi Oliver,
I first taught the same and i have already tried with .elf format
OUTPUT(./out/bsp_quickstart.elf elf32-littlearm)
But .elf format isn't helping in this case either.
Bhinder