Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Me No Dev
@me-no-dev
go through the documentation in github and check the examples
phunandcode
@phunandcode
Since you're not a dev right? ;)
Me No Dev
@me-no-dev
exactly :D
brutzler
@brutzler

@suculent

...to overwrite spiffs on upload (which Arduino IDE does by default)

You are sure about this? I made opposite experience.
Matej Sychra
@suculent
Might depend on default setting for respective board.
In Arduino IDE there is a plugin to write specific folder to SPIFFS as well as in PlatformIO. It’s just a matter of taking control over it.
Matej Sychra
@suculent
But original request was to read someone elses spiffs, which is entirely possible, unless you overwrite it with own sketch and the rest. Easiest will be the esptool way.IMHO.
phunandcode
@phunandcode
Anyone here that could help me out with my problem: I want to have a predefined led combination on the tm1638 and check if the user has input the same
I have the user input functionality ready, as in user presses a button to turn a certain led on/off
But I dont know how to store a certain led combination as a variable to check against in a loop
brutzler
@brutzler

@suculent

But original request was to read someone elses spiffs....

Oh, that was not my intention. I thought about reading the SPIFFS of an ESP from the computer that is connectet via serial interface.
The plugin of the arduino IDE might be the solution. Will check this later on...
al1fch
@al1fch

Hi
After todays upgrade none of my sketches boots.
ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:812
load:0x40078000,len:0
load:0x40078000,len:11404
entry 0x40078aa0

Board Wemos Lolin, Arduino IDE 1.8.4, Windows 10
All is OK with previous version running under Ubuntu

Me No Dev
@me-no-dev
wrong room?
come to arduino-esp32 instead
al1fch
@al1fch
I'm on arduino-esp32 with "board WEMOS LOLIN32".... all was OK before upgrade via GIT, done todays one hour ago
Me No Dev
@me-no-dev
yes, but you are in ESP8266 Arduino room ;)
al1fch
@al1fch
Sorry !!!
brutzler
@brutzler
Hi,
does anybody know a way to make a time diagram of stored measured values with a ESP as webserver?
ESP will do the measuring and storing the values (SPIFFS...). And then send a time diagram of this via webserver on request.
Clemens Kirchgatterer
@everslick
@brutzler there are some frameworks for that. Like 'thingsboard' to name one.
Clemens Kirchgatterer
@everslick
thingsboard.io
bobcroft
@bobcroft
@phunandcode To store your LED states you can use bit field's, so a byte can store the status of 8 LED's. Then store the byte of LED states in EEPROM. There are various to set / read the bits such as the bitread, bit set commands or you can use masking to change the bits.
Shelby Merrick
@forkineye
Is there a documented time on how long interrupts can be disabled before the wifi stack goes tits up?
I've seen everywhere from 10us to 10ms mentioned in random posts, but nothing concrete from Espressif
Michael Miller
@Makuna
@forkineye As far as I know it is not documented. My experiments had shown that the smaller it is, the less often the chip resets; but it still reset even with 2us (after running a week with random net traffic). Its all based on net traffic and colliding with the time the interrupts are locked out.
Me No Dev
@me-no-dev
@Makuna have you noticed what causes the reboots? beacon timeout or other network related traffic? 2us seems a bit too little to cause such issues
Michael Miller
@Makuna
It was network related traffic, if the sketch did nothing other than be connected, I never had much of a problem even with higher interrupt disabling times. The research I did is pretty old now (2 years?). This was all the understanding I was trying to do with my NeoPixelbus and bitbang.
Shelby Merrick
@forkineye
It seems to have gotten worse as the SDK versions have progressed over the years as well. Now, I'm noticing severe packet loss when they're disabled for ~700us which didn't happen before.
Much over that and it starts the network crash / watchdog reset cycle
Redferne Bellini
@Redferne
Anyone here?
leaderiop
@leaderiop
hello
guys how i can use johnny five with arduino uno and esp8266
dragon-engineer
@dragon-engineer
Have you guys ever had this problem? I have simple softAP sketch (many months working), but I rebuilt and uploaded it yesterday and I'll never obtain an IP address on my PC (on Android phone it works though). I thought problem was on the PC but I opened wireshark and saw that the ESP's DHCP broadcast offer has checksum 0x00000000 and that's strange (red highlight in Wireshark).
There were no changes in the sketch for that time, I only updated core version to the newest one.
(all ESP's DHCP offers in Wireshark have this NULL checksum, that's strange)
I suppose @me-no-dev is the only chance to help here :worried:
Me No Dev
@me-no-dev
@matasondrak maybe lwip2 breaking the network? there is an option to select lwip1
dragon-engineer
@dragon-engineer
there is a preprocessor symbol LWIP_OPEN_SRC, is that it? if so, what's value to use for lwip1?
Me No Dev
@me-no-dev
no, it should be an option in the board menu. Maybe select generic esp8266?
dragon-engineer
@dragon-engineer
OK I'll try
There's no such option :smile:
9 options total
Me No Dev
@me-no-dev
there is an option for lwIP Variant
select prebuilt gcc
dragon-engineer
@dragon-engineer
I must be blind
Me No Dev
@me-no-dev
which board do you have selcted?
dragon-engineer
@dragon-engineer
Generic 8266
have those lines?
dragon-engineer
@dragon-engineer
nope, I'll update boards.txt
Me No Dev
@me-no-dev
well... no