TS101 Programming Issue

We have TS101 based DSP board. EMU, TCK, TDI & TMS signals are pulled up by 4.75K resistor to 3.3V DSP line.

When trying to program the DSP with HPUSB-ICE emulator, I got error " An EMUIR scan was attempted ,but the dsp is not ready to accept instruction via JTAG ". In Visual DSP configurator, with the "Test" option JTAG scan is passing for all the parameters are passing. What could be problem in programming?

Parents
  • 0
    •  Analog Employees 
    on Sep 16, 2011 8:56 AM

    Hi,

    The error "An EMUIR scan was attempted but the DSP is not ready to accept instruction via JTAG" could be the result of a hung core. A hung core can occur when the DSP itself gets stuck performing an operation that never completes (like a DMA operation for example). Depending on what state the DSP is in this can also lock out JTAG accesses by the emulator which would result in the error you see. Can you try using the "Stop DMA while target is halted" Target Option, available from 'Settings'->'Target Options' in the idde. Does using this option (try it both checked and unchecked) have any effect on the system overall?

    Although the ICE Test utility appears to be working this utility only talks to the JTAG port on the processor. It sets the processor to bypass mode and shifts bits through the JTAG bypass register. This utility only verifies that the JTAG connection is working. These tests do NOT test the /EMU signal, which is specific to ADI and used by our ICEs as a JTAG emulation status flag from the processor.  They also do NOT test for issues like shorts, problems with the processor's pins.

    Since you are using a custom board, it is recommended that you consult EE-68 'Analog Devices JTAG Emulation Technical Reference' for details of the JTAG specification and to ensure your board conforms with this standard . EE-68 can be found online at the following location:

    http://www.analog.com/ee68

    We also recommend that you try to rule out the EMU~ signal as the cause of the problem by pulling the EMU~ pin at the JTAG header to ground through a 100-ohm resistor. The DSP EMU~ signal is an open drain pin, and will not be harmed by pulling it to ground hard with a 100-ohm resistor. Now reset the target and ICE and try to connect VisualDSP++ to the target again. If VisualDSP++ does connect to the target with the EMU~ signal pulled to ground with a 100-ohm resistor, the problem is the EMU~ pin logic on the target hardware. Remove the 100-ohm resistor and investigate the EMU~ signal's integrity with an oscilloscope while trying to connect with VisualDSP++ (or use with an Ohmmeter to check the connectivity of the signal on the target (unpowered without the ICE attached). Before using VisualDSP++ as normal, be sure to remove the 100-ohm resistor to ground on the EMU~ pin.

    If the problem persists, I would recommend contacting private support via the link below, so that we can get a copy of your schematics and check if there is anything that may be causing this problem.

    http://www.analog.com/processors/support

    Regards,

    Craig.

Reply
  • 0
    •  Analog Employees 
    on Sep 16, 2011 8:56 AM

    Hi,

    The error "An EMUIR scan was attempted but the DSP is not ready to accept instruction via JTAG" could be the result of a hung core. A hung core can occur when the DSP itself gets stuck performing an operation that never completes (like a DMA operation for example). Depending on what state the DSP is in this can also lock out JTAG accesses by the emulator which would result in the error you see. Can you try using the "Stop DMA while target is halted" Target Option, available from 'Settings'->'Target Options' in the idde. Does using this option (try it both checked and unchecked) have any effect on the system overall?

    Although the ICE Test utility appears to be working this utility only talks to the JTAG port on the processor. It sets the processor to bypass mode and shifts bits through the JTAG bypass register. This utility only verifies that the JTAG connection is working. These tests do NOT test the /EMU signal, which is specific to ADI and used by our ICEs as a JTAG emulation status flag from the processor.  They also do NOT test for issues like shorts, problems with the processor's pins.

    Since you are using a custom board, it is recommended that you consult EE-68 'Analog Devices JTAG Emulation Technical Reference' for details of the JTAG specification and to ensure your board conforms with this standard . EE-68 can be found online at the following location:

    http://www.analog.com/ee68

    We also recommend that you try to rule out the EMU~ signal as the cause of the problem by pulling the EMU~ pin at the JTAG header to ground through a 100-ohm resistor. The DSP EMU~ signal is an open drain pin, and will not be harmed by pulling it to ground hard with a 100-ohm resistor. Now reset the target and ICE and try to connect VisualDSP++ to the target again. If VisualDSP++ does connect to the target with the EMU~ signal pulled to ground with a 100-ohm resistor, the problem is the EMU~ pin logic on the target hardware. Remove the 100-ohm resistor and investigate the EMU~ signal's integrity with an oscilloscope while trying to connect with VisualDSP++ (or use with an Ohmmeter to check the connectivity of the signal on the target (unpowered without the ICE attached). Before using VisualDSP++ as normal, be sure to remove the 100-ohm resistor to ground on the EMU~ pin.

    If the problem persists, I would recommend contacting private support via the link below, so that we can get a copy of your schematics and check if there is anything that may be causing this problem.

    http://www.analog.com/processors/support

    Regards,

    Craig.

Children
No Data