Search found 614 matches

by Damien
Wed Sep 11, 2019 1:20 am
Forum: General Discussion and Questions
Topic: STM32F769I-DISC1 heap issues
Replies: 8
Views: 359

Re: STM32F769I-DISC1 heap issues

The above fix was merged into master.
by Damien
Tue Sep 10, 2019 3:30 am
Forum: Pyboard D-series
Topic: High Speed USB PHY
Replies: 4
Views: 338

Re: High Speed USB PHY

Docs for pyb.usb_mode() have now been updated. Regarding fast data transmission over USB: there has been some (not publicly available) work done to use MSC to communicate between a board and a PC, by essentially memory mapping an MSC block on both the PC and pyboard and then writing/reading the bloc...
by Damien
Mon Sep 09, 2019 1:31 pm
Forum: Pyboard D-series
Topic: High Speed USB PHY
Replies: 4
Views: 338

Re: High Speed USB PHY

To enable high-speed USB you need to pass "high_speed=True" when setting the USB mode, eg

Code: Select all

pyb.usb_mode('VCP+MSC', high_speed=True)
This definitely needs to be added to the documentation!
by Damien
Sun Sep 08, 2019 11:34 am
Forum: General Discussion and Questions
Topic: STM32F769I-DISC1 heap issues
Replies: 8
Views: 359

Re: STM32F769I-DISC1 heap issues

From what you describe it doesn't sound like a heap fragmentation issue. Heap fragmentation would eventually lead to a MemoryError exception being raised, and then MicroPython will drop to the REPL. You can then run micropython.mem_info(1) to get a view of the heap to see how fragmented it is. If yo...
by Damien
Thu Jul 25, 2019 3:42 am
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 17
Views: 3450

Re: uPing - Ping library for MicroPython

Thanks for testing. I think raw sockets are a good addition (should have been done earlier!).

Would be good to put the uping.py script in a repository somewhere so it can be maintained.
by Damien
Wed Jul 24, 2019 2:34 pm
Forum: Programs, Libraries and Tools
Topic: uPing - Ping library for MicroPython
Replies: 17
Views: 3450

Re: uPing - Ping library for MicroPython

I've been able to add support for SOCK_RAW on esp8266 and stm32 boards, and tested that uPing then works on these ports. See pull request here: https://github.com/micropython/micropython/pull/4946
by Damien
Fri Jul 05, 2019 2:21 am
Forum: General Discussion and Questions
Topic: Could not attach screenshot in my reply for a thread
Replies: 3
Views: 199

Re: Could not attach screenshot in my reply for a thread

I was able to attach a small image in the post above. The maximum attachment size is 320k. What size is your attachment?
by Damien
Fri Jul 05, 2019 2:20 am
Forum: General Discussion and Questions
Topic: Could not attach screenshot in my reply for a thread
Replies: 3
Views: 199

Re: Could not attach screenshot in my reply for a thread

test attachment
rt.jpg
rt.jpg (14.87 KiB) Viewed 173 times
by Damien
Tue Jul 02, 2019 7:32 am
Forum: General Discussion and Questions
Topic: Freezing / Compiling raw binary data in DFU
Replies: 11
Views: 510

Re: Freezing / Compiling raw binary data in DFU

As mentioned above, you can use frozen scripts to store a bytes object in ROM. An alternative: to load binary data to some external device (here SPI RAM) then you could simply store that binary data directly on the filesystem as a binary file, then copy it to the external SPI RAM device using a simp...
by Damien
Wed May 15, 2019 2:27 pm
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 9
Replies: 2
Views: 860

MicroPython Newsletter Issue 9

Dear community, This is a brief newsletter to announce that at UTC 17:00 today (15th May 2019) we will make available new stock in the MicroPython online store. All pyboard D-series boards and accessories will be available. And to celebrate that it was just (two weeks ago) MicroPython's 6th Birthday...