STM32F4 Discovery board - save() no longer works #3573
Replies: 2 comments
-
Posted at 2014-02-07 by @gfwilliams It might be worth trying an earlier version just to rule it out - however if the board comes back and works after you type When you plug your board back in and type Is it just that you are using BTN1's pin for something and it is pulled high? That's been a problem before. BTN1 is usually used as a safety net - when held down at startup it stops Espruino loading the saved code (in case what you wrote to Espruino stopped it from working). |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-02-07 by tage Thank you! I had connected a 4*20 serial LCD display to A0 (UART4TX) which also is labeled BTN1. After moving the wire to C6 (USART6TX) and changing Serial4 to Serial6 it works fine. I can now unplug the STM2F4 Discovery board and when I power it up from an external source or a computer it works as expected. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-02-07 by tage
it appears that I can no longer save a program on my Discovery board. I can Send a program to the board and it starts to run and the program works, and I write save(); and when I press ENTER it seems that the program is being written, as I see the "Erasing Flash.. and Programming 109000 Bytes... Checking... Done!
and then it shows the
Running onInit()...
as expected, and my program still works. but if I unplug power and try to run the program with or without connection to a computer, there is nothing. the program does not appear to have been saved.
this used to work. I am using the latest web ide and the latest nigthly (1v51 it says).
I have not tried to go back to an earlier version. I wonder if I am doing something wrong, but my programs used to run standalone after being saved()
Beta Was this translation helpful? Give feedback.
All reactions