I want to switch from USB OGT mode to USB SERIAL JTAG mode

Hiroki
Posts: 1
Joined: Mon Jan 20, 2025 11:38 pm

I want to switch from USB OGT mode to USB SERIAL JTAG mode

Postby Hiroki » Tue Jan 21, 2025 5:18 am

The user uses it in USB OGT mode.
However, firmware cannot be written in USB OGT mode.
We want to prevent the user from accidentally entering the USB SERIAL JTAG mode while in use.
There are no plans to make GPIO0 easy to operate.
So I would like to know if it is possible to switch from USB OGT mode to USB SERIAL JTAG mode by software.
We have confirmed that both USB OGT mode and USB SERIAL JTAG mode are working properly by themselves.
I have verified.
CPU sets USB OGT mode at boot time.
  1. tinyusb_driver_install()
  2. tusb_cdc_acm_init()
Continued operation.
Trigger to switch to USB SERIAL JTAG mode.
The following procedure is used to operate switching to USB SERIAL JTAG mode.
  1. tinyusb_driver_uninstall()
  2. usb_serial_jtag_driver_install()
However, it does not seem to switch to USB SERIAL JTAG mode.
Am I doing something wrong or lacking in my approach?
Or is it impossible to do it this way?
If you can make the switch, please let me know the missing steps.

Who is online

Users browsing this forum: No registered users and 104 guests