koendv / hi3861_notes

Huawei Hi3861 RISC-V processor notes
18 stars 1 forks source link

Serial port Flash and AT options #2

Open symdeb opened 1 year ago

symdeb commented 1 year ago

Planning to use the HI-07S module from AI-Thinker, Read that UART0 can be used to flash (instead of JTAG) and UART1 for AT commands. I wish to flash it via UART0 and use AT commands, but the host processor only has one serial-port available. A solution would be an dual analog switch (or MOSFETS) between the serial ports (via a GPIO the host controls) or can the HI-07S be programmed that AT commands flow through UART0 ? I will add a JTAG header just in case. P.S The AI-Thinker module seems to use GPIO7 to select the BOOT mode but could not find further documentation about this. The goal is hands-free programming.

koendv commented 1 year ago

I am sorry. If you find the answer, send it to me and I will add it to the git.