# LMIC oslmic.c.53 Error in ESP8266 NodeMCU-12F and SX1276 Context

**URL:** <https://www.thethingsnetwork.org/forum/t/lmic-oslmic-c-53-error-in-esp8266-nodemcu-12f-and-sx1276-context/65959>\
**Category:** LMIC\
**Created:** [December 14, 2023, 5:04pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-oslmic-c-53-error-in-esp8266-nodemcu-12f-and-sx1276-context/65959 "2023-12-14T17:04:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![PeterH61](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/peterh61/32/45413_2.png) [@PeterH61](https://www.thethingsnetwork.org/forum/u/PeterH61)\
**Post date:** [December 14, 2023, 9:40pm UTC](https://www.thethingsnetwork.org/forum/t/lmic-oslmic-c-53-error-in-esp8266-nodemcu-12f-and-sx1276-context/65959/4 "2023-12-14T21:40:39Z")

</div>

> [@descartes](#):
>
> Not a valid assumption unless you’ve exercised the SPI interface with another sketch so don’t discard that idea too soon.

**First the solution:** You were absolutely right. I still had an original packaged module and surprise, it works with the old an new sketch code 😀. It’s not always your own code’s fault…

**Just to answer your questions:**

> [@descartes](#):
>
> Does the 12E in the new board with the new code work?
> 
> And does the 12E work with the test sketch?

Sure, a missing test case, but in the event of an error without a backup solution it wasn’t an option.

> [@descartes](#):
>
> But overall, it’s all about that line 53 - which comes up on the forum search as well …

I found some posts about it, e.g. [https://www.thethingsnetwork.org/forum/t/error-mcci-lorawan-lmic-library-3-0-99-src-lmic-oslmic-c-53/33401](https://www.thethingsnetwork.org/forum/t/error-mcci-lorawan-lmic-library-3-0-99-src-lmic-oslmic-c-53/33401) which reference to the code line in oslmic. But I had no idea what to do with it.

```auto
void os_init() {
    if (os_init_ex((const void *)&lmic_pins))
        return;
    ASSERT(0);
}

```

However, thank you very much for the essential hint.

Peter

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/lmic-oslmic-c-53-error-in-esp8266-nodemcu-12f-and-sx1276-context/65959)._
