【High-speed wireless debugger】3. New firmware upgrade experience
[Copy link]
The author listened to everyone's opinions and quickly modified a version of the firmware. It can be said that it was very fast. Let's first upgrade the debugger firmware. The features of this upgrade are as follows:
Adjustment 1: The working mode of the I/F indicator light has changed. If it is always off, it means the interface is closed. If it flashes, it means there is no voltage on VRef. If it is always on, it means the interface and VRef are normal.
Adjustment 2: The factory mode of VRef is adjusted to output 3.3V mode. Upgrading this firmware will not cause the VRef mode to change.
Adjustment 2: Press and hold the button for 10 seconds, all configurations will be cleared except for VRef mode
When the Adjustment 1 I/F indicator light goes out, it basically means that the firmware upgrade mode has been entered (power on by pressing a button). At this time, you can connect the device to the Vllink HID Update tool interface for firmware upgrade. Later, you can optimize the functions on this interface. For example, you no longer need to download the firmware to the local computer, and you can directly select the corresponding version when selecting a file.
The first upgrade failed because I directly selected the ZIP file, which needed to be manually decompressed into a bin file for the upgrade to succeed. However, the ZIP file was also selected successfully here and updated. This should be the result of a failure in the end, and it did not jump directly to the working mode. This judgment should be made in advance, for example, if the file is wrong, it cannot be updated directly.
Firmware upgrade successful:
After the firmware upgrade is successful, the yellow light flashes, indicating that VRef has no voltage. At this time, we give VRef a 3.3V. The yellow light is always on, indicating that the interface and VRef are normal, which also complies with the instructions for adjustment 2. However, we cannot experience the VRef factory mode adjusted to the output 3.3V mode, so let's adjust it manually. Similarly, after configuring and adjusting VRef to the output 3.3V mode, the yellow light is always on.
Similarly, I upgraded another debugger. I guess it was not powered on again after the upgrade was successful. I directly performed synchronization configuration and found a small problem. The device could not be found:
After re-powering the debugger and reopening the page, it still cannot be found. At this time, the USB indicator of the debugger is off, and the STA and I/F indicators are flashing. Re-enter the firmware upgrade mode, the USB is always on, and you can find:
That is to say, the firmware upgrade was successful before, and the problem was solved after re-powering on. So where is the problem? There is no difference except that the previous working mode was AP and this one is STA. The problem is found. The USB power supply cannot be used in STA mode (it should be that some hardware of the debugger is not powered by 5V). The same problem occurs with another debugger. I re-downloaded the V00.12-202406211323 firmware, and the same problem occurs. When upgrading the configuration online, it is in STA working mode (when not connected wirelessly), and the synchronous configuration operation cannot be performed. At this time, the USB indicator light is off, which means that some circuits of the debugger are not powered. (Actually, it is explained in the user manual)
I am not sure about the specific intention of doing this, because I have tested the synchronization configuration before and it is to modify the debugger in STA working mode directly under wireless connection. At this time, the USB device is turned off and cannot communicate with the computer. Because I don't know the specific operation mechanism, this USB communication is actually disconnected directly after the mode is switched. I personally feel that the timing is too early.
My personal guess about the working mode is that the wired mode is the most basic working mode, and the wireless mode is the featured main mode of this debugger, which means it has a higher priority. However, this is based on the premise of wireless connection.
There are currently three modes, which can be switched by pressing buttons;
However, without wireless connection, AP mode can be directly converted to wired mode by wired connection. This should be able to automatically switch modes, that is, the indicator light matches the actual mode, and the mode is automatically switched once the wired debugging is completed;
In the absence of wireless connection, STA mode can theoretically be converted to wired mode, and it can be switched automatically like AP mode. In this case, STA mode can also be used alone.
The wireless connection mode has the highest priority. At this time, it can be the same as the current wireless connection. After the wireless connection is successful, the USB communication capability of the STA mode debugger is turned off, and the USB communication capability is restored after the wireless connection is disconnected.
|