We are trying to upload sketches on the Arduino IDE. We created a custom board that interfaces the Rx and Tx lines from the ATMega328p directly to UART2 on the TX2.
I came upon this forum which is very similar to our setup. https://devtalk.nvidia.com/default/topic/1044908/tx2-lt-gt-atmega328p-arduino-via-dev-ttyths1/?offset=5
It seems like they managed to upload their sketches successfully. I suspect it has something to do with baudrate and two stop bits. The bootloader burned onto the ATMega328p chip is 9600, does the TX2 UART2 line need to be slower? How do I check the baudrate of the UART2 line and change to 2 stop bits. I work mainly on hardware so I am not very familiar with firmware. Can all these UART settings be changed in the Ubuntu terminal?