Search found 20 matches

by Niallp
Mon Feb 04, 2019 8:18 pm
Forum: Other Boards
Topic: Nucleo re-programming problem
Replies: 9
Views: 166

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 ...
by Niallp
Mon Feb 04, 2019 6:13 pm
Forum: Other Boards
Topic: Nucleo re-programming problem
Replies: 9
Views: 166

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...
by Niallp
Mon Feb 04, 2019 6:09 pm
Forum: Other Boards
Topic: Nucleo re-programming problem
Replies: 9
Views: 166

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 ...
by Niallp
Fri Feb 01, 2019 9:03 pm
Forum: Other Boards
Topic: Nucleo re-programming problem
Replies: 9
Views: 166

Re: Nucleo re-programming problem

Via st-flash (using make BOARD=xxx deploy-stlink)
by Niallp
Fri Feb 01, 2019 7:27 pm
Forum: Other Boards
Topic: Nucleo re-programming problem
Replies: 9
Views: 166

Re: Nucleo re-programming problem

I had already updated both stlink (v1.5.1-12-g30de1b3) and the programmer bootloader (V2J33M25) but I tried the suggested commit (358a913) as well ... no change, still get FAIL.TXT and nothing on st-info --probe ... :( I guess something else is going on, will have to dig some more. On the bright sid...
by Niallp
Fri Feb 01, 2019 5:49 pm
Forum: Other Boards
Topic: Nucleo re-programming problem
Replies: 9
Views: 166

Nucleo re-programming problem

I have a Nucleo-L476RG board I have successfully built and programmed with Micropython (REPL is running via CDC etc.) however I have been unable to reprogram it since ... it appears the ST-link interface can no longer access the stm32l476 anymore, the MBED drive now has a file FAIL.TXT containing 'T...
by Niallp
Fri Jan 25, 2019 8:18 pm
Forum: Other Boards
Topic: [STM32L476DISCO] RTC not ticking
Replies: 5
Views: 1183

Re: [STM32L476DISCO] RTC not ticking

Many thanks for pointing out the init() function and that it needs to be called explicitly ... I couldn't figure out why the clock wasn't running on my board (based on the Nucleo-L476RG port) unless I had already run some other code (using CubeMX) that had initialized access to the RTC backup regist...
by Niallp
Mon Nov 19, 2018 8:21 pm
Forum: The MicroPython pyboard
Topic: Mount SD card later in my program using os.mount
Replies: 3
Views: 1675

Re: Mount SD card later in my program using os.mount

I have a similar application, want to use SD for datalog only, not code. When I try this with the latest though (1.9.4) I get >>> sd = pyb.SDCard() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'SDCard' so clearly not defined ...
by Niallp
Thu Mar 22, 2018 5:23 pm
Forum: ESP8266 boards
Topic: webrepl_setp throws OSError: [Errno 2] ENOENT
Replies: 6
Views: 1052

Re: webrepl_setp throws OSError: [Errno 2] ENOENT

Bringing up a fresh esp12 module with micropython, latest from git, looks like a similar problem but the module has a 32 Mbit memory so that isn't the issue. it doesn't appear to be setting up the filesystem initially and (likely as a consequence) I can't get webrepl_setup going. It took a few tries...
by Niallp
Sun Mar 11, 2018 7:39 am
Forum: The WiPy and CC3200 boards
Topic: WiPy 1.0 filesystem reset
Replies: 0
Views: 287

WiPy 1.0 filesystem reset

Still struggling with my WIPy 1.0 running 1.9.3, it does not appear to be reading the boot.py or main.py scripts on startup. The files appear OK via ftp but were left over from earlier versions so I tried resetting the flash file system. The recipe as documented doesn't work ( http://docs.micropytho...