Search found 29 matches

by nmz787
Fri Jul 15, 2016 8:23 am
Forum: Other Boards
Topic: Q: Nucleo F401 with UART bootloader
Replies: 37
Views: 28409

Re: Q: Nucleo F401 with UART bootloader

Well enough for tonight, thanks for the help. I see a file-system folder auto-open with the boot.py and main.py... so I will play with this tomorrow. Maybe I'll even take it into work (though I can't do a demo of the cap-sense LED program I made without an LED first I guess!) Yeah couldn't hold bac...
by nmz787
Fri Jul 15, 2016 7:55 am
Forum: Other Boards
Topic: Q: Nucleo F401 with UART bootloader
Replies: 37
Views: 28409

Re: Q: Nucleo F401 with UART bootloader

I put a more complete blog post up here: http://blog.davehylands.com/2016/07/bringing-up-micropython-on-ghi.html The board doesn't include a regulator. If you plug the board into USB with no regulator, then the USB light will light up, and nothing else will happen (since the MCU needs 3.3v). For th...
by nmz787
Fri Jul 15, 2016 5:41 am
Forum: Other Boards
Topic: Q: Nucleo F401 with UART bootloader
Replies: 37
Views: 28409

Re: Q: Nucleo F401 with UART bootloader

The G30TH board definition can be found here: https://github.com/dhylands/G30TH Thanks, I got mine yesterday... if I can get off the phone I might be able to get this going tonight (but maybe not) The G30TH doesn't have an onboard regulator, so you'll need to provide an external one. The USB power ...
by nmz787
Mon Jul 11, 2016 11:56 pm
Forum: Other Boards
Topic: Q: Nucleo F401 with UART bootloader
Replies: 37
Views: 28409

Re: Q: Nucleo F401 with UART bootloader

Thanks for suggesting this board, it will be a help. I might order one too -- but probably use the nucleo -- mine seems to flash OK several times loading the bare firmware...next, armed with your explanation of the order of files and REPL execution, I need to try writing files next. To be clear, it...
by nmz787
Mon Jul 11, 2016 12:45 am
Forum: General Discussion and Questions
Topic: Is it possible to check code on laptop before flashing MCU?
Replies: 4
Views: 3879

Is it possible to check code on laptop before flashing MCU?

When I am trying to copy my script file to my Nucleo F401 with rshell, rshell hangs about 90% of the time... and I have to reboot the board holding the user button, and sometimes I even frustratingly hold the user-button even longer so the filesystem gets wiped. It /seems/ this hanging might be rela...
by nmz787
Sun Jul 10, 2016 10:43 pm
Forum: Other Boards
Topic: Half-decent LED-PWM and capacitive-sense GPIO coroutines
Replies: 2
Views: 3138

Re: Half-decent fake-LED-PWM and capacitive-sense GPIO coroutines

Since BBCode isn't enabled for my user, here is the code on github for readability:
https://gist.github.com/nmz787/afc7fea4 ... ce5da0c52d
by nmz787
Sun Jul 10, 2016 10:15 pm
Forum: Other Boards
Topic: Half-decent LED-PWM and capacitive-sense GPIO coroutines
Replies: 2
Views: 3138

Half-decent LED-PWM and capacitive-sense GPIO coroutines

(edited because I figured out how to get PWM working for the LED, and results are marginally better) (and again to enable BBCode) The idea is to set a GPIO pin LOW, then as an INPUT, and see how long (based on capacitive field of your body moving to and from) the pin registers as HIGH. I try to self...
by nmz787
Sun Jul 10, 2016 8:51 pm
Forum: Other Boards
Topic: Nucleo-F401RE with stlink
Replies: 7
Views: 7278

Re: Nucleo-F401RE with stlink

[quote="dhylands"]It would be useful to describe what you're connecting to where. By default, UART-2 is connected to he stlink processor, which will be advertised as /dev/ttyACM0 when plugging in the NUCLEO board [/quote] yeah that is what I figured when I was going through the schematic from STM, a...
by nmz787
Sun Jul 10, 2016 8:17 am
Forum: Other Boards
Topic: Nucleo-F401RE with stlink
Replies: 7
Views: 7278

Re: Nucleo-F401RE with stlink

Any tips on getting serial writes to work with this board? I tried a few things and have no luck :( [quote] #import pyb #usb = pyb.USB_VCP() from pyb import UART #uart = UART(2) # init with given baudrate uart = UART(6) # init with given baudrate uart.init(9600, bits=8, parity=None, stop=1) def outp...