Search found 2754 matches
- Sun Jan 05, 2020 5:09 am
- Forum: Other Boards
- Topic: Flashing NRF using pyOCD
- Replies: 13
- Views: 9679
Re: Flashing NRF using pyOCD
FWIW I have successfully used a Black Magic Probe to flash a Particle Xenon (nrf52840). (I added the FLASHER=bmp support to the nrf Makefile) What does your ./gdb-nrf52.sh look like? Is it possible to use gdb / black magic probe to detect whether micropython is actuall running using the gdb / back m...
- Sun Jan 05, 2020 5:03 am
- Forum: MicroPython pyboard
- Topic: NeoPixel Library
- Replies: 5
- Views: 8491
Re: NeoPixel Library
Even better, Damien created a PR a few weeks ago (hopefully to be merged soon) that adds a proper driver to the stm32 port: https://github.com/micropython/micropython/pull/5318
- Fri Jan 03, 2020 11:51 pm
- Forum: General Discussion and Questions
- Topic: Upgrade to 1.12
- Replies: 5
- Views: 2619
Re: Upgrade to 1.12
So that means that your git repo doesn't appear to have the v1.12 tag? Can you run "git tag -l"
What's your origin remote? "git remote -v"
And what's the HEAD commit? "git log -n 1"
What's your origin remote? "git remote -v"
And what's the HEAD commit? "git log -n 1"
- Fri Jan 03, 2020 11:41 pm
- Forum: General Discussion and Questions
- Topic: mixing asyncio and physical I/O
- Replies: 3
- Views: 2060
Re: mixing asyncio and physical I/O
There isn't really support yet for "async" hardware APIs. Have a look at https://forum.micropython.org/viewtopic.php?f=3&t=7372&p=42573 for a recent example though. You're right -- if you call a blocking hardware API, the entire asyncio loop will be blocked. The longer answer is that we'll need to m...
- Fri Jan 03, 2020 11:33 pm
- Forum: General Discussion and Questions
- Topic: get more free RAM...
- Replies: 44
- Views: 27363
Re: get more free RAM...
Yes -- the interpreter needs the bytecode to be in randomly accessible memory (not specifically RAM, but just memory that it can access like a pointer to bytes). Which the firmware in ROM is (as you've seen with your hex dump tool). Yes -- because MicroPython does not (currently) have a way to write...
- Fri Jan 03, 2020 11:19 pm
- Forum: General Discussion and Questions
- Topic: Comparison of the three Pyboard D models?
- Replies: 11
- Views: 7330
Re: Comparison of the three Pyboard D models?
USB needs three things: - a software stack - a hardware implementation (this is what i'm calling the peripheral, i.e. registers and buffers and stuff) - an electrical interface (a PHY) (this generates the fast differential signal) All three chips support USB HS. However, the PHY on the 767 and 722 o...
- Fri Jan 03, 2020 2:51 pm
- Forum: General Discussion and Questions
- Topic: Upgrade to 1.12
- Replies: 5
- Views: 2619
Re: Upgrade to 1.12
Can you look at build-BLACK_F407VE/genhdr/mpversion.h and see what the banner looks like there?
Compare that to the output of
which is what py/makeversionhdr.py uses to generate that file.
Compare that to the output of
Code: Select all
git describe --dirty --always
- Fri Jan 03, 2020 2:32 pm
- Forum: General Discussion and Questions
- Topic: Upgrade to 1.12
- Replies: 5
- Views: 2619
Re: Upgrade to 1.12
I'm guessing you're using https://github.com/mcauser/BLACK_F407VE as I don't believe this board is supported in the main repo? Edit: removed the previous message. Misread your question. On second thought, looking at the banner, the date and hash indicate that it is 1.12... hrmmm, have you tried runn...
- Fri Jan 03, 2020 2:04 pm
- Forum: General Discussion and Questions
- Topic: Comparison of the three Pyboard D models?
- Replies: 11
- Views: 7330
Re: Comparison of the three Pyboard D models?
I'll confirm this for sure next week, but off the top of my head here are some additional points relevant to your summary: They all have USB HS _peripherals_ but only the 723 (SF3) has the on-board HS PHY. (I realise this distinction is irrelevant for most people though as the pybd does not include ...
- Fri Jan 03, 2020 1:14 pm
- Forum: General Discussion and Questions
- Topic: Would a pyboard purchase support the project?
- Replies: 15
- Views: 8876
Re: Would a pyboard purchase support the project?
Yes. Damien works on MicroPython as his full-time job, and although there are some other things that also support the project, the sale of pyboards and related accessories through his company, George Robotics, is a major part of what makes it possible for him to do that. (Minor disclaimer: I am a pa...