Search found 9 matches

by JoeThibodeau
Tue Nov 12, 2019 6:59 pm
Forum: General Discussion
Topic: Meditation Guru exception on SLIST_FOREACH
Replies: 5
Views: 5730

Re: Meditation Guru exception on SLIST_FOREACH

Figured out the issue: This is stack space issue because main has a small stack. And because this application was in C++ using a pThread instead of FreeRTOS directly resulted in the component running. On to debugging the rest!
by JoeThibodeau
Tue Nov 12, 2019 4:27 pm
Forum: General Discussion
Topic: Meditation Guru exception on SLIST_FOREACH
Replies: 5
Views: 5730

Re: Meditation Guru exception on SLIST_FOREACH

I think I have isolated the issue. set_specific : key 7, entry 1073460588, list 1073472900 I (695) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE ... I (875) wifi: Init max length of beacon: 752/752 set_specific : key 7, entry 1073510272, list 1073461396 Wi...
by JoeThibodeau
Tue Nov 12, 2019 3:23 pm
Forum: General Discussion
Topic: Meditation Guru exception on SLIST_FOREACH
Replies: 5
Views: 5730

Re: Meditation Guru exception on SLIST_FOREACH

Rebooting... ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:7092 load:0x40078000,len:14792 load:0x40080400,...
by JoeThibodeau
Mon Nov 11, 2019 9:05 pm
Forum: General Discussion
Topic: Is it recommended/practical to use C++ instead of plain C ?
Replies: 16
Views: 23442

Re: Is it recommended/practical to use C++ instead of plain C ?

PPS The first C++ project I worked on was a disaster. Noone knew how to approach C++ except the man we followed, turned out he had a text book under his desk. Thanks for challenging my assertions. Yes you are right. C++ is a tight and useful language for mid size to large projects where design patt...
by JoeThibodeau
Mon Nov 11, 2019 6:15 pm
Forum: General Discussion
Topic: ESP32 still connects to repeater even when its signal is very weak
Replies: 1
Views: 2672

Re: ESP32 still connects to repeater even when its signal is very weak

You can use RSSI to determine which connection is strongest and control connectivity in your code.
by JoeThibodeau
Mon Nov 11, 2019 6:11 pm
Forum: General Discussion
Topic: Exception decode problem
Replies: 3
Views: 4042

Re: Exception decode problem

Nice find!
I hit the same issue in my post previous to yours and you gave me insight into why.

The change you made was to make the ported code use index[1] correct?
A stroke of luck you had the same issue I did at the same time!

Thanks in advance!
by JoeThibodeau
Mon Nov 11, 2019 12:01 pm
Forum: General Discussion
Topic: Meditation Guru exception on SLIST_FOREACH
Replies: 5
Views: 5730

Meditation Guru exception on SLIST_FOREACH

I am porting a C++ library to ESP32 and hit an exception on SLIST_FOREACH macro in 2 instances in the pthread_local_storage library. I am using the latest IDF build. I am not calling this code directly. It is called within the module. My only clue is that list maybe null but how could it if pthread ...
by JoeThibodeau
Mon Nov 11, 2019 11:55 am
Forum: General Discussion
Topic: OTA update without internet/WiFi network
Replies: 12
Views: 18761

Re: OTA update without internet/WiFi network

I coded a comprehensive OTA solution for a consumer embedded appliance vendor this year. The serious flaw in your strategy is that anyone can brick your device by updating the firmware. In your design you have accounted for no security. Security is a big deal in professional OTA solutions. If you do...
by JoeThibodeau
Mon Nov 11, 2019 11:49 am
Forum: General Discussion
Topic: Is it recommended/practical to use C++ instead of plain C ?
Replies: 16
Views: 23442

Re: Is it recommended/practical to use C++ instead of plain C ?

I am in the process of porting a C++ library to ESP32. So far it has been OK however I hit a run time error with a macro for looping which causes a Meditation Guru exception in the PThread class. The perks of C++ are welcome however I am not fond of the bloat associated with C++ in a resource constr...