Search found 84 matches

by mianos
Mon Nov 14, 2016 7:25 am
Forum: ESP8266 boards
Topic: IMPORTANT: Upgrade to esptool.py 1.2.1
Replies: 7
Views: 5302

Re: IMPORTANT: Upgrade to esptool.py 1.2.1

The auto-detect update is fantastic if you have a few boards. (Like me, I buy all of them :) )
by mianos
Sun Nov 13, 2016 9:21 am
Forum: ESP8266 boards
Topic: Version 1.8.6 is a great upgrade!
Replies: 2
Views: 1245

Re: Version 1.8.6 is a great upgrade!

I third that :) A huge improvement and super easy to upload with the auto detection.
by mianos
Wed Nov 09, 2016 9:22 pm
Forum: General Discussion and Questions
Topic: for loop within interrupt callback
Replies: 16
Views: 5294

Re: for loop within interrupt callback

Personally I pre-allocated the memory for the array outside the interrupt handlers, used that for the queue then use the ESP SDK event handler to trigger a callback once the interrupt handler finishes. Sort of like the 2 layer interrupt handler in the Unix TTY driver. This worked perfectly, I have a...
by mianos
Sat Oct 22, 2016 9:42 pm
Forum: Development of MicroPython
Topic: RFC: Hardware API: finalising machine.I2C
Replies: 36
Views: 8627

Re: RFC: Hardware API: finalising machine.I2C

It basically means that if you want to do DMA transfers you have to "fake" the low level API. You need to buffer everything until the end and then DMA out the whole thing. Or not do DMA if somebody chooses to use the low level API, and only do DMA if the higher-level APIs are used. Which means that...
by mianos
Wed Oct 12, 2016 12:09 am
Forum: ESP8266 boards
Topic: Support loading of .mpy files
Replies: 13
Views: 7914

Re: Support loading of .mpy files

Exiting news! 'mpy' is merged in ESP8266. :D :D :D :D :D :D :D :D :D :D :D :D
by mianos
Thu Sep 29, 2016 8:48 am
Forum: General Discussion and Questions
Topic: Comparison to Zerynth's Python for Embedded?
Replies: 9
Views: 4698

Re: Comparison to Zerynth's Python for Embedded?

Take a look on the Open (GPL3) VM license: http://www.zerynth.com/zerynth-virtual-machine/ You can check which option fits to your projects. No, they changed their mind. As dhyland pointed out the Zerynth Virtual Machine license will soon switch to a closed source policy with distribution of binari...
by mianos
Thu Sep 29, 2016 1:56 am
Forum: General Discussion and Questions
Topic: Comparison to Zerynth's Python for Embedded?
Replies: 9
Views: 4698

Re: Comparison to Zerynth's Python for Embedded?

Many of the items in that list are not very correct but, maybe, most importantly, the Zerynth VM is moving to closed source. Personally I found it is near trivial to schedule threads, mix C and do real-time even on the ESP8266 in micrpython :) That said, aside from the concern over the license, Zery...
by mianos
Thu Sep 15, 2016 3:07 am
Forum: ESP8266 boards
Topic: Initial Setup via AP
Replies: 8
Views: 4650

Re: Initial Setup via AP

With the old firmware I just used the smartconfig and the android app app to configure the IP. It uses some crafted wifi messages to communicate with the board before the wifi is associated:
https://github.com/mianos/micropython/b ... rtconfig.c
by mianos
Sat Sep 03, 2016 1:03 am
Forum: ESP8266 boards
Topic: co operative multi tasking with ets_task
Replies: 0
Views: 1544

co operative multi tasking with ets_task

In my previous esp micropython fork I created an os_task module for mp that wrapped the ESP SDK version of ets_task. Then, from an interrupt handler (or a timer) I posted to the os_task python callback. Doing things this way allowed me to have a repl and also handle buttons and devices as the os_tas...
by mianos
Sun Jun 12, 2016 11:58 pm
Forum: ESP8266 boards
Topic: Have I bricked my board?
Replies: 5
Views: 3363

Re: Have I bricked my board?

Probably not. I just updated the sdk and project and I got:

esptool.py v1.2-dev
Connecting...
Running Cesanta flasher stub...

A fatal error occurred: Invalid head of packet ('\xe0')
make: *** [deploy] Error 2

I just reflashed it from windows with the LUA so the board is OK.