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
  • 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)>;
    			bias-pull-up;
    		};
    		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,

    Håkon

Children
No Data
Related