Search found 635 matches

by Damien
Wed Sep 02, 2020 6:10 am
Forum: Announcements and News
Topic: MicroPython version 1.13 released
Replies: 3
Views: 1374

MicroPython version 1.13 released

After a long delay and a crazy year, the team is happy to announce the next release of MicroPython, v1.13! Source code and firmware can be downloaded from https://micropython.org/download/ The full change log can be found at https://micropython.org/resources/micropython-ChangeLog.txt A summary of th...
by Damien
Wed Apr 29, 2020 4:22 am
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 10
Replies: 2
Views: 2984

MicroPython Newsletter Issue 10

Dear community, It's been a while since the last newsletter and, although we are in unprecedented times, MicroPython continues to move forward, albeit a bit more slowly. Today is MicroPython's 7th Birthday: the 29th of April marks the date on which the first line of code was written, and it's now be...
by Damien
Thu Apr 23, 2020 6:17 am
Forum: ESP8266 boards
Topic: Can anyone decode this ESP8266 core dump? [SOLVED] please read!
Replies: 12
Views: 1088

Re: Can anyone decode this ESP8266 core dump? [SOLVED] please read!

why does pinging make this go away? Maybe because with wifi power saving now enabled (which is perhaps why it wasn't seen before), when the power saving feature runs it runs in a certain location in flash which aliases to the same cache location that pin_intr_handler was in, and evicts the pin_intr...
by Damien
Thu Apr 23, 2020 5:38 am
Forum: ESP8266 boards
Topic: Can anyone decode this ESP8266 core dump? [SOLVED] please read!
Replies: 12
Views: 1088

Re: Can anyone decode this ESP8266 core dump? [SOLVED] please read!

The fact that it crashes with an IllegalInstructionCause right at pin_intr_handler is very good evidence that the crash is because pin_intr_handler is in flash and it cannot read flash because the hard GPIO IRQ has interrupted an ongoing flash operation. Note that pin_intr_handler is called by pin_i...
by Damien
Thu Apr 16, 2020 3:17 am
Forum: Pyboard D-series
Topic: Problem with CAN after firmware update
Replies: 6
Views: 793

Re: Problem with CAN after firmware update

I tried the latest PYBD-SF2 firmware, MicroPython v1.12-371-gf534b9976 on 2020-04-16; PYBD-SF2W with STM32F722IEK, and I am able to get the CAN bus working (communicating with a PYBv1.0 via CAN transceivers). The two main things I needed to do to get it working were: enable the PYBD 3.3V rail for th...
by Damien
Sun Apr 12, 2020 1:40 pm
Forum: Pyboard D-series
Topic: Problem with CAN after firmware update
Replies: 6
Views: 793

Re: Problem with CAN after firmware update

Is it possible to tell standard vs extended frames from the ID? (eg extended IDs would be larger than 11 bits) The early version of the PYBD firmware was from this pull request on github: https://github.com/micropython/micropython/pull/4669 To build it (or any version) do the following (after instal...
by Damien
Thu Apr 09, 2020 1:17 pm
Forum: Pyboard D-series
Topic: Problem with CAN after firmware update
Replies: 6
Views: 793

Re: Problem with CAN after firmware update

You can obtain the old firmware here: https://micropython.org/resources/firmw ... 1d3ca3.dfu

If that firmware works but the latest doesn't, then it should be possible to track down the bug and fix it.
by Damien
Tue Feb 18, 2020 11:23 am
Forum: Development of MicroPython
Topic: How to invoke own method from C?
Replies: 5
Views: 1021

Re: How to invoke own method from C?

I posted a possible solution to this in https://github.com/micropython/micropython/pull/5660. This allows the "stem" example to work as originally intended.
by Damien
Mon Feb 03, 2020 12:35 am
Forum: Pyboard D-series
Topic: Pyboard-D fwupdate.py config help
Replies: 4
Views: 906

Re: Pyboard-D fwupdate.py config help

There are two things of note that might be related to the issues here: The USB connector on the pyboard-D is the USB-HS port which does not support the built-in ST USB DFU bootloader . To access the low-level ST bootloader you'll need a WBUS-DIP28 which brings the USB-FS port out to the USB connecto...