Closed Sonic-Amiga closed 1 year ago
The root cause appeared bad power supply. I powered the module from "VCCIO" pin on my FT232 board (after setting 3.3V of course), and that was the mistake. The board yields enough power for flashing and basic functions, but it's not enough for the radio. Solution: use separate power.
Module: Tuya WR02 Device YML:
Boot log:
According to addr2line, PC points at:
And LR is:
C code at these locations is nothing suspicious, it's not a nullptr dereference:
And LR location is:
ulPortSetInterruptMask is very straightforward:
So how come we jump into xTaskResumeAll() right after ulPortSetInterruptMask () completes ? Does it have to do with interrupts, and xTaskResumeAll() is a part of scheduler ?