[SOLVED] Terminal input with GDB server and J-Link

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

  • [SOLVED] Terminal input with GDB server and J-Link

    I'm able to use the semihosting features but terminal input like SYS_READC.

    When I try to read data form terminal I always read '7' and the processor stops on the
    asm volatile("bkpt 0xAB \n\t" : "=r"(r0) : : );
    instruction.

    Is terminal input implemented? If yes what I do wrong?
  • Hello,

    Thank you for your inquiry.
    The following thread should answer your questions.
    [SOLVED] Semihosting and JLink 6.32a

    Best regards,
    Nino
    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.