问题现象:在点击仿真是出现连接错误:
Error connecting to the target:
(Error -151 @ 0x0)
One of the FTDI driver functions used during
the connect returned bad status or an error.
The cause may one or more of: invalid emulator serial number,
blank emulator EEPROM, missing FTDI drivers, faulty USB cable.
Use the xds100serial command-line utility in the 'common/uscif'
folder to verify the emulator can be located.
(Emulation package 5.1.232.0)
解决办法:
1、XDS100仿真器没有连接到PC,重新拔下再插入仿真器;
2、XDS100仿真器的驱动没有安装或是安装不正确,删除驱动重新安装(CCS是自带XDS驱动);
3、工程里的仿真器选择的版本不正确;