Search found 3066 matches

by dhylands
Fri Mar 22, 2019 2:35 pm
Forum: General Discussion and Questions
Topic: Pyboard D
Replies: 3
Views: 116

Re: Pyboard D

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

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: 10
Views: 289

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: 2142

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: 160

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: 160

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: 160

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: 96

Re: I2C on NUCLEO-STM32F091RC board

Nobody has adapted the code to work with the F0 yet.
by dhylands
Tue Mar 19, 2019 4:35 pm
Forum: Development of MicroPython
Topic: Using Pointer to State in NLR Assembly
Replies: 7
Views: 132

Re: Using Pointer to State in NLR Assembly

Prepending C labels with underscores is a common thing that compilers do, but is definitely compiler specific (maybe even platform specific - I seem to recall working with some platforms using gcc where underscores were not prepended, but it was many years ago).
by dhylands
Mon Mar 18, 2019 3:42 pm
Forum: General Discussion and Questions
Topic: Developing PCB layout
Replies: 5
Views: 183

Re: Developing PCB layout

Unfortunately, the software isn't going to protect you. If you connect things up badly, you can damage components. I like to look at schematics of circuit boards and then try to understand each of the components and what their purpose is. Many datasheets will have typical circuitry for particular pu...