Search found 539 matches

by Damien
Fri Oct 20, 2017 10:54 pm
Forum: Drivers for External Components
Topic: Using the ESP with a Ethernet Port through SPI
Replies: 5
Views: 171

Re: Using the ESP with a Ethernet Port through SPI

It may actually be possible to use the Wiznet in raw Ethernet mode with the esp8266. It would at least be interesting to try and get it working. The main thing it depends on is being able to call netif_add in lwip. It depends how much the esp8266 lwip is modified from the stock version. Sent from my...
by Damien
Sat Oct 14, 2017 11:51 am
Forum: General Discussion and Questions
Topic: This forum's behaviour has changed for the worse.
Replies: 7
Views: 263

Re: This forum's behaviour has changed for the worse.

Yes, I did upgrade phpBB to the latest version, v3.2.1 (up from v3.1.9), so that's the reason for some changes (and hopefully enhancements!). That "View first unread post" text is a bit annoying... but likely requires editing the phpBB source code to change it.
by Damien
Thu Sep 28, 2017 6:00 am
Forum: General Discussion and Questions
Topic: pic16bit port on dspic33ep512mc202 with xc16 1.32
Replies: 3
Views: 161

Re: pic16bit port on dspic33ep512mc202 with xc16 1.32

The pic16bit port was designed for and verified to run on the dsPIC33FJ256GP506, which has 256k of flash and 8k-16k of RAM. And it should still work correctly on this chip. It should also work on other 16-bit dsPIC chips that have similar specs. But if you try with a chip that needs 24-bit pointers ...
by Damien
Thu Sep 28, 2017 5:48 am
Forum: ESP8266 boards
Topic: Can't get a stable esp01s with simple timer loop
Replies: 2
Views: 83

Re: Can't get a stable esp01s with simple timer loop

You might need to close the response after you are finished with it, to free up socket resources. Something like:

Code: Select all

resp = urequests.get(...)
resp.close()
by Damien
Thu Sep 28, 2017 5:39 am
Forum: ESP8266 boards
Topic: Tired of ESP8266 Projects That Use Arduino
Replies: 5
Views: 277

Re: Tired of ESP8266 Projects That Use Arduino

So what can we do to encourage Micropython adoption in an Arduino world? Good to hear you that you like MicroPython and want to help with its adoption! Here are some ideas: Tell your friends and colleagues about MicroPython Blog about the projects that you build with MicroPython Blog about a compar...
by Damien
Sun Sep 10, 2017 7:41 am
Forum: Announcements and News
Topic: MicroPython running "bare metal" in the browser via unicorn.js
Replies: 5
Views: 20915

Re: MicroPython running "bare metal" in the browser via unicorn.js

For instance, the "Pin LED" demo errors with: TypeError: 'PIN' object is not callable Thanks for pointing this out. Unicorn is still very much a work-in-progress. The ability to call pin objects was actually implemented recently (see https://github.com/micropython/micropython-unicorn/commit/3c5346f...
by Damien
Sun Sep 10, 2017 7:27 am
Forum: General Discussion and Questions
Topic: github repository changes: all board/OS ports moved under ports/
Replies: 5
Views: 190

Re: github repository changes

In general, the latest code on github should be considered "unstable" and if you want to keep up to date with all the changes that happen, and the discussions around them, then please subscribe to the github notifications for the main repository. Otherwise, when a release is made there are comprehen...
by Damien
Tue Sep 05, 2017 6:11 am
Forum: Development of MicroPython
Topic: STM32 Increasing Stack, Heap and/or Filesystem size
Replies: 3
Views: 284

Re: STM32 Increasing Stack, Heap and/or Filesystem size

Is there any risk putting the cache in CPU only memory? Do any peripherals or DMA ever access the stack? The DMA on the STM32 is currently used for the following: SD card, DAC, SPI, I2C. The DAC, SPI and I2C are pretty much exclusively called by Python code with buffers allocated on the heap. SD ca...
by Damien
Tue Sep 05, 2017 4:43 am
Forum: The micro:bit
Topic: How is an event callback coded
Replies: 2
Views: 143

Re: How is an event callback coded

The MicroPython micro:bit API was designed primarily for teaching and use by school children, and it was decided not to include callbacks in the API because they can lead to complicated bugs. Instead you will need to poll the pin.
by Damien
Mon Jul 10, 2017 6:27 am
Forum: ESP8266 boards
Topic: SPI.LBS or SPI.MBS use on ESP8266
Replies: 1
Views: 149

Re: SPI.LBS or SPI.MBS use on ESP8266

The firstbit argument to the SPI constructor is not yet implemented. One way around this is to convert the data before you send it, but that's probably too computationally expensive.