These are chat archives for esp8266/Arduino

11th
Jun 2016
Me No Dev
@me-no-dev
Jun 11 2016 08:44
@larsenglund I was also thinking of powering the uart chip from the 3.3 rail, though was not sure how good of idea that is
Lars Englund
@larsenglund
Jun 11 2016 09:29
I'm trying to maximize battery life so I don't want to waste 0.1mA driving the ch340g
Lars Englund
@larsenglund
Jun 11 2016 09:51
So it looks like I'll be scrapping these pcbs and putting in mosfets
Me No Dev
@me-no-dev
Jun 11 2016 09:52
why not ditch the whole CH chip
have that on a header like the arduino mini boards
Lars Englund
@larsenglund
Jun 11 2016 10:19
Nah, I like the simplicity of just requiring a usb cable
Martin Ayotte
@martinayotte
Jun 11 2016 20:11
@me-no-dev , remember discussion about bigger than 4MB flash on the forum ? I found that today : moononournation/nodemcu-firmware@326c88b
I don't understand if it is really working or not since this commit for Lua doesn't show any special magic, maybe it doesn't ?
Are you aware where is the real limitation ?
Me No Dev
@me-no-dev
Jun 11 2016 20:17
maybe it is/was in the flash read/write functions... not really sure
but as far as I remember after the 4M mark, the result just looped back from the start of the flash
@martinayotte the commit above has to do with flashing and we could not read/write from the sketch
Martin Ayotte
@martinayotte
Jun 11 2016 20:52
I understood that for esptool.py changes, but what about NodeMCU flash_api.c where is only changes the flash_rom_get_size_byte()/flash_rom_set_size_byte() ? Do you mean it still useless flash space for their SPIFFS too ?
Me No Dev
@me-no-dev
Jun 11 2016 21:08
again, my information is a year old :) I was not able to read or write to the flash above 4MB. When I give it address above that, it actually looped back from the start
I tested with 8MB winbond that I still use
Martin Ayotte
@martinayotte
Jun 11 2016 22:05
@me-no-dev , no problemo ! maybe I will give it a try again one of these day, there is no hurry, only some interest ...
Me No Dev
@me-no-dev
Jun 11 2016 22:12
@martinayotte also I remember that the 16K that are usually located at the end of the flash and that the ESP uses to store parameters being located at the wrong address
so what the espressif libs support is also into play