Re: USB Host Bootloader without using VBUS
I build a USB Host Bootloader and my pic (pic32mz2048efh144) is the master. The goal is to check if the USB stick is connected when we boot and, if the USB stick is connected, to update the firmware.
The board will always boot on the bootloader and check if the USB stick os connected, if not, it starts the application. If a USB stick is connected it update the firmware with the .hex file beforehand put on the root of the USB stick.
The first time we boot the board, because no firmware is installed on the board, the bootloader will wait indefinitely that a USB stick is connected to update the firmware.
The problem is that I can't even install the first firmware. I can't detect the USB stick.
Thank for your respond,