■ Goal : To replace the Z-Tool interface from UART to USB CDC for custom design.
△ SmartRF06EB contains the XDS100v3 JTAG, so this debugger works as JTAG and serial port.
However I would like to use the alternatives - J-Link & USB CDC (virtual serial port), because of more usefulness.
■ Build OK and succeed to connect Z-Tool, but does not respond in Z-Tool.
1. to Build
- add HAL_UART_USB in Defined Symbol
- add the followings in Additional Include directories
$PROJ_DIR$\..\..\..\..\..\Components\usblib\cc2538\source\library
$PROJ_DIR$\..\..\..\..\..\Components\usblib\cc2538\source\library\cc2538
$PROJ_DIR$\..\..\..\..\..\Components\usblib\cc2538\source\class_cdc
- add the followings in Additional libraries
$PROJ_DIR$\..\..\..\..\..\Components\usblib\cc2538\bin\iar\usblib.lib
$PROJ_DIR$\..\..\..\..\..\Components\usblib\cc2538\bin\iar\usbcdc.lib
2. to Connect Z-Tool
a. Connect an additional USB cable to CC2538EM.
b. Install signed USB driver in the cc2538_foundation_firmware_1_0_1_0
c. Check the port in the device manager.
d. Connect the Z-Tool with the previously check com port.
3. CC2538 does not respond to any command in the Z-Tool.