FATAL ERROR: command exited with status 1

I am using nRF52840 and SIMCOM 7600G. I am trying to run samples/net/gsm_modem but getting the following error. Any solution please?

Parents Reply Children
  • Thanks  for reply.

    I have added the above code but getting no response.

    I have connected pins as below

    nRF52840  ->    GSM 7600

    P0.6-> Rx
    P0.8-> Tx

  • Hi,


    uart0 is default used by the console output, as you can also see in the lower end of your screenshot (it prints the boot banner).

    instead, try using the uart1 for this purpose:

    &pinctrl {
    	uart1_default: uart1_default {
    		group1 {
    			psels = <NRF_PSEL(UART_RX, 1, 1)>;
    		group2 {
    			psels = <NRF_PSEL(UART_TX, 1, 2)>;
    &uart1 {
    	status = "okay";
    	compatible = "nordic,nrf-uarte";
    	current-speed = <115200>;
    	pinctrl-0 = <&uart1_default>;
    	pinctrl-1 = <&uart1_sleep>;
    	pinctrl-names = "default", "sleep";
    	gsm: gsm-modem {
    	    compatible = "zephyr,gsm-ppp";


    I'm adding the pinctrl setup here as well, where it by default uses P1.01 and P1.02.


    Kind regards,