問題現象:在點擊仿真是出現連接錯誤:
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、工程里的仿真器選擇的版本不正確;