Search found 101 matches

by chrismas9
Thu Sep 13, 2018 12:25 pm
Forum: MicroPython pyboard
Topic: Updating firmware on a PyBoard
Replies: 8
Views: 900

Re: Updating firmware on a PyBoard

If you reset the Pyboard the USB virtual com port disappears and comes back. Putty does not recover. With Putty you have to disconnect before the reset and reconnect after the port is re-established. I use Hyperterminal. It usually lets you disconnect and reconnect after a reset. I don't know of any...
by chrismas9
Mon Sep 10, 2018 12:22 pm
Forum: MicroPython pyboard
Topic: Updating firmware on a PyBoard
Replies: 8
Views: 900

Re: Updating firmware on a PyBoard

Since you are talking about COM1 I suspect you are using Windows. Download the DfuSE demo from ST.com and use it to program the STM32 over USB. There is more information here: https://micropython.org/resources/Micro-Python-Windows-setup.pdf Windows 10 has built in drivers so ignore the driver sectio...
by chrismas9
Mon Sep 10, 2018 12:01 pm
Forum: MicroPython pyboard
Topic: Avoiding the Cargo Cult: R19 and VBACKUP
Replies: 5
Views: 479

Re: Avoiding the Cargo Cult: R19 and VBACKUP

This is a UL requirement for use of coin cells. See this post: https://www.embedded.com/electronics-blogs/break-points/4430499/UL-coin-cell-requirements- Pyboard uses the second circuit with two diodes and a resistor where the two diodes are replaced by an active MOSFET changeover switch in the STM3...
by chrismas9
Thu Aug 23, 2018 5:26 am
Forum: General Discussion and Questions
Topic: Best way to debug with no USB
Replies: 6
Views: 490

Re: Best way to debug with no USB

The ESP8266 does not have USB either so various programs have been developed to download scripts to flash over the REPL serial port using raw REPL mode.

Dave Hyland's rshell is well regarded but there are others like mu, Ampy, etc
by chrismas9
Thu Aug 16, 2018 1:17 pm
Forum: MicroPython pyboard
Topic: pyboard doesn't show up as USB flash device on Windows 10 machine
Replies: 14
Views: 4627

Re: pyboard doesn't show up as USB flash device on Windows 10 machine

Saying it's two dead STM32's doesn't correlate with the misbehaving flash drives and camera. 1. If you reboot the PC's do the other devices work on all PC's? 2. To determine whether it's a Windows software issue try booting from a run from CD Linux distro. I the pyboards work you may have a driver p...
by chrismas9
Mon Aug 06, 2018 1:33 pm
Forum: MicroPython pyboard
Topic: Amplitude/PWM
Replies: 7
Views: 849

Re: Amplitude/PWM

You can modulate the DAC output with the PWM. 1. Connect a resistor, say 10k to the DAC pin. The other end will be your output. 2. Connect a MOSFET, say 2N700p - S to GND, G to PWM and D to output end of resistor. When the PWM is high the MOSFET will be on and drive output to 0V. When PWM is low the...
by chrismas9
Sat Jul 28, 2018 6:53 am
Forum: MicroPython pyboard
Topic: No USB HardDrive With The four main files. Help
Replies: 3
Views: 360

Re: No USB HardDrive With The four main files. Help

What brand of board is it? Is it a genuine pybV1.1 from Damien or something else? It sounds like something with a dual USB to serial chip or debugger like ST-LINK. Genuine Pyboard won't generate 2 serial ports. Anything with a USB to serial chip won't create a USB dusk drive on the host. Post a phot...
by chrismas9
Sat Jul 14, 2018 4:58 pm
Forum: MicroPython pyboard
Topic: stop() current consumption (SOLVED)
Replies: 2
Views: 422

Re: stop() current consumption

Damien did some tests before the release of pyb lite. From memory you have to set all pins to input with pulldown. The output driver had some leakage current.
by chrismas9
Sun Jul 08, 2018 7:17 am
Forum: General Discussion and Questions
Topic: Host pushing JSON config file to Pyboard
Replies: 10
Views: 887

Re: Host pushing JSON config file to Pyboard

You can get eMMC chips for under $5 but stock is limited. Search eMMC at octopart.com then search by price.