Hello everybody !
I have some trouble to display variables and strings on Kinetis Design Studio with my KL25Z board. I specify I have KDS 2.0.0 for Ubuntu (which means the lastest available version).
Here is what I've done: with processor expert mode, I've added the "AsynchroSerial" Component and specify Transmitter and Receiver on UART1_TX and UART1_RX pins respectively. I also set the Baud Rate at 9600 Baud.
In my main function, I've used the AS1_SendChar() in a for(;;) loop:
for(;;)
{
AS1_SendChar('A');
}
The build is ok ! When I'm plugging my board, I've noticed that /dev/ttyACM0 appears. So, I've done: screen /dev/ACM0 in order to see the ouput.
But when I debug my projects, I see nothing on my terminal even if I expected to see the 'A' character !
So are there anyone who know what's going wrong ? or maybe an other method to display variables and strings on a terminal ?
Thanks :smileywink:
已解决! 转到解答。
Hi,
Are you using the FRDM-KL25, if yes the KL25 Tx and Rx lines you need to configure to see the output in the Terminal through the OpenSDA connector are :
PTA1/TSI0_CH2/UART0_RX/FTM2_CH0
PTA2/TSI0_CH3/UART0_TX/FTM2_CH1
Also, for your reference, attached you can find the Serial_LDD component user guide. You can check there the typical usage configurations. You can use it to send and receive characters and strings.
Hi,
Are you using the FRDM-KL25, if yes the KL25 Tx and Rx lines you need to configure to see the output in the Terminal through the OpenSDA connector are :
PTA1/TSI0_CH2/UART0_RX/FTM2_CH0
PTA2/TSI0_CH3/UART0_TX/FTM2_CH1
Also, for your reference, attached you can find the Serial_LDD component user guide. You can check there the typical usage configurations. You can use it to send and receive characters and strings.