Hi all,
I am using TMDSHVMTRINSPIN with TMDSCNCD28027F controlCARD and I am using the on main board XDS100v1 emulator and I made the Main board and Control card configuration according to the HW user's guide.
When I run the example project "lab02b" on the debugging after loading the program and start debugging ok, but when I set the flag "gMotorVars.Flag_Run_Identify" to
start the motor identification the debugging hang and I got error, noting that the MCU doesn't stop and continue running the problem and i can see the correct output pulses on the IGBT module for the motor but the problem that I lost the connection between the MCU and the debugger.
The error message in the Console window is:-
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.232.0)
C28xx: Realtime was not enabled
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.232.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
And here's a screen image when the debugger hang and lose connection with MCU:-
Thanks for help