공부하고 차근 차근 보려고 정리해놨어요.
ISR not in IRAM 이 도대체 무슨 뜻인가? : forum.arduino.cc/index.php?topic=616264.0
The proper way to do an ISR for ESP8266 is by placing it in the IRAM - instead of having it execute from Flash. The second option works most of the time but is not reliable, a few years ago I found that out the hard way as I had an ISR crash now and then. Adding the ICACHE_RAM_ATTR fixed this issue: it places the ISR in IRAM, and no more random crashes.
-> 논리적으로 이해는 가는데, 왜 켤 때마다 ISR not in IRAM이 뜨는지는 설명이 안된다.
그럼 정상 작동할 때도 있고 crash날 때도 있어야지.
https://orasman.tistory.com/435
https://community.blynk.cc/t/error-isr-not-in-iram/37426/4
https://forum.arduino.cc/index.php?topic=633520.0
https://arduino-esp8266.readthedocs.io/en/latest/reference.html?highlight=attachinterrupt#digital-io
https://github.com/esp8266/Arduino/issues/2680
'아두이노 (임베디드)' 카테고리의 다른 글
(중지) 아두이노를 다루기 위한 배경 지식 모음 (ISR not in IRAM issue) (0) | 2020.06.29 |
---|
최근댓글