4.1 Setting
4.1.1 Working mode
The Power Debugger works in four modes: local USB mode, local wifi direct connection mode, local LAN mode, and public network mode(including P2P). In these modes, the debugger can debug the target chip, forward the serial port proxy, RTT Viewer, and Scope.
4.1.1.1 Local USB
Local USB mode: No need for the transmitter , the receiving end is used separately, and the receiving end is connected to the development host through the USB Type-C cable for project debugging, log forwarding, RTT Viewer and other functions.
4.1.1.2 Direct local WIFI connection
Local WIFI direct connection: In this mode, the transmitter and the receiver need to be paired, wait for the device status light to be long, and the transmitter and the receiver need to be in the same area, according to the wireless carrier condition of the environment, the longest communication distance can reach 200 meters.
4.1.1.3 Local LAN and WLAN (Include P2P)
In this mode, it is necessary to pair at the same time, configure WIFI networking on the transmitting end and the receiving end, and wait for the device status indicator to light up before entering the subsequent function.
At present, the server real-time agent function is provided by ICWorkshop, which requires users to be in a good network environment. For users with general network status, only gdb remote + openocd (pyocd ) component can be used.
For advanced LAN settings, please refer to :LAN advanced settings,For custom servers please refer to :Custom servers.
4.1.1 Wireless parameter
4.1.1.1 Network channel
The default channel is 13. If the surrounding wireless routers have interference, you can set the channel to avoid crowded channels and improve communication stability and speed.
By scanning WIFI, the optimal network channel can be automatically selected.
4.1.1.2 Wireless speed
The default value is 54 Mbps. If there is communication interference, try to reduce the communication rate to reduce or avoid communication interruption.
4.1.1.3 Bandwidth
The default is 40mhz bandwidth, which can choose 20mhz bandwidth.
4.1.2 WIFI Network
In public network mode, this setting takes effect. Press the refresh button to obtain the WIFI list of the current environment, fill in the wireless password, and configure the network of the device.
Refresh the wireless network function, automatically optimize the local WIFI mode, and avoid over-occupied channels to improve speed and stability.
4.1.3 Packet mode setting
- Big package(default) : Tends to increase speed
- Mid package : Balance between speed and load balancing
- Small package : prefers to maintain load balance
4.1.4 Receiver I/O voltage setting
Through this setting, the reference voltage of VREF, SWDIO, SWCLK, TRST, TDI, TDO, TMS, TCK and NRST can be set, and the switch can be made under the three voltages of 1.8V, 3.3V and 5V. The default is 3.3V.
4.1.5 Synchronization
When the device is working in local WIFI mode and remote mode, the relevant Settings will be automatically synchronized to the receiving end by adjusting the parameters on the transmitter.
4.1.1 Device pairing
In the mode of local WIFI direct connection and public network, it is necessary to pair the transmitting end and the receiving end of the device before use. The device has been paired during the production of the product. If you need to modify the pairing, you can modify it here.
4.1.1 Device remark
The device can be marked by writing specific data to the device, such as indicating the purpose of the device, up to 256 bytes of data can be written.