[Solved] Kendryte KD233 board JTAG Setup

Sysprogs forums Forums VisualGDB [Solved] Kendryte KD233 board JTAG Setup

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29031
    Johanan
    Participant

    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 3 years, 7 months ago by support.
    • This topic was modified 3 years, 7 months ago by support. Reason: formatting
    Attachments:
    You must be logged in to view attached files.
    #29038
    support
    Keymaster

    Thanks for sharing this. We have moved this post to a separate thread to make it easier for others to discover it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.