Search found 3482 matches

by dhylands
Thu Aug 27, 2020 3:56 pm
Forum: MicroPython pyboard
Topic: [SOLVED] can't connect to REPL
Replies: 14
Views: 1316

Re: can't connect to REPL

If you get the "busy" error that means that some other process already has the port open.

You should be able to use the lsof command to determine who has the port open:

Code: Select all

$ lsof | grep ttyACM0
by dhylands
Wed Aug 26, 2020 9:49 pm
Forum: Other Boards
Topic: STM32F207ZGT6
Replies: 1
Views: 196

Re: STM32F207ZGT6

I don't see the F2 HAL shown in the list of HAL's: https://github.com/micropython/stm32lib ... 2990270ecc
so I would say that it's currently unsupported.
by dhylands
Tue Aug 25, 2020 4:49 pm
Forum: Other Boards
Topic: [WeActSTM32F411CEU6] network.WLAN
Replies: 2
Views: 275

Re: [WeActSTM32F411CEU6] network.WLAN

The WeActSTM32F411CEU6 board has no hardware for WAN or LAN.

The pyboard (1.0 and 1.1 series) also has no WAN or LAN hardware. The Pyboard-D, ESP32, and ESP8266 all have WAN hardware builtin.
by dhylands
Sat Aug 22, 2020 7:19 pm
Forum: General Discussion and Questions
Topic: How do I get the make_new function in my module to be called
Replies: 2
Views: 249

Re: How do I get the make_new function in my module to be called

make_new is called when an instance of a class is created. This is effectively the constructor for the class. There is no make_new method associated with modules, however if your module instantiates an object the the make_new method from the class for that instance will be called.
by dhylands
Thu Aug 20, 2020 3:16 pm
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 3504

Re: Filesystem size with custom STM32F7 build

It will depend on your exact device. Some of the F7s only have 256k of RAM.

It looks like the F767 has 384K of RAM and 128K of DTCM.

Whether 128k of ram is enough would depend on your programs (it’s enough for micropython).

I don’t think that anybody has ever tried to do what you want.
by dhylands
Thu Aug 20, 2020 3:11 pm
Forum: MicroPython pyboard
Topic: Pyboard.py
Replies: 8
Views: 644

Re: Pyboard.py

On Windows you need to tell it the com port using the -device parameter (I.e. something like

Code: Select all

pyboard.py -device COM7 foo.py
replace COM7 with the correct com port for your setup. /dev/ttyAMA0 only works under Linux.
by dhylands
Thu Aug 20, 2020 1:54 am
Forum: MicroPython pyboard
Topic: Pyboard.py
Replies: 8
Views: 644

Re: Pyboard.py

Also note that using pyboard.py requires that you disconnect putty from your board while using pyboard.py
by dhylands
Thu Aug 20, 2020 1:52 am
Forum: General Discussion and Questions
Topic: Filesystem size with custom STM32F7 build
Replies: 35
Views: 3504

Re: Filesystem size with custom STM32F7 build

Unfortunately, the flash blocks are too big. In order to use a 256k flash block you need 256k of ram reserved. Currently, I believe only 64k of Ram is reserved which means that you can only use up to 64k blocks or with some special code the first 64k of the 256k blocks (which means that the remainin...
by dhylands
Fri Aug 14, 2020 5:33 pm
Forum: Other Boards
Topic: STM32F767 partition too small
Replies: 6
Views: 431

Re: STM32F767 partition too small

Yeah - the NODE_F767ZI is for flashing. You copy a file (probablu .hex format but I don't recall) and it flashes the 767.

Search for flashbdev
by dhylands
Fri Aug 14, 2020 5:14 pm
Forum: Other Boards
Topic: STM32F767 partition too small
Replies: 6
Views: 431

Re: STM32F767 partition too small

The usb connector on the stlink side goes to the stlink processor and NODE_F767ZI partition also comes from the stlink processor (and isn't accessible in any way from the 767. The other usb connector goes directly to the 767. It looks like the 767 has 2 Mbytes of flash, so I think it should be possi...