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
  • Hi,

     

    You have to create an overlay for the board you're using.

    If that is nrf52840dk_nrf52840, try to add this to my_wanted_sample/boards/nrf52840dk_nrf52840.overlay:

     

    Kind regards,

    Håkon

  • 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:

     

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

     

    Kind regards,

    Håkon

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:

     

    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