I found the reason for this:
” There is some link between the com port and the debugger, as when I try to open a terminal utility on this com port, the debugger crashes, I don’t know why/ I will try to investigate this and send you info if I can find anything”
The KD233 board has its reset pin connected to DTR of the USB com port chip, which generate a system reset as soon as a com port opens in the PC. This is probably needed for Arduino type program upload or Kendryte kflush utility.
The simple solution is to remove J80 on the board, which disconnects the reset pin from the DTR.
It is also possible to change the uart output pins in the software, something like this:
fpioa_set_function(4, FUNC_UART3_RX);
fpioa_set_function(5, FUNC_UART3_TX);
// fpioa_set_function(28, FUNC_UART3_RX); // change uart pins to RXD_WIFI TXD_WIFI
// fpioa_set_function(27, FUNC_UART3_TX); // on J92 pins 4,8
uart_debug_init(UART_DEVICE_3);
-
This topic was modified 4 years, 2 months ago by support.
-
This topic was modified 4 years, 2 months ago by support. Reason: formatting
Attachments:
You must be
logged in to view attached files.