Hello,
I need some help to get SWO working with the RT1064-EVK-Board.
My setup is the following:
- MIMXRT1064-EVK
- MCU-Link as debug probe
- mcuxpresso 11.3.0 under linux
- SDK for EVK-MIMXRT1064: 2.9.1
I'm using the the blinky-example from the SDK and my goal is to watch the variable g_pinSet of this example in SWO-Data-view.
I already recognized, that I have to remove all initialization things which have to do with the user led, because the LED is using the same line as the JTAG_TDI.
I removed jumper J47 to J50 to be able to flash the chip with the external debug probe.
The board is powered over USB. (Just power no data lines!)
Flashing and debugging is possible without any problem.But with SWO I got stuck.
I did the following steps:
- flashed firmware and started debugging
- In "SWO Trace config" I select a target clock speed of 600MHz
- Then I go to the "SWO data" screen and there I added the variable "g_pinSet" to be watched.
- I press the green play button. After that one of the following messages pop up:
"This configuration of ETM is not supported" (no ETMIDR register)"
or
"Failed to initialize SWO trace. Reason: For the target clock speed there is no suitable baud rate to communicate between probe and target"
There are several solutions online how to get the RT1064-EVK to work, but none of them seem to work for me.
Maybe someone can give me a hint what I missed.
Thanks a lot.