Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
chad cormier roussel
@chadouming
hmm, sketch use blah blah adds 38365 bytes that are not uploaded
Me No Dev
@me-no-dev
having issues with esptool and the latest git
uload hangs
chad cormier roussel
@chadouming
worked fine here tho
also, it seems faster from boot to execution
almost instant
Me No Dev
@me-no-dev
Uploading 205696 bytes from /var/folders/b_/2gy4g72944359d2vj4htbtwm0000gn/T/build8969919979364818920.tmp/sketch_may29a.cpp.bin to flash at 0x00000000
    erasing flash
    size: 032380 address: 000000
    first_sector_index: 0
    total_sector_count: 51
    head_sector_count: 16
    adjusted_sector_count: 35
    adjusted_size: 023000
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    setting timeout 10000
    setting character timeout 100
    done
    setting timeout 1
    setting character timeout 1
    done
    espcomm_send_command: receiving 2 bytes of data
    writing flash
..
i'm on a Mac
chad cormier roussel
@chadouming
i didn't have that much information
i'm on pc xD
Me No Dev
@me-no-dev
i have debug enabled in preferences
chad cormier roussel
@chadouming
ah, didn't have the upload debug nabled
Me No Dev
@me-no-dev
it usually shows a bunch of dots while flashing
Ivan Grokhotkov
@igrr
you have a scope now... can you take a look at uart?
works fine for me on a Mac...
Me No Dev
@me-no-dev
maybe it's something else
i killed all esptool processes that were hanging
and restarted the IDE
now hangs before the esptool debug
the last line is the execution command
if I unplug the uart it errors fine
will do old fashioned reboot
update nagges from a few days now anyways
brb
Ivan Grokhotkov
@igrr
re extra 38365 bytes:
accidentally added .bss to the regex
recipe.size.regex=^(?:.irom0.text|.text|.data|.rodata|.bss|)\s+([0-9]+).*
chad cormier roussel
@chadouming
yay, i'm not crazy :D
Me No Dev
@me-no-dev
reboot fixed the flashing issue
Me No Dev
@me-no-dev
same thing again
and I have an unkillable esptool
Russ Mathis
@RussMathis
@ficeto, the esp goes in the fishing bob/cork and wakes via a spring loaded weight when the fish bites?
Michael Miller
@Makuna
Servo library Pull out for review, supports the new Timer0 and the already present Timer1, based on the Servo library that comes with Arduino
chad cormier roussel
@chadouming
Wifi enabled fishing, brilliant :D
chad cormier roussel
@chadouming
Since i've started trying to get my esp crashing, it won't -_-'
Ivan Grokhotkov
@igrr
@chadouming try analogWrite
chad cormier roussel
@chadouming
Lol
I want it to be crashing while running my program
chad cormier roussel
@chadouming
well, the good news is that my battery seems to not drain at all with deep sleep
which is a good thing
now, that it doesnt crash, that is sad
Me No Dev
@me-no-dev
having this really strange issue here with analogRead
here is my dead simple sketch
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 lcd(-1);

void setup() {
  Serial.begin(74880);
  Serial.setDebugOutput(true);
  lcd.begin(SSD1306_SWITCHCAPVCC, 0x3C);
  Wire.setClock(400000);
  lcd.display();
  delay(1000);
}

uint32_t turn = 0;

void loop() {
  uint32_t heap = ESP.getFreeHeap();
  uint16_t analog = analogRead(A0);
  lcd.clearDisplay();
  lcd.setTextSize(2);
  lcd.setTextColor(WHITE);
  lcd.setCursor(0,0);
  lcd.print("RAM:");
  lcd.println(heap);
  lcd.print("A0: ");
  lcd.println(analog);
  lcd.print("TURN: ");
  lcd.println(turn++);
  lcd.display();
  delay(1000);
}
I do not have any WiFi calls here
but as soon as the settings that are already in get the WiFi to connect
i get wdt reset
if I remove analogRead(A0)
the sketch runs fine
Me No Dev
@me-no-dev
disabing WiFi on boot helped