Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 03:21
    mhightower83 synchronize #6643
  • 03:18
    mhightower83 synchronize #6643
  • Oct 14 23:31
  • Oct 14 23:00
  • Oct 14 22:40
    mhightower83 opened #6643
  • Oct 14 22:32
    downsider7 edited #6642
  • Oct 14 22:27
    earlephilhower synchronize #6544
  • Oct 14 22:20
    downsider7 edited #6642
  • Oct 14 21:32

    earlephilhower on master

    Reduce the IRAM usage of I2C co… (compare)

  • Oct 14 21:32
    earlephilhower closed #6326
  • Oct 14 21:26
  • Oct 14 21:24
    downsider7 edited #6642
  • Oct 14 21:23
    downsider7 edited #6642
  • Oct 14 21:19
    downsider7 edited #6642
  • Oct 14 21:18
    downsider7 edited #6642
  • Oct 14 21:16
    downsider7 edited #6642
  • Oct 14 21:07
    downsider7 opened #6642
  • Oct 14 20:47
    earlephilhower synchronize #6326
  • Oct 14 15:56
Faraz Ahmed
@faraz117
I am using loadCertificate because i am loading from spiffs ..
How do you load using a .h file?
copercini
@copercini
yes
Faraz Ahmed
@faraz117
The key is still failing to load ..
I generated a key pair using openSSL .. the certificate loads but the key fails ..
Do you have details on your key pair ? the size and everything ?
copercini
@copercini
I don't know exactly
because I am using AWS iot keys
but I can check it
Faraz Ahmed
@faraz117
Yes please if you can check it would be great i could generate a similar pair with openSSL
copercini
@copercini
Private-Key: (2048 bit)
Faraz Ahmed
@faraz117
How to enable DEBUGV in WifiSecureClient
Victor Tseng
@Palatis
build with -DDEBUG_WIFI?
or something like that
i forgot the actual macro, have to check the header and source file.
Faraz Ahmed
@faraz117
Alright thanks
Dirk Heinke
@DirkHeinke
Hi, maybe a bit Arduino Framework unrelated, but have you ever had the problem, that you can flash with some FTDI breakout boards and with some not? (external power supply, exact same wiring)
Faraz Ahmed
@faraz117
Unable to use loadPrivateKey returns -269 Any ideas
-269 = SSL_KEY_INVALID
Reza Agung Pambudi
@rezaagungp
Hi can someone help me with this problem, i has create a hotsopt using esp8266, but why my device still can't connect to the hotspot.
Mehrdad K
@mkeyno

hi guys , I write some big data to flash with following instruction , but when I read it back , its return 0xFF value , it seems the 0xFF counts gradually increased after each writing

uint8_t* BUFFER = new uint8_t[SPI_FLASH_SEC_SIZE];
/////
optimistic_yield(10000); 
ESP.flashEraseSector(_address/FLASH_SECTOR_SIZE);
ESP.flashWrite(_address,(uint32_t *) BUFFER, SPI_FLASH_SEC_SIZE); 
//// reading instruction 
ESP.flashRead(_address,(uint32_t *)  BUFFER , SPI_FLASH_SEC_SIZE);

anyone might have idea ?, thanks

Me No Dev
@me-no-dev
and what is the value of _address?
Mehrdad K
@mkeyno
some location of free memory , in this case started from following index
 _address=(ESP.getSketchSize() + FLASH_SECTOR_SIZE - 1) & (~(FLASH_SECTOR_SIZE - 1));
hreintke
@hreintke
Some more on the ESP8266WebServer async test and yield() issue.
Looks like that a panic() occurs when he yield() is called from one of the lwip() callbacks.
Don't know the details of yield() and it's implementation.
Is there a limitation on where the yield() function can be called ?
hreintke
@hreintke
Further testing -> Yield() panic also occurs when used in Ticker callback which is like lwip callback directly from sdk.
Me No Dev
@me-no-dev
yield will panic in any system callback/interrupt
this is well known "limitation"
hreintke
@hreintke
@me-no-dev :
Did not know about that, sorry.
Makes it more difficult to have a fail save callback/event based tcp/webserver. You never know whether the callback function will use the yield. Can also be a library call which does it.
As far a I've seen your asyncTCP also "calls back" to application from within lwip. Correct ?
Would need some two step action. Expect that there is no way to "temporary disable" yield() by making it act as a NOOP.
Me No Dev
@me-no-dev
@hreintke to be honest there is a workaround in about 99.9% of the cases. On many places in the core yield is used to prevent wdt triggering, but can run without it as well. And yes you can insure that nbo callback calls anything with yield if you write the code yourself ;)
hreintke
@hreintke
OK, thx. Needs some thinking.
Mehrdad K
@mkeyno
@me-no-dev I use the ESP-12F which is flash setting set to 2M(1M SPIFF), memory state is SketchSize:335.78KB, FreeSketchSpace:688.00KB and FreeHeap:28.41KB, I've upload two files which memory start location is , 344064 & 459274(size of each file 115200 bytes). the first reading is correct but the second reading return 255, is it possible that second reading is kinda out of scope
Mehrdad K
@mkeyno
every reading byte after address of 458756 return 255
Mehrdad K
@mkeyno
I've replaced ESP.flashWrite with SPIWrite and it read back correctly most of bytes , but still there is false reading ( 255) for amount of bytes
hreintke
@hreintke
@me-no-dev
Think I found a way around. Now have usage of schedule_functions in the lwip callback functions.
Very first tests are OK. Further work todo.
copercini
@copercini
@faraz117 I have released some examples of use with TLS v1.2 and AWS iot in https://github.com/copercini/esp8266-aws_iot
Mehrdad K
@mkeyno
@martinayotte may I have your idea about this issue #2665 , thanks
Martin Ayotte
@martinayotte
@mkeyno , Frankly, I don't know ! but looking at your excel dump, it looks like there is a pattern there : like every 7th line. So check your loops, not only in the writter, but on the reader too, because the problem is maybe there
Mehrdad K
@mkeyno
I did, and print it out what every write and read , but I might add for first or two file its work fine but for more or larger file malfunction appear, I thought maybe push too hard flash writing and somehow miss somethings
the problem is there is no much parameters could be changeable to check which parameters make problem
simple write and simple reading , I think may there is bug for large file writing , because its work for smaller ones
Michael Miller
@Makuna
I was needing an extra serial port for a module connected to my esp8266, the software serial library looks flawed though (requiring disabling interrupts for too long of a period).
Has anyone successfully used this library with active WiFi use? What baud rate?
Me No Dev
@me-no-dev
What baud do you need? Do you use the timers for anything?
I have some interrupt based soft serial code that works fine up to 230400
do you need only TX or RX or both?
Michael Miller
@Makuna
both
it uses a timer for transmit?
Me No Dev
@me-no-dev
yes
for RX and TX I use both timers for uninterrupted TX/RX
gpio interupt for start and so on