Search found 26 matches
- Wed Jun 05, 2019 8:32 pm
- Forum: General Discussion and Questions
- Topic: Debugging boot, safe mode ?
- Replies: 10
- Views: 6908
Re: Debugging boot, safe mode ?
In the pyboiard schematics: https://raw.githubusercontent.com/micropython/pyboard/master/PYBv10b.pdf The USR button is at the very bottom of the page near the center. You configure which pin is the USR button in your mpconfigboard.h https://github.com/micropython/micropython/blob/faf3d3e9e93a71b394...
- Wed Jun 05, 2019 12:04 am
- Forum: General Discussion and Questions
- Topic: Debugging boot, safe mode ?
- Replies: 10
- Views: 6908
Re: Debugging boot, safe mode ?
Do you have anything connected to X17? That's also connected to the USR button. There is a pullup resistor on the line (to pull USR to 3.3v when the button isn't pressed). if it had a cold solder joint then the line might float. You could try adding an external pullup resistor between X17 and 3.3v ...
- Tue Jun 04, 2019 9:15 pm
- Forum: General Discussion and Questions
- Topic: Debugging boot, safe mode ?
- Replies: 10
- Views: 6908
Re: Debugging boot, safe mode ?
Are you running a linux system? If so then check to see if you have modemmanager installed and uninstall it. modemmanager will open serial ports that looks like modems and send AT commands to them. Yes and in earlier development I did notice it dumping crap onto the console, symptom being a syntax ...
- Tue Jun 04, 2019 9:09 pm
- Forum: General Discussion and Questions
- Topic: Debugging boot, safe mode ?
- Replies: 10
- Views: 6908
Re: Debugging boot, safe mode ?
Interesting, I have never seen that behavior. Not on my esp8266 nor on my Esp32 Try adding this to your boot.py before executing any of your code: import utime utime.sleep_ms(100) No difference ... I don't think the board is making it to boot.py or the first couple lines for the LED would run. I do...
- Tue Jun 04, 2019 6:40 pm
- Forum: General Discussion and Questions
- Topic: Debugging boot, safe mode ?
- Replies: 10
- Views: 6908
Debugging boot, safe mode ?
Hello, I've been working around inconsistent booting for a while now but moving to deployment I really need to get the boards to boot consistently or they'll be useless in the field. The problem I am seeing is inconsistent booting ... the boards will hang on reset for about 10s, then go directly to ...
- Mon Apr 15, 2019 10:25 pm
- Forum: MicroPython pyboard
- Topic: I can't access microSD cards with Pyboard 1.1
- Replies: 28
- Views: 61548
Re: I can't access microSD cards with Pyboard 1.1
What version of mp are you using ? I've just updated to the latest master and now my previously working uSD card isn't recognized. A board using 1.9.4 works fine, SD and SDCard are in pyb but the latest (1.10.0) don't have them anymore, has the API changed ? EDIT: found the problem, MICROPY_HW_HAS_S...
- Mon Feb 04, 2019 8:18 pm
- Forum: Other Boards
- Topic: Nucleo re-programming problem
- Replies: 9
- Views: 8192
Re: Nucleo re-programming problem
Thanks, I thought I had reverted to 358a913 but clearly it wasn't clean enough ... this time after a rebuild it is able to flash the F4DISC board again (maybe the power cycle helped as well). Still have my Nucleo board problem, that seems to be deeper, something about the L476 is not allowing it to ...
- Mon Feb 04, 2019 6:13 pm
- Forum: Other Boards
- Topic: Nucleo re-programming problem
- Replies: 9
- Views: 8192
Re: Nucleo re-programming problem
You can do: st-flash erase to do a mass erase of the entire part (include the firmware and filesystem). Unfortunately the Nucleo debugger doesn't even recognize the chip at all ... st-flash erase st-flash 1.5.1-12-g30de1b3 2019-02-04T10:11:41 INFO common.c: Loading device parameters.... 2019-02-04T...
- Mon Feb 04, 2019 6:09 pm
- Forum: Other Boards
- Topic: Nucleo re-programming problem
- Replies: 9
- Views: 8192
Re: Nucleo re-programming problem
Update: now my F4DISC board isn't working, different error though. Using latest stlink (v1.5.1-12-g30de1b3) and deploy-stlink: make BOARD=STM32F4DISC deploy-stlink Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. Writing build-STM32F4DISC/firmware0.bin to the board ...
- Fri Feb 01, 2019 9:03 pm
- Forum: Other Boards
- Topic: Nucleo re-programming problem
- Replies: 9
- Views: 8192