TI中文支持网
TI专业的中文技术问题搜集分享网站

[求助]XDS100v2与28335连接过程中产生error150/error151错误

硬件环境:研旭28335开发板、XDS100V2仿真器

软件环境:CCS6.0

目前遇到的问题:

1、连接仿真器时:RUN-conncet target之后显示连接成功

过大概10s后,显示如下报错信息

C28xx: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 5.1.450.0)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

然后显示连接失败

请问这是什么原因?

ps:在10s内,趁其不注意可以快速run-load-load programme,然后马上run-resume可以实现仿真

但仿真时间持续大概几秒,会显示disconnected running

跑马灯虽然还在跑,但此时连接已经失效了

若此时再重新连接TARGET,会显示151错误

C28xx: 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.450.0) 

目前经过搜索可能是以下原因:

1、FLASH锁死

2、仿真器驱动问题

3、ccs6.0问题

求助各位大大~

Susan Yang:感觉应该是驱动的问题

那您的设备管理器是如何显示的?

processors.wiki.ti.com/…/XDS100

硬件环境:研旭28335开发板、XDS100V2仿真器

软件环境:CCS6.0

目前遇到的问题:

1、连接仿真器时:RUN-conncet target之后显示连接成功

过大概10s后,显示如下报错信息

C28xx: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 5.1.450.0)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

然后显示连接失败

请问这是什么原因?

ps:在10s内,趁其不注意可以快速run-load-load programme,然后马上run-resume可以实现仿真

但仿真时间持续大概几秒,会显示disconnected running

跑马灯虽然还在跑,但此时连接已经失效了

若此时再重新连接TARGET,会显示151错误

C28xx: 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.450.0) 

目前经过搜索可能是以下原因:

1、FLASH锁死

2、仿真器驱动问题

3、ccs6.0问题

求助各位大大~

Susan Yang:另外也可以先参考一下相关帖子

e2e.ti.com/…/294070

硬件环境:研旭28335开发板、XDS100V2仿真器

软件环境:CCS6.0

目前遇到的问题:

1、连接仿真器时:RUN-conncet target之后显示连接成功

过大概10s后,显示如下报错信息

C28xx: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 5.1.450.0)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

然后显示连接失败

请问这是什么原因?

ps:在10s内,趁其不注意可以快速run-load-load programme,然后马上run-resume可以实现仿真

但仿真时间持续大概几秒,会显示disconnected running

跑马灯虽然还在跑,但此时连接已经失效了

若此时再重新连接TARGET,会显示151错误

C28xx: 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.450.0) 

目前经过搜索可能是以下原因:

1、FLASH锁死

2、仿真器驱动问题

3、ccs6.0问题

求助各位大大~

user5269622:

回复 Susan Yang:

您好~谢谢您的回复~这个相关帖子矛盾是配置文件为100v3而实际使用100v2,我不是这个问题

硬件环境:研旭28335开发板、XDS100V2仿真器

软件环境:CCS6.0

目前遇到的问题:

1、连接仿真器时:RUN-conncet target之后显示连接成功

过大概10s后,显示如下报错信息

C28xx: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 5.1.450.0)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

然后显示连接失败

请问这是什么原因?

ps:在10s内,趁其不注意可以快速run-load-load programme,然后马上run-resume可以实现仿真

但仿真时间持续大概几秒,会显示disconnected running

跑马灯虽然还在跑,但此时连接已经失效了

若此时再重新连接TARGET,会显示151错误

C28xx: 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.450.0) 

目前经过搜索可能是以下原因:

1、FLASH锁死

2、仿真器驱动问题

3、ccs6.0问题

求助各位大大~

user5269622:

回复 Susan Yang:

您好~谢谢您的回复~目前来看可能是驱动的问题,容我调试调试再来结题。谢谢你!

硬件环境:研旭28335开发板、XDS100V2仿真器

软件环境:CCS6.0

目前遇到的问题:

1、连接仿真器时:RUN-conncet target之后显示连接成功

过大概10s后,显示如下报错信息

C28xx: Error: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 5.1.450.0)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

然后显示连接失败

请问这是什么原因?

ps:在10s内,趁其不注意可以快速run-load-load programme,然后马上run-resume可以实现仿真

但仿真时间持续大概几秒,会显示disconnected running

跑马灯虽然还在跑,但此时连接已经失效了

若此时再重新连接TARGET,会显示151错误

C28xx: 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.450.0) 

目前经过搜索可能是以下原因:

1、FLASH锁死

2、仿真器驱动问题

3、ccs6.0问题

求助各位大大~

Susan Yang:

回复 user5269622:

很高兴您能解决问题

赞(0)
未经允许不得转载:TI中文支持网 » [求助]XDS100v2与28335连接过程中产生error150/error151错误
分享到: 更多 (0)