Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Victor Aprea
@vicatcu
the bin there is 211424 bytes
Ivan Grokhotkov
@igrr
it doesn't account for the sector which contains eboot, and some additional padding
so you should read 211424. sorry, forgot about that...
Victor Aprea
@vicatcu
python esptool.py -p /dev/ttyUSB0 read_flash 0x00 211424 download.sketch.bin
ya?
Ivan Grokhotkov
@igrr
yep
you can do hexdump and the diff hexdumped bins
Victor Aprea
@vicatcu
ah ok one sec
files are identical
is the bootloader ROM actually a ROM or could it have been corrupted?
and if it's corrupted can it be restored?
Ivan Grokhotkov
@igrr
It's a mask rom, and looking at serial output, it appears to work.
Victor Aprea
@vicatcu
i'm not sure what to make of the fact that I can't seem to see the bootloader output now though
i think i was in windows when i was seeing it before
a little hard to believe that would matter... but
i'll reboot and check it out in windows again
brb
Victor Aprea
@vicatcu
what the hell, i see output in windows @ 77600
Ivan Grokhotkov
@igrr
might be a driver-related difference
Victor Aprea
@vicatcu

anyway, ya
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

what's the 6 part of (3,6) telling me?
the rst cause: 2 is strange because there is no activity on the reset line either
it is pegged high
how about the flash_id... is that actually reading it out of from spi flash, or is that in memory somewhere
Victor Aprea
@vicatcu
@igrr i have a feeling we're just going to call it an unsolved ESD mystery and move on... hehe
Ivan Grokhotkov
@igrr
might be the right thing to do, in terms of time spent :)
Daniel Tullemans
@tullo-x86
Hi all, is this an appropriate place to ask questions about usage? I'm trying to figure out if the Arduino <SPI.h> header is what I need to use to get SPI output working.
Victor Aprea
@vicatcu
yea i only care if it's a thing that happens more than once
@igrr what country are you in btw?
Ivan Grokhotkov
@igrr
Russia, Saint-Petersburg
Victor Aprea
@vicatcu
that's what i thought, you're a night owl :)
xbary
@xbary
i from Poland :)
Victor Aprea
@vicatcu
i'm in upstate new york
lol
@igrr well let me just say you are doing great with this project
and thank you
i'm still curious what the 6 means in boot mode: (3,6) if anyone knows
but I need to get going, gotta lock the chickens in and let the dog out :)
xbary
@xbary
Arduino project is a brilliant thing esp8266
Victor Aprea
@vicatcu
cheers all, talk later
xbary
@xbary
dobranoc
Ivan Grokhotkov
@igrr
added a draft of RequestHandler interface for ESP8266WebServer
makes handlers a bit more powerful, passing full URI and request method
Steve Nelson
@zenmanenergy
Do HTTP redirects work with the server.send() method? Anyone know the syntax?
Ivan Grokhotkov
@igrr
@zenmanenergy this seems to work:
  server.on("/a", []() {
    String redirectUrl = "http://";
    redirectUrl += WiFi.localIP().toString();
    redirectUrl += "/about";

    server.sendHeader("Location", redirectUrl);
    server.send(301, "text/plain", "");
  });
redirects /a to /about
Steve Nelson
@zenmanenergy
sweetness. thanks
xbary
@xbary
@igrr After the latest amendments, for me everything works. a RAM average increased space of 10-15%, and 30% flash :)
Ivan Grokhotkov
@igrr
cool, thanks for testing