J link swd speed setting in nrf connect?

How do I adjust the swd speed used by nrf connect RTT ? Currently it is 2000khz but more is needed. I need to transfer audio data to PC.

For some reason my current process require first opening RTT view in nrf connect and then run python script with pylink. I cannot get RTT started otherwise.

Also is it normal to get random garbage reads from the RTT ?

Parents Reply
  • Hi,

    I'm not convinced that the SWD freq. is the problem here. I suggest increasing the RTT buffer size in your project configuration (CONFIG_SEGGER_RTT_BUFFER_SIZE_UP) to see if that helps. I'm not sure if it's possible to change the default SWD frequency for the RTT terminal in the VS Code extension. In any case, the SWD frequency is limited to 2 or 4 MHz when using the debugger on the DK. If you have an external J-Link probe, you could try testing with the J-Link RTT Viewer app, which allows you to specify the frequency. 

    Also is it normal to get random garbage reads from the RTT ?

    Generally no, but it can happen if the log buffers fill up.

Children
Related