Debug AON SPE on AGX Orin

Hello All.
I have flashed a custom baremetal image on SPE Cortex - R5.
How do I get the log of R5 present on SPE using the UARTC?
I tried, jetson-demux tool but not sure how to utilise the tool. Please guide me on this.

Thanks in advance.

Please check readme at GitHub - NVIDIA/python-jetson: Python utilities for NVIDIA Jetson

jetson-demux --device /dev/ttyxxx

br
ChenJian

Hi ChenJian.

  1. Does the printf() statements in my code are directly routed to UARTC or I have to enable it somehow? If yes, please let me know how?
  2. And after using the tool jetson-demux, it shows SPE: /dev/pts/12 … $sudo minicom -D -b 115200 /dev/pts/12 throws - No such file or directory error.

BR

Hello, abelamge:

  1. yes. printf can output strings to debug port.
  2. can you check after jetson-demux running, whether the dev nodes exist?
    In addition, maybe your command is wrong.
    I use following command and it can work well (UART setting 115200 8N1)
    sudo minicom -ow -D /dev/pts/xx

br
ChenJian

1 Like

Hello ChenJian.

I am able to open the terminal but get no logs in the SPE node, even after successfully flashing SPE Firmware.
How can I see FreeRTOS booting up logs in /dev/pts/<SPE_node_number> ?

BR

Hello,
You can start from original BSP, without any change.
After the device’s up, you should see following log, which comes from SPE firmware.
init uartc for combined uart

Then you can start your own SPE firmware, in the same console.

br
ChenJian

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.