Hello,
i'm using IAR Embedded Workbench for ARM V 7.30 and a SEGGER J-Link.
I tried contacting STM and IAR customer support on this problem. The ST-people said it's related to the IDE and/or the debugger, the IAR-People didn't answer yet (even we got a valid IAR Service and Update Contract for 820 EUR / year).
For debugging i'm using SWD as interface and on the micro a SPI-Port that is sharing SCLK and TDO/SWO.
STM32 Configuration is done correctly (including selecting the correct alternate function here it's AF6 for SPI).
Communication to the SPI peripheral is OK, as long as i Interrupt the program.
On Breakpoint or manually breaking, SPI SCLK looks like outputting some digital values. When checking the function mapping SCLK is now on AF0, when chanigng to AF6, it's going back to AF0 immediately.
With an IAR I-Jet I can change a "Trace data collection Mode" from "Serial (SWO)" to "None". But this does not exist for the J-Link.
Changing the "Library low-level interface implementation" from "Semihosted" "Via SWO" to "None" does not change anything. Is there a configuration bit in the J-Link configuration that can be changed for disabling the SWO?
Thank you
i'm using IAR Embedded Workbench for ARM V 7.30 and a SEGGER J-Link.
I tried contacting STM and IAR customer support on this problem. The ST-people said it's related to the IDE and/or the debugger, the IAR-People didn't answer yet (even we got a valid IAR Service and Update Contract for 820 EUR / year).
For debugging i'm using SWD as interface and on the micro a SPI-Port that is sharing SCLK and TDO/SWO.
STM32 Configuration is done correctly (including selecting the correct alternate function here it's AF6 for SPI).
Communication to the SPI peripheral is OK, as long as i Interrupt the program.
On Breakpoint or manually breaking, SPI SCLK looks like outputting some digital values. When checking the function mapping SCLK is now on AF0, when chanigng to AF6, it's going back to AF0 immediately.
With an IAR I-Jet I can change a "Trace data collection Mode" from "Serial (SWO)" to "None". But this does not exist for the J-Link.
Changing the "Library low-level interface implementation" from "Semihosted" "Via SWO" to "None" does not change anything. Is there a configuration bit in the J-Link configuration that can be changed for disabling the SWO?
Thank you