Explanation of the boot mode's
Posted: Thu Feb 25, 2016 8:46 am
When I have errors in the code that makes my esp8266 crash, I receive messages like this:
rst cause:4, boot mode:(1,7)
It's clear to me the cause numbers. Not clear to me what does the boot mode values really mean.
I read in this link https://github.com/esp8266/esp8266-wiki/wiki/Boot-Process#esp-boot-modes that the first value of the boot mode:(x,y) is referred to the three low bits of x {MTDO, GPIO0, GPIO2} but I couldn't figure out what the y means. This is still confusing to me as sometimes in the place of x appears 1 or 3 depending of the situation and in the place of x appears 6 or 7.
Can you help me understand it?
Thanks in advance.
Best,
rst cause:4, boot mode:(1,7)
It's clear to me the cause numbers. Not clear to me what does the boot mode values really mean.
I read in this link https://github.com/esp8266/esp8266-wiki/wiki/Boot-Process#esp-boot-modes that the first value of the boot mode:(x,y) is referred to the three low bits of x {MTDO, GPIO0, GPIO2} but I couldn't figure out what the y means. This is still confusing to me as sometimes in the place of x appears 1 or 3 depending of the situation and in the place of x appears 6 or 7.
Can you help me understand it?
Thanks in advance.
Best,