This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Concerto Error: Emulator Disconnecting

Other Parts Discussed in Thread: UNIFLASH

Hello!

I am getting errors 100% of the time while trying to debug with CCS 5.5.0.00077. The problem is, it seems to be a different error every time. Also,  I am using a controlCard with a Rev B part.

So far, I have restarted the PC, removed all other USB devices that use COM ports, removed and reseated the DSP card, sacrificed a goat, and even tried to use the Blinky test project.

EDIT: This issue seems to have started when I installed another device that uses FTDI drivers... is it possible that we have a driver issue? How would I check/solve this? The under "Ports" in Windows 7,  Driver information is as follows:

 

FTDI

Date: 3/18/2011
Version: 2.8.14.0

Here is the entire console dump from about 5 min of use and maybe 2 or 3 attempts to load my program:

Cortex_M3_0: GEL Output: Memory Map Initialization Complete
Cortex_M3_0: GEL Output: Watchdog Timers Enabled
Cortex_M3_0: GEL Output: UARTs Enabled
C28xx_0: GEL Output:
Memory Map Initialization Complete
C28xx_0: GEL Output:
RAM Initialization Complete
Cortex_M3_0: Breakpoint Manager: Retrying with a AET breakpoint
Cortex_M3_0: Breakpoint Manager: Error enabling this function: Address exceeds the allowed range
Cortex_M3_0: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x20004744: (Error -150 @ 0x20004744) One of the FTDI driver functions used during configuration returned a invalid status or an error. (Emulation package 5.1.232.0)
Cortex_M3_0: Trouble Reading Memory Block at 0x2000479c on Page 0 of Length 0x4: (Error -242 @ 0x0) A router subpath could not be accessed. The board configuration file is probably incorrect. (Emulation package 5.1.232.0)
Cortex_M3_0: Flash Programmer: Error erasing Sector F. Operation Cancelled.
Cortex_M3_0: Unable to terminate memory download: (Error -1003 @ 0x2BC5) Internal error: Invalid parameter passed to function. Restart the application. If error persists, please report the error. (Emulation package 5.1.232.0)
Cortex_M3_0: GEL: File: *****.out: Load failed.
C28xx_0: Error: (Error -1044 @ 0x0) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)
C28xx_0: Unable to determine target status after 20 attempts
C28xx_0: 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
Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)
Cortex_M3_0: Unable to determine target status after 20 attempts
Cortex_M3_0: 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
Cortex_M3_0: GEL Output: Watchdog Timers Enabled
Cortex_M3_0: GEL Output: UARTs Enabled
C28xx_0: GEL Output:
Memory Map Initialization Complete
C28xx_0: GEL Output:
RAM Initialization Complete
C28xx_0: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.232.0)
C28xx_0: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.232.0)
C28xx_0: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.232.0)
C28xx_0: GEL: Error while executing OnReset(1): Target failed to read register ST1 at (ST1&~(0x0100)) [f28m35h52c1_c28.gel:356] at C28x_Mode() [f28m35h52c1_c28.gel:31] at OnReset(1) .
C28xx_0: Error during Flash verification (Flash algorithm timed out). Operation cancelled.
C28xx_0: Flash verification returned error condition. Operation cancelled.
C28xx_0: Please make sure the memory location you are programming have not already been programmed.
CS_DAP_0: Error: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. (Emulation package 0.0.0.0)
Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)
C28xx_0: AutoRun: Target not run as breakpoint could not be set: Error enabling this function: DCU_SEL Register write failed
C28xx_0: Error: (Error -1044 @ 0x0) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.1.232.0)
Cortex_M3_0: Unable to determine target status after 20 attempts
Cortex_M3_0: 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
C28xx_0: Unable to determine target status after 20 attempts
C28xx_0: 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

  • Here is verbose output when trying to load the M3:

    Cortex_M3_0: Verifying Flash @ Address 0x002018C0 of Length 0x000000B8
    Cortex_M3_0: Finish Writing Flash @ Address 0x002018C0 of Length 0x000000BC
    Cortex_M3_0: Writing Flash @ Address 0x00201980 of Length 0x000001F8
    Cortex_M3_0: Verifying Flash @ Address 0x00201980 of Length 0x000001F8
    Cortex_M3_0: Finish Writing Flash @ Address 0x00201980 of Length 0x000001F8
    Cortex_M3_0: Writing buffered data @ Address 0x00200030 of Length 0x00000008
    Cortex_M3_0: Verifying Flash @ Address 0x00200030 of Length 0x00000008
    Cortex_M3_0: Error during Flash verification (Flash algorithm returned error condition). Operation cancelled.
    Cortex_M3_0: Flash verification returned error condition. Operation cancelled.
    Cortex_M3_0: Please make sure the memory location you are programming have not already been programmed.
    Cortex_M3_0: Writing buffered data @ Address 0x002018B8 of Length 0x00000008
    Cortex_M3_0: Verifying Flash @ Address 0x002018B8 of Length 0x00000008
    Cortex_M3_0: Error during Flash verification (Flash algorithm returned error condition). Operation cancelled.
    Cortex_M3_0: Flash verification returned error condition. Operation cancelled.
    Cortex_M3_0: Please make sure the memory location you are programming have not already been programmed.
    Cortex_M3_0: Writing buffered data @ Address 0x00201978 of Length 0x00000008
    Cortex_M3_0: Verifying Flash @ Address 0x00201978 of Length 0x00000008
    Cortex_M3_0: Error during Flash verification (Flash algorithm returned error condition). Operation cancelled.
    Cortex_M3_0: Flash verification returned error condition. Operation cancelled.
    Cortex_M3_0: Please make sure the memory location you are programming have not already been programmed.

  • Just spent the day on this.

    Even tried uninstalling and re-installing CCS, lord have mercy that took forever.

    Here is more detail on the error  (there are no breakpoints set right now):

    Cortex_M3_0: Please make sure the memory location you are programming have not already been programmed.
    Cortex_M3_0: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x201464: (Error -1066 @ 0x201464) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 5.1.232.0)
    Cortex_M3_0: Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x2017a8: (Error -1066 @ 0x2017A8) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 5.1.232.0)

    EDIT: This issue is definitely limited to the Concerto processor.  I just tried another controlCard (28069) without an issue.

    EDIT2: I tried Uniflash and was able to successfully delete all the sectors but the problem remains.  The M3 constantly states that it is "In Reset"