Search found 3108 matches

by dhylands
Wed Mar 27, 2019 8:24 pm
Forum: Programs, Libraries and Tools
Topic: Launching a separate process instead of calling a memory intensive function
Replies: 11
Views: 436

Re: Launching a separate process instead of calling a memory intensive function

The approach to precompute the format and store the result as a file would work if I could completely erase any traces of the previous computations but so it is that even after a call to gc.collect() the available memory does not increase which in my view is due to fragmentation (what else could it...
by dhylands
Sat Mar 23, 2019 9:29 pm
Forum: MicroPython pyboard
Topic: Why is my timer erratic?
Replies: 10
Views: 262

Re: Why is my timer erratic?

Your code says freq=900 which 0.9 kHz, not 9kHz
by dhylands
Fri Mar 22, 2019 2:35 pm
Forum: General Discussion and Questions
Topic: Pyboard D
Replies: 5
Views: 313

Re: Pyboard D

I just bought some from store.micropython.org
by dhylands
Fri Mar 22, 2019 2:34 pm
Forum: MicroPython pyboard
Topic: Speed of uart
Replies: 6
Views: 178

Re: Speed of uart

I've used the UART on the pyboard at 1 Mbit (1000000) to talk to bioloid servos.
by dhylands
Thu Mar 21, 2019 6:36 pm
Forum: ESP32 boards
Topic: How to read from a i2c sensor and print on a i2c display when both use different init pins
Replies: 14
Views: 517

Re: How to read from a i2c sensor and print on a i2c display when both use different init pins

well 0x28 = 40 and 0x29 = 41.

The numbers reported by i2c.scan are decimal.

Make sure that you have a good ground connection between your devices and the processor.
by dhylands
Wed Mar 20, 2019 8:38 pm
Forum: ESP8266 boards
Topic: Uploading MicroPython to Wemos D1 leads to garbage
Replies: 15
Views: 2347

Re: Uploading MicroPython to Wemos D1 leads to garbage

In putty make sure that you have flow control disabled.
by dhylands
Wed Mar 20, 2019 6:54 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 10
Views: 254

Re: Filesystem size with custom STM32F7 build

Looking at the Reference Manual for the STM32F767 it looks like all of the variants have 128K of DTCM How the flash blocks are arranged depends on whether dual-banked mode is enabled or not, and I think this may depend on the exact variant that you have (the letters that appear after STM32F767 in th...
by dhylands
Wed Mar 20, 2019 3:22 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 10
Views: 254

Re: Filesystem size with custom STM32F7 build

I should have been more specific. There is something called CACHE_MEM_START_ADDR that points to a block of permanently available RAM which is used for the flash file system. It looks like this corresponds to the DTCM, which is 128K ?. You didn't mention exactly which chip you're using, so I'm not su...
by dhylands
Wed Mar 20, 2019 4:44 am
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 10
Views: 254

Re: Filesystem size with custom STM32F7 build

In order to modify a flash block, it needs to be read into RAM in its entirety, modified and then written back out.

So if you add larger flash blocks to your filesystem you need to also ensure that you have enough RAM to support that.
by dhylands
Tue Mar 19, 2019 9:33 pm
Forum: Other Boards
Topic: I2C on NUCLEO-STM32F091RC board
Replies: 2
Views: 144

Re: I2C on NUCLEO-STM32F091RC board

Nobody has adapted the code to work with the F0 yet.