[DUPLICATE] Semihosting JLink

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

  • [DUPLICATE] Semihosting JLink


    I am trying to have semihosting with a Cortex-M3, Eclipse, GNU Embedded GCC (6-2017-q1) and the SEGGER J-Link Embedded probe (JLink v6.18c). The “printf” function works well. But the “fopen” function returns NULL and does not create the file on the host. Have you an idea about this issue ?
    Note: I have set the rdimon.specs but not the “newlib-nano” library, because if I set it the “printf” function does not work.

  • Hello,

    This question has already been answered in another thread: [SOLVED] Semihosting and JLink 6.32a
    Not all functions have been implemented due to security reasons.
    This thread will be closed now as duplicate.

    Best regards,
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    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.