Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel panic with ESP8266 <ISR not in IRAM> #2

Open
SJ76 opened this issue Feb 13, 2021 · 2 comments
Open

Kernel panic with ESP8266 <ISR not in IRAM> #2

SJ76 opened this issue Feb 13, 2021 · 2 comments

Comments

@SJ76
Copy link

SJ76 commented Feb 13, 2021

Hello there and thank you for your work and effort with the CC1101 (and others) libraries.

I tried to use the "Receive_advanced" example withe Simu_Remote_CC1101 library on ESP8266 (working with your SRC_DRV Lib) but it gives me kernel panic. It seems the interrupt handle is not in IRAM. I remeber some time ago there was a change in one of the ESP8266 releases that forced me to update some sketches to use <void ICACHE_RAM_ATTR handleInterrupt();> to bring the interrupt routine in IRAM to run properly. I tried to implement this but my knowledge in change libraries is very limited.

I would be glad i you find the time to look into the issue.
Background: I am using the <ELECHOUSE_CC1101_SRC_DRV.h> successfully to control simple 433.92 Mhz sockets as well as the 443.42Mhz Somfy sun blinds.
In addtion my rented flat also has so to say "noname" blinds that also operate in the 433.42 band, remotes behave quite like somfy rts (up/down/stop/program buttons), but the underlying protocol seems different. Afraid to deassemble the blinds, I tried the abovementioned Receive_advanced example to maybe shed some light on the differences between the received values of the somfy rts and the nonmane remote control signals.

@LSatan
Copy link
Owner

LSatan commented Feb 15, 2021

Hi, thank you for the message. I fixed it and tested it. Which remote control do you use? Give me feedback on whether it works. Regards

@SJ76
Copy link
Author

SJ76 commented Feb 27, 2021

Hello again, please excuse the delay in my answear. I am quite busy at work and in my spare time i tinkered quite successfully with my cc1101 module now controlling several kinds of sockets, the abovementioned Somfy sun blind and since today 2 addtional sunblinds that used a quite elusive coding.
To your question, the sunblind in my rented flat comes with a Somfy Telis 1 RTS Pure remote control.
My first cc1101 module is already fixed in a sort of cental transceiver hub relaying signals from a gerneric 433.92 mhz remote control (for wife acceptance factor) and from the central web based front end (for me - based on a esp32) to the blinds and sockets. I bought another one but must rebuild a setup to test your changes. Looking into your updated source it should for sure prevent the kernel panic at boot time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants