-
-
-
Here I give you the appropriate information.
process.memory()
={ "free": 5053, "usage": 47, "total": 5100, "history": 26,
"stackEndAddress": 536958472, "flash_start": 134217728, "flash_binary_end": 380528, "flash_code_start": 134234112, "flash_length": 393216 }
process.env
={
"VERSION": "1v93",
"BUILD_DATE": "Jul 10 2017",
"BUILD_TIME": "16:50:43",
"GIT_COMMIT": "d504008aa8305ef0cd95225c4482bd2166c79993",
"BOARD": "PICO_R1_3",
"CHIP": "STM32F401CDU6",
"CHIP_FAMILY": "STM32F4",
"FLASH": 393216, "RAM": 98304,
"SERIAL": "43006b00-04513634-30323836",
"CONSOLE": "USB",
"EXPORTS": { "jsvLock": 284169, "jsvLockAgainSafe": 284155, "jsvUnLock": 284129, "jsvSkipName": 128085,"jsvMathsOp": 76299, "jsvMathsOpSkipNames": 76349, "jsvNewFromFloat": 284485, "jsvNewFromInteger": 284521, "jsvNewFromString": 287041, "jsvNewFromBool": 284505, "jsvGetFloat": 128453, "jsvGetInteger": 124561, "jsvGetBool": 129445, "jspeiFindInScopes": 80285, "jspReplaceWith": 84649, "jspeFunctionCall": 87137, "jspGetNamedVariable": 80345, "jspGetNamedField": 81617, "jspGetVarNamedField": 81209, "jsvNewWithFlags": 284325 }
}
Disconnected -
In the datasheet of the STM32 page 35 I also found the double assignment of the pins. There are also boot0 and boot1 as well as C13 and B13 for BTN and BTN1. If I measure the voltages at b13 and c13, then one of them is inactive when pressing the button.
I suspect that might have something to do with the on-board version. The IDE recognizes the board with V1.3. If I look at the bottom of the board, then there is V1.4b. Maybe there are any changes.
If I connect the Pico to USB and keep BTN pressed, then the status of the LEDs will not change. -
I made the same procedure and i feel the detent 'click'. In #16 I wrote, there is a changing on Pin C13 from 0V to 3,3V, wenn I pressed the button. In this sense, the button must be ok.
DigitalRead(BTN1) <--no pressing the button
=0
digitalRead(BTN1) <--Here I pressed the button
=0Both worked for me. Worth a try. . . .
What are the differences between the two switches? Do you can explain that for me?
As @Gordon explained in #15 above, are you able to manually jumper the button and get the above digitalRead() to work? If so, are you able to flash that way?
When I manually jumper the button it's the same. No changes of the level.
-
Hi Robin,
that was a good advice for me with the blank line and also the tutorial with the buttons. I found that what I think. The button has no function for the µP.digitalRead(BTN) <--no pressing the button
=0
digitalRead(BTN) <--Here I pressed the button
=0
digitalRead(B4) <--no pressing the button
=0
digitalRead(B4) <--Here I pressed the button
=1The extension button works fine like in the tutorial but not the BTN. That's why I can not do the Update, but what is the cause?
-
many thanks for your patience with my problem.
The following text are my messages in the ide.Found PICO_R1_3, 1v93
Loading 2929 bytes from flash...New Firmware available (1.93 installed, 1v99 available)
Connected to COM4
DisconnectedConnected to COM4
Error Flashing: Can't find STM32 bootloader. Make sure the chip is reset into bootloader mode by holding down BTN1 while pressing RST
Disconnected
I shorted the two contacs ab and then cd. No changes with the leds. Then I took my voltmeter. A=3,3V B=open. Then I pressed the button and B=3,3V. The same with cd. I think, the button must be ok. After that I controlled the voltage of the Pin (I think it's PC13) on the µP with is connected with the button =0V. If I pressed the button voltage=3,3V .
I made another test. I load a programm into to RAM and pressed the resetbutton. Nomally the code was lost, in this case not. I think, the button has no function. -
Hi Gordon,
If I press the button on the top of the pcb during plug in, nothing happens. The blinking led not changing. It's the same, when I insert the pico without pressing a button.
How can I insert a image in the post so that I can show you the messages. If I write a link to the image a picture is not to be seen.
-
-
-
Many thanks for the fast answers.
Sorry, that I ditn't discribe my environment. I use Windows10 and the Espruino IDE in google chrom. I installed the usb-driver, restart the PC, opened the settings and choosed the flasher. Then I followed the instructions . I connect the pico with a usb-cable on the one side. Then I connected the 3,3V to the golden tap on the top (like a teardrop) an pressed the resetbutton. In the next step I put the other side of the usb-cable in to the PC. The lights are not flashing, they are off. The usb-device was not recognised. -
-
Tank for all advices.
I've done all these tests: