Search found 770 matches

by Rick Kimball
Mon May 22, 2017 2:33 pm
Forum: Generic STM32F103
Topic: USB Observations
Replies: 21
Views: 153

Re: USB Observations

That is true if you use old Arduino IDE. Latest IDE will close a serial port automatically when you push the upload button and re-open the serial port again after uploading. I'm running 1.8.3 Arduino built from source. I don't think you can get any newer than that. It doesn't close the serial monit...
by Rick Kimball
Mon May 22, 2017 1:31 pm
Forum: Generic STM32F103
Topic: USB Observations
Replies: 21
Views: 153

Re: USB Observations

When you get this error of "dfu-util: No DFU capable USB device available", you should check the red LED on the BP to see if the maple_upload reset the board successfully with the Arduino_STM32/tools/macosx/upload-reset utility. FWIW: my bluepill has a blue user led (PC13) and a red power...
by Rick Kimball
Mon May 22, 2017 1:29 pm
Forum: Generic STM32F103
Topic: USB Observations
Replies: 21
Views: 153

Re: USB Observations

Looking into this a little further the sketch is still active and the Serial Monitor is able to reconnect to it. However, intermittently it isn't possible to reprogram the sketch. ... Download [================== ] 72% 11264 bytes Download [=================== ] 79% 12288 bytes Download [==========...
by Rick Kimball
Sun May 21, 2017 5:35 pm
Forum: IDE's
Topic: Bootloader damaged when using streaming.cpp
Replies: 38
Views: 342

Re: Bootloader damaged when using streaming.cpp

Umh, so when I use the example code you supplied it works as I expect and when I run my example code it doesn't. It also screws the BP to prevent the bootloader and also prevent SWD access. Could you load up my example code into a BP and check if you still have access to the BP while it is loaded? ...
by Rick Kimball
Sun May 21, 2017 4:59 pm
Forum: IDE's
Topic: Bootloader damaged when using streaming.cpp
Replies: 38
Views: 342

Re: Bootloader damaged when using streaming.cpp

It really isn't enumerating, I am familiar with Linux dmesg etc, on Mac I am using command line to list the USB devices: Johns-MacBook-Pro:~ john$ lsusb ... Bus 020 Device 006: ID 1eaf:0003 1eaf Maple 003 Serial: LLM 003 ...Johns-MacBook-Pro:~ john$ what is that? looks like an enumerated device to me
by Rick Kimball
Sun May 21, 2017 4:38 pm
Forum: IDE's
Topic: Bootloader damaged when using streaming.cpp
Replies: 38
Views: 342

Re: Bootloader damaged when using streaming.cpp

I tried the streaming test code provided by Rik and all works fine. However, when I use the original example code: Is it really not enumerating or are you just missing the output ? You might want to add those checks I have in the example code that waits for the Serial device to have something conne...
by Rick Kimball
Sun May 21, 2017 4:28 pm
Forum: IDE's
Topic: Bootloader damaged when using streaming.cpp
Replies: 38
Views: 342

Re: Bootloader damaged when using streaming.cpp

The BP fails to enumerate after the above code is loaded. A further concern is that SWD mode is no longer available unless BOOT0 is high. st-link reports: The ability to use SWD was disabled for the DFU uploader in this checkin: https://github.com/rogerclarkmelbourne/Arduino_STM32/commit/a8d1c1d1b6...
by Rick Kimball
Sun May 21, 2017 2:48 pm
Forum: IDE's
Topic: Bootloader damaged when using streaming.cpp
Replies: 38
Views: 342

Re: Bootloader damaged when using streaming.cpp

@JohnO

I had used an stlink to load the bootloader. The location of your stm32duino directory is different adjust for your configuration:

$ /home/kimballr/Arduino/hardware/stm32duino_maple/tools/linux/stlink/st-flash write generic_boot20_pc13.bin 0x08000000
by Rick Kimball
Sat May 20, 2017 9:11 pm
Forum: IDE's
Topic: Bootloader damaged when using streaming.cpp
Replies: 38
Views: 342

Re: Bootloader damaged when using streaming.cpp

there is (only) 20k of ram on the stm32f103, hence when trying out perhaps some fancy c++ stuff, it's possibly good to keep it in mind, i.e. ram is scarce, but nevertheless, it could be something else that cause it to fail rather than simply running out of memory :lol: The Streaming.h file is a bun...
by Rick Kimball
Tue May 16, 2017 2:23 pm
Forum: Generic STM32F103
Topic: Red Pill or Blue Pill?
Replies: 209
Views: 25937

Re: Red Pill or Blue Pill?

* rick wishes he had admin capability on the thread he starts ...

Go to advanced search