Problem with jLink and SAM-BA

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Problem with jLink and SAM-BA

    I have an AT91SAM9261-EK, along with a jLink device, and I am trying to use SAM-BA, and/or gdbserver + Eclipse. I am having limited success with all three scenarios. My SAM-BA problem first:

    -When I start SAM-BA, I get the dialog asking to select the connection, and \jlink\ARM0 does show up, so I click connect. Once I do that, after about 5 seconds another dialog pops up saying "DCC communication timeout during write" If I click 'ok', SAM-BA starts up just fine. When I load code into SDRAM, it gives me the same "DCC..." error message, but the code does get transferred, and it runs. If I try to load code into SRAM however, it does not run properly (no LEDs blinking on the board).

    If I use a USB connection directly to the board, instead of JTAG (jLink), everything works fine. No "DCC..." messages, the code runs fine out of both SDRAM and SRAM. Is there a clock setting or something for jLink that I am missing?

    I am having a whole other set of issues with using yagarto/eclipse/gdbserver, but I will save that for another post. :)

    Thanks for the help.

    The post was edited 1 time, last by budhe888 ().

  • Hello budhe888,

    we have fixed this issue in the J-Link software version 3.89c, so using the latest beta version (3.89j) should solve this problem.
    Simply install the latest beta version and replace the old JLinkARM.dll in your SAM-BA directory by the new one.

    The latest J-Link software version can be downloaded from our website: segger.com/download_jlink_beta.html

    It has been tested with J-Link Rev. 5 and J-Link Rev. 6

    Can you please download the latest beta version and confirm that it solves the problem?


    Best regards,

    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Thanks Alex, that did fix the error message I was getting about DCC; I do not get that message anymore. However, functionally I am still unable to get a program to work in SRAM, loading it through SAM-BA and j-link. If I do it through j-link commander, it works just fine. The problem could be with SAM-BA, except that it works normally if I connect to the board through USB instead of JTAG.

    Adit