2021-06-16 02:15 AM
I work on Windows and use the STM32CubeIDE 1.6.1. I want to program and debug the M4 part, On the A7 part Linux is working.
My current state is, that The A7 is in Bootloader mode and the DFU per USB is connected and shown in Windows (Gerätemanager) as USB device. There is no serial port.
In the debug settings STM32CubeIDE require a serial port.
With STM32CubeProgrammer USB1 connects and seems to work
At the end of the day I want to create and debug a M4 program.
Thx
Steffen
.
2021-06-16 02:31 AM
Hi,
It is not possible to debug while A7 is in Bootloader mode.
To debug M4 FW in 'Production mode', you should have Linux up and running (e.g. Starter Package on ST board like STM32MP157F-DK2).
Such debug needs:
It is also possible to debug M4 FW in standalone using 'Engineering Mode' (but obviously, not possible to use Linux communication like RPMsg)
See also https://wiki.st.com/stm32mpu/wiki/STM32CubeIDE#Arm-C2-AE_Cortex-C2-AE-M_debug_on_STM32_MPU_device
Regards.
2021-06-16 03:05 AM
Thank you very much. It seems my problem is possible different, means earlier.
I'm using a customer board and a extra ST Link hardware.
I want to use "5.2 Production mode" from the wiki and the described workflow.
My problem is step 1.
I understand, the bootloader mode is the wrong way. I have to ask the customer for serial port connection.
Thank you.