Search found 502 matches

by stevestrong
Sun Apr 19, 2020 3:38 pm
Forum: General discussion
Topic: How to use USB pins?
Replies: 4
Views: 6636

Re: How to use USB pins?

Code: Select all

Serial.end();
by stevestrong
Sun Apr 19, 2020 12:59 pm
Forum: STM32 HID bootloader
Topic: Having a problem with bootloader after uploading code
Replies: 48
Views: 71816

Re: Having a problem with bootloader after uploading code

mauriziostm32 wrote: Sun Apr 19, 2020 11:05 am 1) To software reset in STM32 core I can use the function NVIC_SystemReset(); but what can I use for Roger's CORE?
Yes as @stas2z mentioned.
Here is how it is handled by Roger's core:
https://github.com/rogerclarkmelbourne/ ... l.cpp#L313
by stevestrong
Sun Apr 19, 2020 10:04 am
Forum: STM32 HID bootloader
Topic: Having a problem with bootloader after uploading code
Replies: 48
Views: 71816

Re: Having a problem with bootloader after uploading code

Maurizio, on the problematic PC try to uninstall the driver (check the deleting the driver box) for the unrecognized entry.
This will force the PC to newly search for an appropriate driver.
by stevestrong
Sun Apr 19, 2020 8:16 am
Forum: STM32 HID bootloader
Topic: Having a problem with bootloader after uploading code
Replies: 48
Views: 71816

Re: Having a problem with bootloader after uploading code

For Roger'core a driver is needed because it uses a specific VID/PID. That is not quite correct. If it would be so, then it should be recognized as COM port after deleting the driver in the device manager on Windows. But it won't work because of the specific USB device and configuration descriptors...
by stevestrong
Sun Apr 19, 2020 7:01 am
Forum: STM32 HID bootloader
Topic: Having a problem with bootloader after uploading code
Replies: 48
Views: 71816

Re: Having a problem with bootloader after uploading code

Trying with the Roger's core you did everything fine, for the bootloader you do not need any special driver. The driver comes in play when your sketch is working (after the bootloder became inactive). Unfortunately, in the current situation you need that serial driver. I am currently working on a ve...
by stevestrong
Fri Apr 17, 2020 8:39 pm
Forum: IDE's
Topic: Arduino IDE for Maple r5 program on STM32F103C8 issue
Replies: 24
Views: 18661

Re: Arduino IDE for Maple r5 program on STM32F103C8 issue

If you still have the libmaple core files and libraries from that time, it should be a simple task to port the project to be handled by Arduino instead of Maple IDE. There is no need for any new core files, just adapt the file structure to Arduino IDE. This way you could get rid of the compilation e...
by stevestrong
Fri Apr 17, 2020 7:11 pm
Forum: IDE's
Topic: Arduino IDE for Maple r5 program on STM32F103C8 issue
Replies: 24
Views: 18661

Re: Arduino IDE for Maple r5 program on STM32F103C8 issue

LeafLabs' core is dead... Well, Ray, that is not right. I am exclusively using the Libmaple core for every project I initiate. And I actively supporting my fork, and Roger's, too, dependent on available time. I am not yet ready for the official core and I do not see why I should change to it. If I ...
by stevestrong
Fri Apr 17, 2020 4:31 pm
Forum: IDE's
Topic: Arduino IDE for Maple r5 program on STM32F103C8 issue
Replies: 24
Views: 18661

Re: Arduino IDE for Maple r5 program on STM32F103C8 issue

As a workaround, you could check within your application if the USB serial port has been closed (due to HW reset), and if yes, then close and reopen the connection again.
by stevestrong
Fri Apr 17, 2020 10:02 am
Forum: IDE's
Topic: Arduino IDE for Maple r5 program on STM32F103C8 issue
Replies: 24
Views: 18661

Re: Arduino IDE for Maple r5 program on STM32F103C8 issue

The reason is that the F103 USB ... will always be reset at core's reset, and will not be able to re-open the port closed by the overall reset (can only be re-opened by the host computer). That is true. I wonder how did use the serial USB port so far so that you did not have this problem before. Ha...
by stevestrong
Thu Apr 16, 2020 8:53 am
Forum: General discussion
Topic: SD library SPI pins remap
Replies: 10
Views: 15338

Re: SD library SPI pins remap

PA11 and PA12 are reserved for USB.
PB8 should work.

Go to advanced search