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
  • Hello,

    I have exactly the same problem.

    when i use ulink2 with easykit XE167 all runs well but on my board ulink2 find the XE167 but it doesn't be able to load or erase flash memory.

    When i use memtools to load or erase my board all runs well

    Could you explain me why?

    thanks

Reply
  • Hello,

    I have exactly the same problem.

    when i use ulink2 with easykit XE167 all runs well but on my board ulink2 find the XE167 but it doesn't be able to load or erase flash memory.

    When i use memtools to load or erase my board all runs well

    Could you explain me why?

    thanks

Children
No data