This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Connect Ulink to XE

Good morning,

we are having problems connecting to a (custom) board equipped with an XE 164 using ULINK2. We are using the Keil compiler (PK166 v6.11).

While using the ULINK driver in Keil, the connection to the controller is established and the device is displayed in the ULINK-dialog ("JTAG device chain"). However, we are unable to flash or even erase the device. When performing the operation, we get the following errors:

"UL20CDS Driver Error: Can't start the FLASHOX.BOT application. Reset the target and try again."

and

"uVision3: Error: Flash Erase failed -" (sic)

We had the same problem with an "Easykit XE164" until we once flashed it using its on-board USB adapter via DAS server. From then on, direct access via ULINK was also working.

In trying to access our custom board we canibalized a "UConnect-CAN XE164" USB-stick, removed its controller and connected its JTAG lines to our board. Surprisingly enough, this contraption works, we can program and erase the controller on our board.

So my questions would be:

- Are there known problems using ULINK2 on XE boards, specifically on controllers that have never been programmed before? A less-than-reliable device driver on the PC side maybe?

- What else could be different between using ULINK2 and using the FTDI-solution from the UConnect via DAS to connect to the XE?

- Is there a stand-alone flash program for ULINK2, that maybe bypasses some drivers and is able to access the device directly?

Any help would be much apreciated.

Thanks in advance.

Parents
  • i finally succeeded by using the infineon software memtools to load a basic (or default) program and only after i succeeded to use the ulink to load my program. I think that ulink2 doesn't able to load or erase a virgin XE167, you have to use first "memtools", it's very strange for a 400 euros module!!!! ;)

Reply
  • i finally succeeded by using the infineon software memtools to load a basic (or default) program and only after i succeeded to use the ulink to load my program. I think that ulink2 doesn't able to load or erase a virgin XE167, you have to use first "memtools", it's very strange for a 400 euros module!!!! ;)

Children
  • Hello,

    using Memtools once on each virgin board would be perfectly acceptable to me.

    However, I can't figure out how to connect to the board with Memtools: Which driver do I have to select for the ULINK2? Does it run via DAS? If not, is there a DLL I can use or a seperate driver to install that Memtool can use?

    Regards,
    Alto Speckhardt