How to write a specific reg in ESP32 arduino

0

Hi I am trying to change the value of this register RTC_CNTL_WIFI_FORCE_PD to force the WiFi to stay down even after a reboot happens. I am using this function WRITE_PERI_REG(0x00020000, 1); but I am getting the following error

Guru Meditation Error of type StoreProhibited occurred on core  1. Exception 
was unhandled.
Register dump:
PC      : 0x400d1245  PS      : 0x00060c30  A0      : 0x801174fe  A1      : 
0x3ffd53e0  
A2      : 0x00020000  A3      : 0x00000001  A4      : 0x00000025  A5      : 
0x3ffd13b8  
A6      : 0x00000000  A7      : 0x00000000  A8      : 0x800d123f  A9      : 
0x3ffd53c0  
A10     : 0x00000000  A11     : 0x00000000  A12     : 0x3f400f33  A13     : 
0x00000000  
A14     : 0x00000000  A15     : 0x00000001  SAR     : 0x0000001b  EXCCAUSE: 
0x0000001d  
EXCVADDR: 0x00020000  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 
0xffffffff  

Backtrace: 0x400d1245:0x3ffd53e0 0x401174fb:0x3ffd5400
esp8266
arduino-esp8266
esp32
asked on Stack Overflow Mar 24, 2018 by Natalie • edited Mar 24, 2018 by Natalie

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0