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.

nowFlash: Error 199 - Unable to connect to target on port address 0x000.

Other Parts Discussed in Thread: RM48L952, UNIFLASH

Hi.

I am currently trying to use nowFlash (tm) to load some code into a RM48L952 device, on a board that I am currently trying to develop code for.  I am using the XDS100v2 usb "emulator".  On running nowFlash(tm) I get the following:

Config file C:\ti\nowFlash\v3.42.3\nowFlash.cfg Revision: 3
Accessing device 0 through port 0x000
User specified emulator type TIXDS100V2.
Using board configuration file C:\ti\nowFlash\v3.42.3\brddat\board_tixds100v2_v3
_cortex_rxx.dat
Port driver "C:\ti\nowFlash\v3.42.3\drivers\tixds510cortexR.dvr" ... LOADED
Port address 0x000 target..initialize..connect.................................\
...............................................................................\
...........................failed
Error 199 - Unable to connect to target on port address 0x000.
**************************************************************
Emulator drivers compatible with CCS 2.21 and later contain
a 'TRG_connect' function for connecting to the target after
initialization. If you see this error, check to make sure
all connections from the PC to the DUT are correct and the
DUT power levels and clock frequency are within specification.
**************************************************************
You may need to use the tools provided by the emulator
vendor to determine the layout of the scan chain and generate
a custom board configuration. Contact the emulator vendor
for more information.
**************************************************************
See nowFlash.pdf for more info.
**************************************************************
 Press Enter to exit

The hold in reset until you see the connecting message workaround does not help.

I've tried both the CORTEX_RXX and CORTEX_RXX_LE (CPU Family options) on the nowFlash(tm) software.

I think that the 100V2 JTAG connections are correct because using OPENOCD I read the same device ID's when using the 100V2 as when using a Olimex ARM-USB-OCD (not supported by nowFlash(tm)) Jtag interface.

Of interest is that I get identical behaviour from nowFlash(tm) when I don't have the 100V2 attached to the USB port.

Any help would be greatly appreciated.

Best regards,

    Chris Gibson

  • Hi Chris,

    I have forwarded your question to our nowFlash expert, who will respond to this soon.

    Regards,
    TI Hercules Forum Support

  • Hello Chris,

    Are you able to connect to this device using Code Composer Studio with the XDS100v2 emulator?

    Also, give the UniFlash v1.2 tool a try.  This tool will be replacing nowFlash.

  • Hello John.

    Thank you for your assistance.

    I do not have Code Composer Studio installed.

    The UniFlash tool reported successfully programming the device.  Yippy!  So my next task is to write something non-trivial that gives indication of life.

    Interesting after installing the UniFlash tool nowFlash now also works, so I would guess that UniFlash comes with more up to date dll s than those that came with nowFlash.

    Best regards,

      Chris Gibson

    PS For reference the output from nowFlash is now:

    nowFlash version 3.42  Build  (OFFICIAL)
    Config file C:\ti\nowFlash\v3.42.3\nowFlash.cfg Revision: 3
    Accessing device 0 through port 0x000
    User specified emulator type TIXDS100V2.
    Using board configuration file C:\ti\nowFlash\v3.42.3\brddat\board_tixds100v2_v3
    _cortex_rxx.dat
    Port driver "C:\ti\nowFlash\v3.42.3\drivers\tixds510cortexR.dvr" ... LOADED
    Port address 0x000 target..initialize..connect..reset..halt..complete
    Device ID value read=0x802AAD15 on port 0x000
    Device is Hercules type  with ECC, Unique ID=0x802AAD15, Minor Revision 2.
    Device Identification=RM48L9xxA_3MB.2
      Engineering Row ID=77152902
       Lot Number  =62832
       Flow Check  =0x7228
       Wafer Number=3
       Die Location: X=26, Y=38
    Target Frequency 180.00 MHz

    ...

    PPS : Now if nowFlash(tm) is run without the USB to the XDS100V2 connected the responce is identical to that in the first post.

    If nowFlash(tm) is run with the USB attached but the JTAG detached the response is

    nowFlash version 3.42  Build  (OFFICIAL)
    Config file C:\ti\nowFlash\v3.42.3\nowFlash.cfg Revision: 3
    Accessing device 0 through port 0x000
    User specified emulator type TIXDS100V2.
    Using board configuration file C:\ti\nowFlash\v3.42.3\brddat\board_tixds100v2_v3
    _cortex_rxx.dat
    Port driver "C:\ti\nowFlash\v3.42.3\drivers\tixds510cortexR.dvr" ... LOADED
    Port address 0x000 target..initialize..connect.....failed
    Error 199 - Unable to connect to target on port address 0x000.
    ----->8-----
     Press Enter to exit

    Note the five dots between connect and failed, rather than nearly 2 lines worth of them.

    If you do not have the TDIS (Test disconnected) on the JTAG connector pulled to ground you get three dots between “connect” and “failed”.