Eclipse->Yagarto->JLink->AT91SAM7 - How to read debug unit messages

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

  • Eclipse->Yagarto->JLink->AT91SAM7 - How to read debug unit messages

    Hi.

    In eclipse, I am able to build, download and debug my projects just fine.

    But when I use the onchip debug unit to send debug messages via JTAG (the DBGU_* registers), I do not see these messages anywhere.
    Does anybody know if there are some special settings I have to use?

    Previously, I used Crossworks for ARM, and the messages have been printed in a specific log window.
    With eclipse, I do not know where these messages should occure.

    Does anybody know how to use the debug unit with gdb+eclipse?

    Best regards,
    Dirk
  • Hi Dirk,

    On STM32 there was exactly the same problem, so try this thread:
    STM32F2 + SWO + JLINK + JLINK server + GDB client elf console


    I am pretty sure that this one will NOT help you since the post refers to SWO on a STM32 device.
    The Atmel AT91SAM7 is an ARM7 device which does NOT support SWO.

    It is also NOT exactly the same problem because:
    the DBGU of the SAM7 is a separate hardware UART unit.
    J-Link does not have any connection to this unit so there is nothing J-Link can send or receive via this unit.
    You need a separate RS232 connection from your hardware to the PC. I do not know how to configure Eclipse to display characters received on an UART connected to the PC.



    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.