Can not get semihosting work with the J-Link

Sysprogs forums Forums VisualGDB Can not get semihosting work with the J-Link

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7772
    sunsina
    Participant

    I tried to open a Embedded project for a baremetal STM32F103C8 board, using J-Link_V510g with SWD interface and  1Mhz fixed clock speed.

    I activated ARM semihosting in Debug Settings as Follows:
    Virtual ARM console support:Enabled

    And I added #include<sdtio.h> as a header in my main file where I have used printf(…) command.

    Nothing is reflected to the ArmSemiHosting console.
    I am wondering what I have missed in my settings?
    Thanks

    #7784
    support
    Keymaster

    Hi,

    The J-Link uses its own implementation of semihosting that can be enabled with the “monitor semihosting enable” command as described here.

    If you want to use the VisualGDB implementation of it, please try using OpenOCD instead.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.