Open tcsaba101 opened 6 years ago
Toggle RESET while BOOT is pressed, then simply upload any sketch (ignoring the COM port allocation).
On Tue, Aug 21, 2018 at 4:11 AM, tcsaba101 notifications@github.com wrote:
Dear Thomas, Kris,
I have a Dragonfly, a Butterfly and a Ladybug boards. I have uploaded a sketch to a Dragonfly, while the board manager was set to Butterfly and then uploaded a sketch to Butterfly, when board was set to Dragonfly. Since then I can not setup them to have a COM port on Win10. I have reinstalled the core, the drivers with Zadig as it is written in the ReadMe.
When I press trhe RESET+BOOT buttons, Win10 shows it has found something, bu no COM port appears. I can't get a COM port allocated to the boards in the Device Manager. The STM32 BOOTLOADER exist in the Universal Serial Bus Devices category in Win10 Device manager.
[image: image] https://user-images.githubusercontent.com/24205334/44395626-bf3e0880-a53a-11e8-8db2-bcf54b681dc6.png
Ladybug is working but it has a plain com port, no USB Device is appearing the same time.:
[image: image] https://user-images.githubusercontent.com/24205334/44395543-7a19d680-a53a-11e8-8eeb-7b648562c186.png
What happened? How can I fix it?
Thanks, Csaba
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/37, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfF09WacmvEqdZ2BbRwMGKTUvV8Rhks5uS9zsgaJpZM4WFfO4 .
It works!
Life is easy when you know how to do it.
I had the blink sketches what I know was worked for me, I used them, after upload the boards got the COM allocation.
Thanks!
Question:
At every reset the Arduino IDE Serial Monitor disconnects (also Putty), and I have to reopen the terminal.
Is there a solution to have a permanat terminal connection?
Don't think so. I have asked for this "feature" but as far as I know this is not possible with the ST USB peripheral.
On Tue, Aug 21, 2018 at 11:16 AM tcsaba101 notifications@github.com wrote:
It works!
Life is easy when you know how to do it.
I had the blink sketches what I know was worked for me, I used them, after upload the boards got the COM allocation.
Thanks!
Question: At every reset the Arduino IDE Serial Monitor disconnects (also Putty), and I have to reopen the terminal. Is there a solution to have a permanat terminal connection?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/37#issuecomment-414771650, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qt2nQKVdumcp8VpGNFTAb76Ae09nks5uTE51gaJpZM4WFfO4 .
It is inconvenient for debugging. I would follow all the data from the reset. I tried while(!SerialUSB){}; to force the wait, but it has stucked at this point. Maybe other solution exist for debugging period?
Not sure what the problem is. When I uploaded a sketch to the board while the serial monitor is active, it reconnects.
When I use minicom same thing ...
On Tue, Aug 21, 2018, 3:42 PM tcsaba101 notifications@github.com wrote:
It is inconvenient for debugging. I would follow all the data from the reset. I tried while(!SerialUSB){}; to force the wait, but it has stucked at this point. Maybe other solution exist for debugging period?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/37#issuecomment-414831318, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfJGH1BlfxuEhXhHjyxaMly2ks07lks5uTH7LgaJpZM4WFfO4 .
Not with Windows10 apparently.
On Tue, Aug 21, 2018 at 3:21 PM Thomas Roell notifications@github.com wrote:
Not sure what the problem is. When I uploaded a sketch to the board while the serial monitor is active, it reconnects.
When I use minicom same thing ...
On Tue, Aug 21, 2018, 3:42 PM tcsaba101 notifications@github.com wrote:
It is inconvenient for debugging. I would follow all the data from the reset. I tried while(!SerialUSB){}; to force the wait, but it has stucked at this point. Maybe other solution exist for debugging period?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/37#issuecomment-414831318 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AG4QfJGH1BlfxuEhXhHjyxaMly2ks07lks5uTH7LgaJpZM4WFfO4
.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/37#issuecomment-414840745, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qvVd8wwNSzbICDqpvllWUseSb823ks5uTIfvgaJpZM4WFfO4 .
My development background is on Win10 machine. Using the Arduino IDE 328P, ESP32, ESP8266 works well from this point of view. Depends on terminal application they not loosing the connection during upload or when I start the IDEs Serial Monitor, resets the firmware and I see everything from start. All those boards, has separate USB/UART converters.
Using STML4 boards, it is not resetting the fw launching the Serial Monitor. If I press the RESET button by hand, it is loosing the connection when pressing, and reconnect when I release, so you have to restart the terminal by hand immediately after reset. One solution to leave enough delay at the beginning of the sketch while the USB connects. Maybe this can be solved on Win7, or this is absolutely relies on the ST embedded USB features?
Anyway there is a buffer (I don't know where Win10/ST?) what keeps from the beginning the sent data, so when terminal starts you see what was printed.
Additional COM question: How can I create a COM port for a Butterfly on an older Win machine? I have created with Butterfly a simple UART > RS485 converter to test a RS485 > SDI12 converter. In my lab I am using a Vista notebook for HP-IB bus, downloading handheld data, browsing datasheets, etc. Works perfect in this environment. I tried to connect to a terminal on Vista, but were not able to find a driver for this. Zadig could not install any ( I used the old 2,2_xp version).
ST-USB can't be use on Vista or XP?
As per readme:
USB Serial driver setup for Tlera Corp boards (Window XP / Windows 7 only)
Go to
~/AppData/Local/Arduino15/packages/grumpypoldpizza/hardware/stm32l4/
This should work on XP / Win7. Vista and Win8 are not supported, however the might work if you bypass the signature requirement.
On Wed, Aug 22, 2018 at 3:59 AM tcsaba101 notifications@github.com wrote:
Additional COM question: How can I create a COM port for a Butterfly on an older Win machine? I have created with Butterfly a simple UART > RS485 converter to test a RS485 > SDI12 converter. In my lab I am using a Vista notebook for HP-IB bus, downloading handheld data, browsing datasheets, etc. Works perfect in this environment. I tried to connect to a terminal on Vista, but were not able to find a driver for this. Zadig could not install any ( I used the old 2,2_xp version).
ST-USB can't be use on Vista or XP?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/37#issuecomment-414979743, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfGwOfh4gIXUxyvOYdL73WJRxI0o3ks5uTStlgaJpZM4WFfO4 .
Thanks to light up... I will install Arduino, then it should work with any terminal application.
Today I have solved, debug has been done.
Next time I will do this way.
Thanks!
No surprise, it works. As it is written in readme. Thanks.
Dear Thomas, Kris,
I have a Dragonfly, a Butterfly and a Ladybug boards. I have uploaded a sketch to a Dragonfly, while the board manager was set to Butterfly and then uploaded a sketch to Butterfly, when board was set to Dragonfly. Since then I can not setup them to have a COM port on Win10. I have reinstalled the core, the drivers with Zadig as it is written in the ReadMe.
When I press trhe RESET+BOOT buttons, Win10 shows it has found something, bu no COM port appears. I can't get a COM port allocated to the boards in the Device Manager. The STM32 BOOTLOADER exist in the Universal Serial Bus Devices category in Win10 Device manager.
Ladybug is working but it has a plain com port, no USB Device is appearing the same time.:
What happened? How can I fix it?
Thanks, Csaba