Troubles working with EXTERNAL_SLOT_2 on WPx5xx


#1

We have the same problem with WP8548 (on MangoH Green, primary CF3) and WP7502 (on our custom board). Using ‘cm sim select’ command we can’t switch to EXTERNAL_SLOT_2. E.g.

login as: root
Linux swi-mdm9x15 3.14.29ltsi-5d7a6bf7c6_ed88cc68b5 #2 PREEMPT Sat Feb 6 02:37:18 PST 2016 armv7l GNU/Linux
root@swi-mdm9x15:~# cm radio
Power: OFF
Current Network Operator:
Status: Not registered and not currently searching for new operator (LE_MRC_REG_NONE)
Signal: No signal strength (0)

root@swi-mdm9x15:~# cm sim info
Type: EXTERNAL_SLOT_1
ICCID: 89701202115300878591
Home Network Operator: Tele2 RU
IMSI: 250202106237359
Phone Number:
root@swi-mdm9x15:~# cm sim select EXTERNAL_SLOT_2
root@swi-mdm9x15:~# cm sim info
Type: EXTERNAL_SLOT_2
ICCID:
Home Network Operator: MegaFon RUS
IMSI:
Phone Number:
root@swi-mdm9x15:~# cm sim
SIM card is absent (LE_SIM_ABSENT).

root@swi-mdm9x15:~#

But when we reboot the board with the EXTERNAL_SLOT_2 selected, ‘cm sim info’ gives us meaningfull information (after reboot completed), ‘cm sim’ reports READY for the second slot and we can establish a connection using ‘cm data connect’ command. When we switch from SLOT_2 to SLOT_1 and back then SIM 2 is reported as ABSENT again (until next reboot). SLOT_1 is always reported as READY.
Could anyone help? Is there a tricky command sequence?


#2

SIM1 has SIM DETECT signal and doesn’t need to power cycle after insertion. But you need to power cycle each time you remove and insert the SIM2.


#3

Habib. Thank you for your reply.
In my first message I wasn’t clear enought. So let me clarify. I have a mangOH Green board with WP8548 installed in a primary CF3. I also have 2 SIM cards installed (for 2 different mobile network operators: Megafon and Tele2 - they work in Russia) in two different UIM sockets on my mangOH board. I DON’T physically switch/remove/reinstall those SIMs during my work. I’m just trying to switch between them with “cm sim select EXTERNAL_SLOT_*” commands. The problem is that I can’t switch to EXTERNAL_SLOT_2 without power cycling the board: “cm sim” reports “LE_SIM_ABSENT” for the second slot.
So if you (or someone else on this forum who have a mangOH Green board with a WPx5xx and 2 SIMs installed) could run few commands through SSH on your mangOH Green board and post results here I would be sooo happy! :slight_smile: Here are these commands:
cm sim select EXTERNAL_SLOT_1
cm sim
cm sim select EXTERNAL_SLOT_2
cm sim
cm sim info

By the way. I’ve found out that I still CAN switch between SIMs through AT-commands. So strange.


#4

Here you go:
root@swi-mdm9x15:~# cm sim select EXTERNAL_SLOT_1
root@swi-mdm9x15:~# cm sim
SIM card is inserted and unlocked (LE_SIM_READY).

root@swi-mdm9x15:~# cm sim select EXTERNAL_SLOT_2
root@swi-mdm9x15:~# cm sim
SIM card is inserted and unlocked (LE_SIM_READY).

root@swi-mdm9x15:~# cm sim info
Type: EXTERNAL_SLOT_2
ICCID: 89332401000004349797
Home Network Operator: I TIM
IMSI: 222013094567002
Phone Number:


#5

Habib,
Thank you so much! One more thing to verify. Do you use a custom build firmware or downloaded one? I use a downloaded:
root@swi-mdm9x15:~# cm info firmware
SWI9X15Y_07.12.14.00 r34472 CARMD-EV-FRMWR1 2017/11/29 18:24:42


#6

Just a quick update.
I’ve updated legato framework on a target (WP8548/mangOH Green) to the latest version so far - 18.05. It still reports LE_SIM_ABSENT for the second SIM but I can connect with ‘cm data connect’ command (after the second attempt though). That’s a big step further!