# Something is RESETting my eUICC during a profile download - HL7800

**URL:** <https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240>\
**Category:** mangOH Red\
**Created:** [February 24, 2023, 12:49am UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240 "2023-02-24T00:49:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![allynsnook](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@allynsnook](https://mangoh.discourse.group/u/allynsnook)\
**Post date:** [February 24, 2023, 12:49am UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/1 "2023-02-24T00:49:24Z")

</div>

I’m running a mangOH Red with an HL7800 module. I’m attempting to download a new profile to an eUICC and something, possibly the the mangOH firmware, is resetting the SIM during the download. I get this from simtrace2:

```auto
TPDU (incomplete): 80 14 00 00 ff 81 03 01 42 00 82 02 82 81 83 01 00 b6 81 ed 42 72 5c ad 99 d3 79 3c 57 24 02 b8 b6 90 1e 4c a6 f8 e4 7c 92 6d 1b 39 24 f8 10 c0 84 ff 3f b7 08 db 6a 10 4d 65 08 43 a2 87 46 ed f5 47 86 c3 2d af ad 17 0c 83 81 b6 23 e7 98 8d 28 fd 50 c0 60 20 15 07 1c bc 53 c3 6f b7 a5 33 3d 99 e9 dd 64 a9 13 fc 38 63 88 e5 94 84 18 5f 3b 1a f0 cc e5 f0 70 b4 96 54 20 a4 96 95 d6 2b 8e 6b 11 4a 83 dd 8a 0d 3c 3f ae 51 62 ad 43 6d 79 e4 76 d6 ee 6f 45 20 83 30 5f 8b e9 5d d3 e2 de d3 da 4c 61 a9 e9 0c 57 1e 22 65 57 63 38 94 94 2f 30 c2 f9 0c e0 c9 fc f3 03 1d b1 05 86 87 4f 9f 33 b0 cb df e4 6f d3 52 54 f9 e9 3c 03 4c 97 a2 39 4e ef 6c f1 28 34 a0 42 82 6e bd 2d 31 aa 41 5f 5d bd 49 37 ac a5 9c bb 64 82 ab ea c8 fb e9 62 cb fb 72 7e a3 2f 77 63 72 a4 9a 04 6d 8a 37 01 ff 
Card state change: reset asserted
Card state change: reset de-asserted
ATR: 3b 9f 96 80 3f 87 00 80 31 e0 73 fe 21 1b 57 45 4d 75 30 30 17 51 bb 
PPS: ff 10 96 79 
PPS: ff 10 96 79 
Fi/Di switched to 512/32
TPDU: 00 a4 00 04 02 3f 00 61 2b 

```

Any ideas what could be causing this? As I understand it, the Red with a HL7800 is basically just a bit pipe - i.e. no fancy applications - and I have checked and things like power management (CPSMS) are disabled.

I have asked in another thread about firmware versions and I did notice that Legato RTOS and “Apps” are mentioned by ATI9, so I am wondering if there is a “fancy application” that is interfering here.

```auto
ati9
HL7800.4.6.9
HL78xx.4.6.9.4.RK_02_01_02_00_137.20210615
2021/06/15 21:02:09
IMEI-SV: 3546160901940314
Legato RTOS: 18.09.6.ALT1250.rc8 2021/05/18 20:22:09
atSwi: 44.01
UBOOT: 01.03
Apps: RKAPP_02_01_02_00_120__c2a0a2a6e5dd44ea4710b32fe98e69dc72bab7ce
MAC: ALT1250_02_01_02_00_123_FW
PHY: 12.50.265649
PMP: 277291
SBUB: 0
SBFW: 0
RPuK: 
FPuK: 
RBUB: 0
RBFW: 0

OK

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 24, 2023, 1:09am UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/2 "2023-02-24T01:09:31Z")

</div>

how do you download a new profile to an eUICC of HL78?

---

<div class="post-metadata">

**Author:** ![allynsnook](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@allynsnook](https://mangoh.discourse.group/u/allynsnook)\
**Post date:** [February 24, 2023, 3:32pm UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/3 "2023-02-24T15:32:22Z")

</div>

Using remote SIM provisioning - over the air - i.e. [How does eUICC profile switching work? - YouTube](https://youtu.be/ZAe9GSpZdr4?t=201)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 24, 2023, 3:37pm UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/4 "2023-02-24T15:37:21Z")

</div>

so you are putting HL7800 in mangoh red board, and then you download a new profile to an eUICC inside HL7800 remotely

what do you mean by the mangoh firmware resetting the SIM during the download?  
mangoh is a hardware board, it does not have firmware

---

<div class="post-metadata">

**Author:** ![allynsnook](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@allynsnook](https://mangoh.discourse.group/u/allynsnook)\
**Post date:** [February 24, 2023, 3:41pm UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/5 "2023-02-24T15:41:53Z")

</div>

> [@allynsnook](#):
>
> ```auto
> TPDU (incomplete): 80 14 00 00 ff 81 03 01 42 00 82 02 82 81 83 01 00 b6 81 ed 42 72 5c ad 99 d3 79 3c 57 24 02 b8 b6 90 1e 4c a6 f8 e4 7c 92 6d 1b 39 24 f8 10 c0 84 ff 3f b7 08 db 6a 10 4d 65 08 43 a2 87 46 ed f5 47 86 c3 2d af ad 17 0c 83 81 b6 23 e7 98 8d 28 fd 50 c0 60 20 15 07 1c bc 53 c3 6f b7 a5 33 3d 99 e9 dd 64 a9 13 fc 38 63 88 e5 94 84 18 5f 3b 1a f0 cc e5 f0 70 b4 96 54 20 a4 96 95 d6 2b 8e 6b 11 4a 83 dd 8a 0d 3c 3f ae 51 62 ad 43 6d 79 e4 76 d6 ee 6f 45 20 83 30 5f 8b e9 5d d3 e2 de d3 da 4c 61 a9 e9 0c 57 1e 22 65 57 63 38 94 94 2f 30 c2 f9 0c e0 c9 fc f3 03 1d b1 05 86 87 4f 9f 33 b0 cb df e4 6f d3 52 54 f9 e9 3c 03 4c 97 a2 39 4e ef 6c f1 28 34 a0 42 82 6e bd 2d 31 aa 41 5f 5d bd 49 37 ac a5 9c bb 64 82 ab ea c8 fb e9 62 cb fb 72 7e a3 2f 77 63 72 a4 9a 04 6d 8a 37 01 ff 
> Card state change: reset asserted
> Card state change: reset de-asserted
> 
> ```

> what do you mean by the mangoh firmware resetting the SIM during the download?

^^ The card state change reset above. I am trying to determine if 1) the eUICC is resetting itself or 2) something is resetting the eUICC

> mangoh is a hardware board, it does not have firmware

Good point! I should have probably said that the HL7800 is resetting the eUICC - I am running the latest HL7800 firmware (4.6.9). Are there any applications running on the HL7800 that I should be aware of in this regard? i.e. applications that might reset the eUICC due to watchdogs or power management or something?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 24, 2023, 3:49pm UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/6 "2023-02-24T15:49:07Z")

</div>

does the profile successfully being download to the eUICC?

what is the APN you are using for this eSIM?

Is this a Sierra eSIM?

i saw other people is using “lp.fota.swir” as APN, seems it is Sierra eSIM

> **[HL7800 Access denied to network](https://forum.sierrawireless.com/t/hl7800-access-denied-to-network/27707)**
>
> Hello, We’re developing system with HL7800. but we faced to very critical issue related to HL7800. Our HL7800 works well but sometime not connected to network, so much time later it worked again or not working continuoulsy… We debugged this...

---

<div class="post-metadata">

**Author:** ![allynsnook](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@allynsnook](https://mangoh.discourse.group/u/allynsnook)\
**Post date:** [February 24, 2023, 9:25pm UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/7 "2023-02-24T21:25:59Z")

</div>

> does the profile successfully being download to the eUICC?

No

> what is the APN you are using for this eSIM?

HOLOGRAM. The SIM connects successfully to the cellular network and is able to pass data using the bootstrap profile

> Is this a Sierra eSIM?

No. A Hologram one.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 25, 2023, 2:28am UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/8 "2023-02-25T02:28:39Z")

</div>

where is the eUICC located?  
inside HL7800?  
Or you solder the eSIM to the mangoh board?

Can you take a picture on how is your setup on mangoh red?  
how do you take the SIM trace?

---

<div class="post-metadata">

**Author:** ![allynsnook](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@allynsnook](https://mangoh.discourse.group/u/allynsnook)\
**Post date:** [February 28, 2023, 1:00am UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/9 "2023-02-28T01:00:12Z")

</div>

Sure! Here you go. The [SimTrace2](https://shop.sysmocom.de/SIMtrace2-Hardware-Kit/simtrace2-kit) is really an incredible aid for this work. See also [SIM card protocol tracing using Osmocom SIMtrace - Harald Welte - YouTube](https://www.youtube.com/watch?v=n2GSn9HrEQs)

 ![setup](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/f/fe74db60801feddbef677e11b3f13c0c72822759.jpeg)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [February 28, 2023, 1:32am UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/10 "2023-02-28T01:32:18Z")

</div>

do you have other module to put in the mangoh red board to see if this is the same behaviur to resetting the SIM in simtrace?

e.g.  
WP76/ WP77 modules

---

<div class="post-metadata">

**Author:** ![allynsnook](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@allynsnook](https://mangoh.discourse.group/u/allynsnook)\
**Post date:** [March 4, 2023, 1:22am UTC](https://mangoh.discourse.group/t/something-is-resetting-my-euicc-during-a-profile-download-hl7800/10240/11 "2023-03-04T01:22:52Z")

</div>

I don’t, but I will try some other profiles soon to see if it is carrier dependent
