The WSTK boards factory programmed to support 115200bps. This may no suitable for custom firmware thus there is a possibility to set the baud rate to customer specific value.
To change the VCOM speed first it is necessary to access the Admin console on the WSTK. Currently, two methods are supported:
The console commands are identical for both method.
To access the Admin console through telnet first need to connect the WSTK to an Ethernet network which provides DHCP server.
If the WSTK's built-in DHCP client was able to receive the address and network configuration was successful, the IP address will appear on the kit's LCD screen.
Use that address to connect to the board by telnet program (you may need to enable / install telnet on - refer to your OS manual about details).
The Admin console accessible on port 4902 (replace the IP address with the one appears on your LCD screen):
telnet 10.5.146.86 4902
On successful connection the prompt
WSTK> should appear.
To access the console from Simplicity Studio, only the USB port has to be connected. Select the required J-Link adapter, right-click on it and click on Launch console...
When the console appears Switch to the Admin tab at the top then click into the input text box at the bottom press Enter. The
WSTK> prompt should appear.
By issuing the help command a few lines of help appears about the usage of the Admin console:
*************** Root commands **************** aem AEM commands [ calibrate, current, dump, ... ] boardid Commands for board ID probe. [ list, probe ] dbg Debug interface status and control [ info, mode,] dch Datachannel control and info commands [ message ] discovery Discovery service commands. [ key ] net Network commands. [ dnslookup, geoprobe, ip ] pti Packet trace interface status and control [ config, disable, dump, ... ] quit Exit from shell serial Serial channel commands [ vcom ] sys System commands [ nickname, reset, scratch, ... ] target Target commands. [ button, flashwrite, go, ... ] time Time Service commands [ client, disable, server, ... ] user User management functions [ login,] WSTK>
To change the Virtual COM port baud rate to 9600bps issue the following command:
serial vcom config speed 9600
There is also possible to set handshaking method by issuing the
serial vcom config handshake ... command.