Search found 640 matches
- Thu Apr 16, 2020 3:17 am
- Forum: Pyboard D-series
- Topic: Problem with CAN after firmware update
- Replies: 6
- Views: 1304
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...
- Sun Apr 12, 2020 1:40 pm
- Forum: Pyboard D-series
- Topic: Problem with CAN after firmware update
- Replies: 6
- Views: 1304
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...
- Thu Apr 09, 2020 1:17 pm
- Forum: Pyboard D-series
- Topic: Problem with CAN after firmware update
- Replies: 6
- Views: 1304
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.
If that firmware works but the latest doesn't, then it should be possible to track down the bug and fix it.
- Tue Feb 18, 2020 11:23 am
- Forum: Development of MicroPython
- Topic: How to invoke own method from C?
- Replies: 5
- Views: 1502
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.
- Mon Feb 03, 2020 12:35 am
- Forum: Pyboard D-series
- Topic: Pyboard-D fwupdate.py config help
- Replies: 4
- Views: 1254
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...
- Mon Jan 06, 2020 12:28 pm
- Forum: General Discussion and Questions
- Topic: dict.keys() does not behave as set
- Replies: 4
- Views: 970
Re: dict.keys() does not behave as set
This difference has been added to the CPython-difference part of the docs (see github for reference).
- Mon Dec 23, 2019 12:11 am
- Forum: Announcements and News
- Topic: MicroPython version 1.12 released
- Replies: 19
- Views: 11736
MicroPython version 1.12 released
We're happy to announce the next release of MicroPython, v1.12! 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 the changes follows. Enjoy! v1.12: PYBD board...
- Fri Nov 22, 2019 4:12 am
- Forum: Development of MicroPython
- Topic: How to soft reset the whole context of upy when process running?
- Replies: 3
- Views: 1252
Re: How to soft reset the whole context of upy when process running?
In your code you call both mp_stack_ctrl_init() and mp_stack_set_top(...). Only one of these should be called, usually it's mp_stack_ctrl_init() which sets the stack top automatically. mp_stack_set_top is only used if setting it automatically doesn't work. Otherwise, the stack limit checking is quit...
- Fri Nov 01, 2019 10:51 am
- Forum: Development of MicroPython
- Topic: ulab, or what you will - numpy on bare metal
- Replies: 106
- Views: 20285
Re: ulab, or what you will - numpy on bare metal
The PYBD_SF6 uses double precision float, and only provides the double precision math functions (eg sin, cos, not sinf, cosf). I see in your ulab code that you use "float" exclusively as the FP data type (at the C level). Is this a restriction or can it also work with double? I would suggest changin...
- Fri Nov 01, 2019 10:48 am
- Forum: Pyboard D-series
- Topic: DFU flashing 2nd partition takes 20 minutes
- Replies: 9
- Views: 2012
Re: DFU flashing 2nd partition takes 20 minutes
This really sounds like a hardware issue with the external QSPI flash, the memory-mapped one. The only thing I can suggest at this stage is to remove the PYBD_SF2 completely from anything connected to it, and power it up over USB and measure the current draw using a USB power meter. It should draw a...