Search found 14 matches

by bradstew
Fri Sep 18, 2020 11:37 pm
Forum: MicroPython pyboard
Topic: Potential Bug
Replies: 4
Views: 78

Re: Potential Bug

Try it exactly as I mentioned.
I tried it on both V1.1 and V1.3.
Be sure to press the USR button afterwards. Then press Ctrl-D.
by bradstew
Fri Sep 18, 2020 9:32 pm
Forum: MicroPython pyboard
Topic: Potential Bug
Replies: 4
Views: 78

Potential Bug

I found an issue with the PyBoard running MicroPython V1.x. Enter the following code in REPL. from pyb import Pin PB3 = Pin("B3", Pin.IN) PB3.value() #reports 1 Now if you press the USR button and release it, then issue a Ctrl-D at the terminal, the board will go into a fault state with LED's blinki...
by bradstew
Sun Sep 06, 2020 9:48 pm
Forum: General Discussion and Questions
Topic: Remove "dirty" in boot message
Replies: 11
Views: 345

Re: Remove "dirty" in boot message

I did a "git status" and it did correctly report the changed files. I added an additional directory for my board (which is a derivative of the PYBV11). My problem is that I would like to update the repo, but I'm scared to do this as I don't want to mess things up. I do have my own repo (github/aeros...
by bradstew
Thu Sep 03, 2020 4:51 pm
Forum: General Discussion and Questions
Topic: Remove "dirty" in boot message
Replies: 11
Views: 345

Remove "dirty" in boot message

Hi, I've built a few micropython kernels for the STM32F405 boards using the PYBV11 as a template. However, the message listed on boot says something like "dirty-xxxx" where xxxx appears to be some hash. If I remove the .git folder, this goes away. Is there some flag I can set so I can leave the .git...
by bradstew
Wed Jul 08, 2020 5:53 pm
Forum: Development of MicroPython
Topic: Pyboard V1.1 UART1 Pin Change
Replies: 1
Views: 235

Re: Pyboard V1.1 UART1 Pin Change

I seem to have it working now.
I can leave the USB FS enabled but comment out the pins associated with it.

// USB config
#define MICROPY_HW_USB_FS (1) //leave as is
//#define MICROPY_HW_USB_VBUS_DETECT_PIN (pin_A9)
//#define MICROPY_HW_USB_OTG_ID_PIN (pin_A10)
by bradstew
Mon Jul 06, 2020 9:58 pm
Forum: Development of MicroPython
Topic: Pyboard V1.1 UART1 Pin Change
Replies: 1
Views: 235

Pyboard V1.1 UART1 Pin Change

Hello, I'm modifying MicroPython for a custom build based on the STM32F405. I am using the Pyboard V11 as a template and making changes to mpconfigboard.h where needed. I want to use PA10 and PA11 for UART1 and not use the USB OtG (which is an option on the PyBoard). I changed the lines in mpconfigb...
by bradstew
Wed Jan 08, 2020 10:54 pm
Forum: MicroPython pyboard
Topic: How to get file size
Replies: 4
Views: 585

Re: How to get file size

Works for me.
Thanks!
by bradstew
Wed Jan 08, 2020 7:06 pm
Forum: MicroPython pyboard
Topic: How to get file size
Replies: 4
Views: 585

Re: How to get file size

Yes, that works. But the numbers returned are not documented.
by bradstew
Wed Jan 08, 2020 5:49 pm
Forum: MicroPython pyboard
Topic: How to get file size
Replies: 4
Views: 585

How to get file size

I am using uPython on a STM32F405 using a modified pyboard build. I have a 128Mb SPI external flash connected. i am able to format it for FAT and can read and write files with no problems. But I cannot get the size of a file on the flash. I have been logging data successfully. It's a large file and ...
by bradstew
Sat Dec 28, 2019 11:33 pm
Forum: General Discussion and Questions
Topic: SPI py2py Master and Slave comm problem
Replies: 6
Views: 1737

Re: SPI py2py Master and Slave comm problem

Perhaps the reason interrupt don't work is the "ti=false" property.
I'm only guessing as there is no documentation on what this does