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
6 euro by piece
Clemens Kirchgatterer
@everslick
that's a start at least :) THX!
3.50 usd each
copercini
@copercini
In bulk contact Espressif sales directly, they have a good price =)
Mehrdad K
@mkeyno
hi all , I'm not sure about my question but I have HTTPClient http; object which is used sometimes , but when I call this object I can't control it's timeout , and sometime it will held so long till fried up some other things in my sketch , is there any way to check its duration and kill it if it last longer than given time out
al1fch
@al1fch
ESP-32 WROOM-32 3.33€

@ Me no Dev

Me No Dev
@me-no-dev

févr. 27 15:47
any french guys here? prfereably around Paris/Orleans area?

I'm a french guy staying often near Paris

Me No Dev
@me-no-dev
@al1fch great! thanks :) I think I already researched all that I needed ;)
Akash Ashok
@thehellmaker
Hi Guys, I recently started facing major restarts in few of my esp8266 devices without a pattern. So I put it logging with reset reasongs
and here is the output

ESP.getResetReason() = External System

ESP.getResetInfo() = Fatal exception:0 flag:6 (EXT_SYS_RST) epc1:0x00000000 epc2:0x00000000 epc3:0x00000000 excvaddr:0x00000000 depc:0x00000000

and i am not quite sure if its because of code exception or another reasons
Does external system reset mean it might not be because of code ?
probonopd
@probonopd
hi all, can it be that the sd card upload example only works for small files but not for larger ones (e.g., 1MB)?
Martin Ayotte
@martinayotte
@thehellmaker , if you look at Esp.cpp, ESP.getResetInfo() is exactly printing such output.
Akash Ashok
@thehellmaker
@martinayotte I did take a look at esp.cpp. What could be the cause of such a reset. Could it be unstable power input?
probonopd
@probonopd
has anyone ever successfully uploaded 1-2 MB via WiFi to SD card?
Martin Ayotte
@martinayotte
@thehellmaker , The fact you had cause=0 is unknown to me since it is shown as "undefined" in this document, but the reason=6 is "hardware reset" : https://espressif.com/sites/default/files/documentation/esp8266_reset_causes_and_common_fatal_exception_causes_en.pdf
nor-easter
@nor-easter
Does anyone know if it is possible to disable HSPI interrupts while SPIFFS is working?
I've tried putting everything in my HSPI interrupt in ram using ICACHE_RAM_ATTR, however I am still getting crashes when a HSPI interrupt comes in while SPIFFS is reading/writing flash. I also tried to wrap my calls to SPIFFS in InterruptLocks, but it still seems like there is a conflict (maybe some parts of SPIFFS are operating asynchronously?)
Akash Ashok
@thehellmaker
thanks @martinayotte
probonopd
@probonopd
SD card library seems to be entirely broken, or is it just me?
Michael Miller
@Makuna
@probonopd Do you have a simple sketch that demonstrates how its broken?
Me No Dev
@me-no-dev
@probonopd I think we should move to fatfs and FS:: for SD. I have a driver running here, if someone wants to put the time to make the FS wrapper, let me know :)
large cards and whatnot is actually working
DRSolomon
@DRSolomon

Greetings all,
I'm having a little bit of a problem and don't understand why it wont work - I trust someone can shed some light on getting this to work please.

IDE: 1.8.1
Device: ESP12E
Serial interface: ch340 /ftdi (tried both)

code:

void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
Serial.swap(); //just testing if I can flip back and forth first
}

void loop() {
  // put your main code here, to run repeatedly:
while(true){
Serial.println("test");
delay(1000);
//Serial.swap(); //just testing if I can flip back and forth first
//delay(1000); //maybe should not use delay? block interrupts?
//Serial.swap();
}
}

Output on serial (pins 13 and 15) = NADA
Original serial port (pins 1 and 3) as follows:

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

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
þ

Very frustrating!
What I'm wanting to do is swap the serial over to pins 13 and 15 to avoid the garbage on startup which is giving me grief.
Solution/working examples of this HIGHLY appreciated.

Basically it seem that the code wont run on the esp12e, yet if I remove the Serial.swap() it runs perfectly :worried:
Akash Ashok
@thehellmaker
Hey Guys, I see from http://www.esp8266.com/wiki/lib/exe/detail.php?id=esp8266_gpio_pin_allocations&media=pin_functions.png that DEEP_SLEEP mode DPIO6 to 11 are usable. what the use of GPIO in deep sleep mode anyways?
probonopd
@probonopd
@me-no-dev @Makuna https://github.com/probonopd/WirelessPrinting/ is what I am working on - sending G-Code to a 3D printer from Cura. And have it cached on a SD card, so that the computer isn't needed while it is printing.
I had to try 3 SD cards and only 1 is (sometimes) working
probonopd
@probonopd
Stavros Korokithakis
@skorokithakis
hey everyone
how good is the ESP's random number generator?
is it really random or am i going to get hacked by some chinese guy?
Me No Dev
@me-no-dev
it is really random or as random as possible (it way more random than some other randoms) but keep in mind that there is no such thing as "random" in computers
@probonopd I'll get a lib ready for testing soon and you should be able to tell if it will work (it will)
Stavros Korokithakis
@skorokithakis
@me-no-dev is it okay for cryptography? do you know what the entropy sources are?
Me No Dev
@me-no-dev
I do not know the source, it's prolly more than one ;) it's a hardware register that we just read, and every time you read it it's different. It's more then good enough for cryptography
Stavros Korokithakis
@skorokithakis
cool cool, thank you
Michael Miller
@Makuna
I just want point out, unless its called out as a crypto random then its not crypto random. It maybe good enough for a home project but putting into a secure system where your job is on the line, I would not.
probonopd
@probonopd
thanks @me-no-dev
Me No Dev
@me-no-dev
@Makuna could you please explain the difference
Michael Miller
@Makuna
The difference is primarily "legal" definition. Unless its proven to be of a crypto standard level, then its not. Some pretty good random number algorithms have proven to provide some poor crypto use.
Stavros Korokithakis
@skorokithakis
it's nothing that serious for me, although yeah, unless it's been proclaimed safe by cryptographers, i'd be careful
by the way, how can i delete all information from the ESP, including wifi information and everything?
where is the wifi information stored, anyway?
it seems to survive reflashings
Michael Miller
@Makuna
I believe there is a WiFi method that will "erase" or forget the settings. I used it once; might take a restart to truly clear it though.
Stavros Korokithakis
@skorokithakis
can't i use esptool to nuke things?