Rak5010 issues with quectel_bg95_init_chat_script

Issue:
Modem fails in initialise on zephry 3.5, 3.6, 3.7 and Golioth, nrf connect 2.6 and 2.7

Setup on nrf connect 2.6:
pr.conj

#Boot loader
#CONFIG_BOOTLOADER_MCUBOOT=y

#USB Console
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT="RAK5010 Zephyr"
CONFIG_USB_DEVICE_PID=0x0004
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=y
CONFIG_UART_LINE_CTRL=y
CONFIG_USB_CDC_ACM_LOG_LEVEL_OFF=y

#Logging
CONFIG_LOG_BACKEND_UART=y
CONFIG_LOG=y
CONFIG_SHELL_LOG_BACKEND=n
CONFIG_LOG_BACKEND_RTT=y
CONFIG_MODEM_LOG_LEVEL_DBG=y


# Network management
CONFIG_NET_MGMT=y
CONFIG_NET_MGMT_EVENT=y
CONFIG_NET_CONNECTION_MANAGER=y


# Statistics
CONFIG_SHELL=y
CONFIG_MODEM=y
CONFIG_MODEM_SHELL=y
CONFIG_PM_DEVICE=y
CONFIG_MODEM_CELLULAR=y

# Networking
CONFIG_NETWORKING=y
CONFIG_NET_NATIVE=y
CONFIG_NET_L2_PPP=y
CONFIG_NET_IPV4=y
CONFIG_NET_UDP=y
CONFIG_NET_SOCKETS=y

rak5010_nrf52840.overlay

/ {
    chosen {
      zephyr,console = &cdc_acm_uart0;
      zephyr,shell-uart = &cdc_acm_uart1;
      modem-uart = &uart0;
      modem = &quectel_bg9x;
    };
  };
  &zephyr_udc0 {
    cdc_acm_uart0: cdc_acm_uart0 {
      compatible = "zephyr,cdc-acm-uart";
    };
    cdc_acm_uart1: cdc_acm_uart1 {
		compatible = "zephyr,cdc-acm-uart";
	};
  };

Details:

The modem fails to start on two boards that I have and I’ve tried two sim cards, the only output I have on

[00:00:00.370,056] modem_quectel_bg9x: Setting Modem Pins
[00:00:00.370,056] modem_quectel_bg9x: Deactivate W Disable
[00:00:03.370,300] modem_quectel_bg9x: … Done!
[00:00:03.370,330] modem_quectel_bg9x: Waiting for modem to respond
[00:00:53.370,422] modem_quectel_bg9x: Timeout waiting for RDY

Welcome to RAK forum @steverjuk ,

Our team is not really capable on supporting you for Golioth and Zephyr. I recommend to checkout Golioth forum for this issue.

I can tag here @ChrisGammell if ever he has ideas.

Yep, Stephen popped over to our forum and we’re discussing there!

1 Like