Tool/software: Code Composer Studio
HI
when I run the "adc_soc " and the " gpio_toggle",the TMS28335 operates well.
however, when I run the "epwm_updown_aq",the cpu send an error status.
C28xx: Trouble Halting Target CPU: (Error -150 @ 0x0) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 5.0.681.0)
C28xx: Error: (Error -1041 @ 0xFFFFFF6A) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.0.681.0)
then I change the CCSv5 to CCSv6, the problem is as below.
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: Error: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad 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
then I power off the device and re-up electricity , when I run the "adc_soc " and the " gpio_toggle",the TMS28335 operates well.
however, when I run the "epwm_updown_aq",the cpu send an error status again.
when the error happen, I must power off the device. because the connection between emulator and the 28335 is break.
In this time , as you see , the test is as below.
[Start: Texas Instruments XDS100v3 USB Emulator]
Execute the command:
%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity
[Result]
-----[Print the board config pathname(s)]------------------------------------
C:\Users\gexiao\AppData\Local\TEXASI~1\CCS\
ti\0\0\BrdDat\testBoard.dat
-----[Print the reset-command software log-file]-----------------------------
This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusbv3.dll'.
An error occurred while soft opening the controller.
-----[An error has occurred and this utility has aborted]--------------------
This error is generated by TI's USCIF driver or utilities.
The value is '-151' (0xffffff69).
The title is 'SC_ERR_FTDI_OPEN'.
The explanation is:
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.
[End: Texas Instruments XDS100v3 USB Emulator]
how can I solve this problem.
Tianqing Li