Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Harrison Mclean
@h4rm0n1c

I got https://github.com/freetronics/DMD2 ported and it works great, you can connect an LED dot matrix display to the ESP8266 and make it draw simple graphics and messages, some level of PWM dimming is available (although I'm still having some brightness stability issues, need to get my scope and see what's happening I think.), I am now moving on to Time related code.

I'm now eyeing http://www.pjrc.com/teensy/td_libs_Time.html and http://www.pjrc.com/teensy/td_libs_DS1307RTC.html as next targets for porting (if anything even needs to be changed for them to work, probably just some #ifdefs to smooth out the differences)

Is porting these libraries a good idea? Does anybody want them? Are there better candidates? I ask before I put any potentially unnecessary effort into it or simply choose a poor library for porting.

brutzler
@brutzler
"....using multiple URLs in the boards manager, separated with commas" : how can I select which one is used for compiling? For example:
http://arduino.esp8266.com/versions/1.6.5-1044-g170995a/package_esp8266com_index.json
http://arduino.esp8266.com/versions/1.6.5-1160-gef26c5f/package_esp8266com_index.json
Luc
@luc-github
you need to choose one - the multiple URLs in the boards manager are for different targets not same target
kathir1951
@kathir1951
@kireevco which build script you used? and which source you used for successful building
@kireevco May i know the buiding environment also and set up details
Dmitry Kireev
@kireevco
@kathir1951 I’m preparing full environment config here https://github.com/kireevco/packages/tree/master/xtensa-lx106-elf
not final yet. still testing full setup
the idea is full bootstrap
later I will add espressif stuff there, i’d like to make a clean open UDK alternative, so everyone can build it on any platform (mac,linux,win)
kathir1951
@kathir1951
@kireevco Thanks nice work
Dmitry Kireev
@kireevco
@kathir1951 this is not ready yet, just showing you where work takes place
brutzler
@brutzler
@luc-github: thanks! That explains a lot. Only thought, i could make a sort of collection, and then choose the required release.
Steve Nelson
@zenmanenergy
Has anyone experienced an FTDI disappear from the list of available ports on a Mac? This happened to me a while ago and I had to reinstall the drivers and it worked again. But I’m not sure what caused it.
kathir1951
@kathir1951
@kireevco gr8 Good Start so I said nice work
Michael Miller
@Makuna
@h4rm0n1c check my github, i have a few rtc libraries thet i confirmed work back in early summer that work for esp and avr.
kathir1951
@kathir1951
@igrr Using git version building esp8266 core gives error while using python get_py "File "get.py", line102,in<module> print<'Platform: ,0> ' .format<identify_platform<>>> File "get.py" line 99, identify platform return arduino_platform_name[platform.system<>l[bits] KeyError: 'CYGWIN_NT-6.1-WOW i AM USING WINDOW 7 and cygwin
kathir1951
@kathir1951
@igrr Using git Using git version building esp8266 core gives error for compiling its own wifi library
kathir1951
@kathir1951
@igrr I find by viewing patform text there is no xtensa-lx106-elf compiler and esp tool in the runtime.platform.path}/tools path
kathir1951
@kathir1951
@igrr Sorry problem in python installation Now everything ok Sprry for wrong message
kathir1951
@kathir1951
@igrr esp8266 gore from git version works nicely /It takes lesser time to install compare to the time takem from board manager
tzapu
@tzapu
@zenmanenergy on el capitan release a new policy of only signed drivers was enforced , and some other system integrity stuff as well, which lead to a few drivers gettign disabled and not even working at all after, like for the ch340/341 based serial drivers. maybe you had an older unsigned driver and when you got the update ftdi one it worked...assuming that s the reason of course
Dmitry Kireev
@kireevco
@kathir1951 ok, making one more clean test to build sdk on windows/mingw
(rollback vm, etc…)
Markus
@Links2004
get.py runs fine native in Windows with python 2.7 :)
Harrison Mclean
@h4rm0n1c
@Makuna Thanks!
Steve Nelson
@zenmanenergy
@tzapu I tried a reboot, giving me flashbacks to days on a Windows machine…sadly…it fixed it. I’ll see if I can figure out the command to list of the unsigned driver, to see if the ftdi is listed there, unless you happen to know the command.
Me No Dev
@me-no-dev
@zenmanenergy use the Console in Utilities :) error is visible there
Steve Nelson
@zenmanenergy
@me-no-dev sweet, thanks.
kathir1951
@kathir1951
@kireevco Nice to hear
WhiteHare
@WhiteHare
Is there a clear example somewhere of how to update an arduino sketch that's running on an esp8266 by sending the updated sketch over-the-air?
Is it even currently possible?
The "reference" document at https://github.com/esp8266/Arduino/blob/master/doc/reference.md does seem to obliquely refer to it thusly:
|--------------|-------|---------------|--|--|--|--|--|
^ ^ ^ ^ ^
Sketch OTA update File system EEPROM WiFi config (SDK)
Ivan Grokhotkov
@igrr
@WhiteHare This isn't documented anywhere, but you may find something useful in this issue: esp8266/Arduino#268
basically the flow is like this:
  • flash DNS_SD_Arduino_OTA example sketch
  • after some time, the board will appear in 'ports' menu
  • Select 'OTA' instead of 'Serial' in Tools > Upload using
You can now do some sketches and flash the sketch. It should be uploaded over-the-air
You also need python installed and in PATH, because the script which does OTA is currently written in python.
Ivan Grokhotkov
@igrr
There are also samples bundled with the IDE which show how to do OTA using an HTTP upload. In some contexts this might be more convenient.
Luc
@luc-github

Hi about OTA procedure:

I use the content of BasicOTA.ino in my project and flashed my NodeMCU, serial terminal shows :
M117 Connecting...
M117 192.168.0.120
OTA server at: ESP8266-OTA-22e89:8266

so server look ready

I use the tool python ota_server.py to do OTA to flash a new version of my project

C:\Users\user\Desktop\ld5110>python ota_server.py 192.168.0.120 esp8266.cpp.bin

so terminal display this:

starting up on 0.0.0.0 port 48266
upload size: 437120
sending invitation
waiting for a connection
connection from ('192.168.0.120', 4097)
opening file esp8266.cpp.bin
sending 4096
sending 4096
....
sending 4096
sending 2944
done!

and serial terminal display this:
Update Start: ip:192.168.0.101, port:48266, size:437120
ERROR[0]: No Error

looks fine but atually ESP Fw is not modified even after a restart
do I missed something ?

Luc
@luc-github
Thanks
Dmitry Kireev
@kireevco
@kathir1951 hey, so looks like my environment and script works fine. tested 3 times
kathir1951
@kathir1951
@kireevco Thanks Nice
Dmitry Kireev
@kireevco
I will test more for linux and mac, and I hope we can have a nice cross-platform build script for toolchain
Ivan Grokhotkov
@igrr
@kireevco for OS X don't forget to add export MACOSX_DEPLOYMENT_TARGET=10.7 (or maybe even 10.6) to the build script.
Dmitry Kireev
@kireevco
@igrr what does it do? (where is it used)
@igrr thank you