Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
d-anders
@d-anders
and i just cant stand the wait anymore
probonopd
@probonopd
silabs is
i can use the highest available baud rate for flashing reliably
921600
cp2102, still relatively cheap and never let me down
don't know about the ch340 (don't own one yet)
d-anders
@d-anders
ok, i will try one of those
probonopd
@probonopd
do you guys know https://github.com/jcmvbkbc/gdbstub-xtensa - "Gdbstub is a piece of code that is present on a target system and is able to
communicate with gdb running on a development system and execute commands on
its behalf. This allows to use all features of gdb with very resource-limited
target systems"
Markus
@Links2004
@d-anders the web sockets have a transmission time from ~12ms, and a overhead of 3 to 9 byte peer message. so its close to RAW tcp where you need to create you own message frame.
@probonopd the http header handling is to many overhead for you application.
Markus
@Links2004

igrr:

thanks to the gdb stub from the guys at Cesanta, i can now halt the ESP on exception, attach the debugger and inspect memory and stack :) extremely helpful.
https://cesanta.com/blog/esp8266-gdb.shtml
too bad their code is GPLv2, so i can only use it locally...

probonopd
@probonopd
probonopd
@probonopd
@sticilface you write on cyborg5/IRLib#9 that you have IRLib working on the esp8266 - do you have it fully functional?
do you plan to upload it?
i'd also be interested in your universal remote driven by mqtt
ah, just saw you are using an AVR too. I'd be looking for a pure esp solution
sticilface
@sticilface
@probonopd its funny you just wrote that. I had half a msg written to you, and got distracted. Yes, I only have his lib working on a promini, I'm using the MQTT ESP software from tuan https://github.com/tuanpmt/esp_mqtt. I can give you the sketch if you want? but no it is not all running on the ESP.
trying to use the telnet monitor function, and it is asking for board password? any ideas?
Ivan Grokhotkov
@igrr
@probonopd https://github.com/jcmvbkbc/gdbstub-xtensa is a gdb stub that runs on xtensa Linux
it communicates over TCP
while cesanta's gdbstub is for bare metal (no OS) and communicates over UART
initial Filesystem support (not too many features yet) up for review
d-anders
@d-anders
seems that running the dns server and webserver at the same time is a bit too much
Ivan Grokhotkov
@igrr
just like mDNS and SSDP, DNS library needs to be rewritten a bit to respond asynchronously (I.e. without calling it from loop())
d-anders
@d-anders
i see
it seems that it causes the webserver to miss request
Michael Miller
@Makuna
@igrr maybe we should be discussing int level here?
Ivan Grokhotkov
@igrr
yes sure
Michael Miller
@Makuna
I am on the fence of the concept of even exposing int levels, but they can be very poweful. I know we need the simple Arduino compatible interrupts/nointerrupts, but for core stuff or advanced library writers.
Ivan Grokhotkov
@igrr
i need to read the docs again and see which levels are used for which interrupts
Ivan Grokhotkov
@igrr
Staging version updated, pull from @Links2004 went in as well as FPSTR support from @Makuna and some Filesystem functions.
d-anders
@d-anders
cool, filesystem
Harrison Mclean
@h4rm0n1c
This message was deleted
This message was deleted
The memory patch that's been floating around has been merged? Sweet.
sticilface
@sticilface
@igrr and others, just wanted to say thanks for all the work! I replaced the flash chips on 3 ESP-01s and now have OTA working for all my projects. It is 2min to deploy new binaries to all of them which is amazing!!!!
d-anders
@d-anders
do you use it when developing? doesnt ota transfers take quite long time?
Ivan Grokhotkov
@igrr
In my experience, OTA takes less time than serial upload (although i am constrained to 230400 baud)
d-anders
@d-anders
oh
i thought max wifi transfer rates were quite low
i should try it on my esp-12 then
Ivan Grokhotkov
@igrr
transfer rates tend to go up as you increase packet size. if you use something like 1460 bytes (which is the MTU with current libraries), it will be fairly quick.
d-anders
@d-anders
hm, then i think i have another question
what is the default packet size and where do i set it?
and does calling wificlient.write(*buf,1460) set it?
fmgomes
@fmgomes
Yesterday I tried the new staging version, and the filesystem test: https://github.com/esp8266/Arduino/tree/esp8266/hardware/esp8266com/esp8266/tests/FSWrapper
It worked well, is this going to be the FS interface in the future?
Ivan Grokhotkov
@igrr
mostly, yes. File and Dir classes will stay mostly the same (maybe will add some functions, but not remove anything)
FS class, i'm not totally sure, i'm still looking how to do it better