This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nrf9160 SIM

Dear Sir.

I have some boards that work with nRF9160 and Chipsim.

Some work fine.

Using MQTT application

With two boards I get the errors.

ERROR: getaddrinfo failed 12

ERROR: mqtt_connect -106

No activity on the lines of SIM_CLK , SIM_IO .

In fact they are 0v all the time.

Please Advise. 

Parents
  • Hi!

     

    I have some boards that work with nRF9160 and Chipsim.

    How many boards exactly? Are they custom boards? If yes, please attach the schematics.

    When you say "Chipsim", do you mean an eSIM that fits in the eSIM holder on the DK?

     

    ERROR: getaddrinfo failed 12

    ERROR: mqtt_connect -106

     The first error is "Not enough core" and the second one is "Address family not supported by protocol family".

     

    Using MQTT application

     Does this mean the nrf/samples/nrf9160/mqtt_simple application? Have you changed it any?

    If yes, could you try with the unchanged version in NCS as well. 

    You can also add CONFIG_MQTT_LOG_LEVEL_DBG=y to the prj.conf file to get more information from the log.

    Best regards,

    Heidi

  • Hi.

    I am currently in preproduction.

    Out of 8 boards 2 of them gives the error.

    It is a custom board.

    Yes, You are right it is eSIM.

    What does it mean Not enough core and Address family not supported by protocol  family ?.

    When I get an assembled pcb, I erase it , program the Cellular modem , and my program , 

    It works fine with other pcb's.

    Attached schematic of eSIM wiring.

    Thanks.

  • Hi!

    Only looking at the picture you attacked, the wiring looks fine. But please attach your full schematic (as files, not images) so we can take a look. 

    Not enough core means there isn't enough memory available to store the return of the function. The next error is just a consequence of the first one because the application is trying to run mqtt_connect without any address information. 

    However, if the issue is only showing up on 2 out of 8 boards, that would indicate a HW issue on these two boards. Possibly a soldering issue or an ESD/EOS issue. 

    Check the resistance/voltage drop between all the lines in the SIM-chip, VDD, and ground. If there's a difference between the "good" boards and the boards that don't work, that might point you in a direction. 

    You should also try reflowing the board in case it's a soldering issue or a pin has short-circuited.

    Best regards,

    Heidi

Reply
  • Hi!

    Only looking at the picture you attacked, the wiring looks fine. But please attach your full schematic (as files, not images) so we can take a look. 

    Not enough core means there isn't enough memory available to store the return of the function. The next error is just a consequence of the first one because the application is trying to run mqtt_connect without any address information. 

    However, if the issue is only showing up on 2 out of 8 boards, that would indicate a HW issue on these two boards. Possibly a soldering issue or an ESD/EOS issue. 

    Check the resistance/voltage drop between all the lines in the SIM-chip, VDD, and ground. If there's a difference between the "good" boards and the boards that don't work, that might point you in a direction. 

    You should also try reflowing the board in case it's a soldering issue or a pin has short-circuited.

    Best regards,

    Heidi

Children
No Data
Related