problem with Artemis Redboard with Jlink using IAR/Keil

Hello, i am trying to apply the hello world Example using AmbiqSuite-R2.4.2 SDK with Artemis Redboard

i am using Jlink (PLUS) with IAR/Keil IDE

the programs actully works ,(i tryed many examples with delayes , rtc_isr …) but without any output , i could not see any thing as output

there is nothing from printf funktions and LED0 does not work at all

here is some code:

//printf
am_bsp_uart_printf_enable();
am_util_stdio_printf("Hello World\n");

//LED0
   am_hal_gpio_fastgpio_enable(AM_BSP_GPIO_LED0); 
    am_hal_gpio_fastgpio_set(AM_BSP_GPIO_LED0);
// i have noteced that AM_BSP_GPIO_LED0=10 inthe SDK , i tryed also with value 13 but it did not worked too

i notced also that the arduino SDK is very similar and the code above worked in arduino(with results) ,and it workes with( IAR + AmbiqSuite-R2.4.2 SDK )too but withot any real results

i have to work with IAR/Keil and not with Arduino.

i know it is a very simple question ,

if there is a problem please tell me , or if i have to read something suggest please where to start

Hi

How are you monitoring the serial port? Have you selected the proper baud rate?

Are you sure that you are using the proper board support package (BSP)? the function “am_bsp_uart_printf_enable();” is board-specific and if you link against the wrong library then it might be configuring the wrong pins.