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.
-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 ().