Search found 13 matches
- Fri Jun 02, 2023 8:16 pm
- Forum: General discussion
- Topic: Disable system reset on USB connect/disconnect
- Replies: 5
- Views: 5894
Re: Disable system reset on USB connect/disconnect
Do you want to directly disable automatic reset?
Yes but I need to keep the watchdog active and not longer than 1s. I am guessing that the stm32duino USB CDC driver is doing some handshaking with the host when USB connect/disconnect but taking too long and triggers the watchdog reset.
It would ...
- Fri May 26, 2023 4:11 pm
- Forum: General discussion
- Topic: Disable system reset on USB connect/disconnect
- Replies: 5
- Views: 5894
Re: Disable system reset on USB connect/disconnect
There is no HW triggering reset. The issue appears to be the stm32duino USB CDC driver which takes a long time (>1s) in its ISR when the USB host connects/disconnects leading to watchdog timeout reset. Disabling the watchdog is not an option.
- Thu May 25, 2023 4:28 am
- Forum: General discussion
- Topic: Disable system reset on USB connect/disconnect
- Replies: 5
- Views: 5894
Disable system reset on USB connect/disconnect
Does anyone know how to disable automatic system reset on USB CDC connect/disconnect in stm32duino?
Thanks
Thanks
- Sat Feb 04, 2023 7:29 pm
- Forum: General discussion
- Topic: NTP, RTC and timezone
- Replies: 7
- Views: 6233
Re: NTP, RTC and timezone
This is an old thread but this problem is due to a bug in the stm32duino RTC library method getEpoch(). It's still there in the latest version as of today. The getEpoch() method incorrectly uses the mktime() function which assumes its input is in local time and makes relevant adjustments according ...
- Sat Aug 28, 2021 9:37 pm
- Forum: General discussion
- Topic: TinyUSB
- Replies: 6
- Views: 6375
Re: TinyUSB
Really? The TinyUSB docs indicate support for:fpiSTM wrote: Sat Aug 28, 2021 1:32 pm I've evaluate it anyway it does not support all the STM32 series that's why I didn't go further.
Adafruit use it for their cores.
ST: STM32 series: L0, F0, F1, F2, F3, F4, F7, H7 both FullSpeed and HighSpeed
Which STM32 series are missing?
- Sat Aug 28, 2021 9:32 pm
- Forum: General discussion
- Topic: TinyUSB
- Replies: 6
- Views: 6375
Re: TinyUSB
the built-in usb stack is actually quite good
just that to understand them try attending some open classes, there are very few mcu manufacturers who provide such training materials
https://www.youtube.com/watch?v=rI3yBmnfAZU&list=PLnMKNibPkDnFFRBVD206EfnnHhQZI4Hxa
as for that in the core, you can ...
- Sat Aug 28, 2021 12:38 am
- Forum: General discussion
- Topic: TinyUSB
- Replies: 6
- Views: 6375
TinyUSB
Has anyone used the TinyUSB for Arduino (https://github.com/adafruit/Adafruit_TinyUSB_Arduino) with stmd32duino?
The built-in USB stack is pretty bad.
The built-in USB stack is pretty bad.
- Tue Oct 20, 2020 11:06 pm
- Forum: General discussion
- Topic: EEPROM write sometimes takes too much time
- Replies: 17
- Views: 15347
Re: EEPROM write sometimes takes too much time
After looking the EEPROM library source code and the lower level API buffered example, I decided not to make all the source code changes required to use the lower level API. Instead I decided to write a new library based on the existing EEPROM library but with option for buffered operation to avoid ...
- Tue Oct 20, 2020 10:37 pm
- Forum: General discussion
- Topic: EEPROM write sometimes takes too much time
- Replies: 17
- Views: 15347
Re: EEPROM write sometimes takes too much time
Unfortunately no. Good to have the link in this thread now but the warnings should really be in the main documentation page for the library itself.
Well, it looks like you haven't read it carefully enough.
At the top there's a fragment that should make you think twice:
Th EEPROM library ...
- Tue Oct 20, 2020 10:14 pm
- Forum: General discussion
- Topic: EEPROM write sometimes takes too much time
- Replies: 17
- Views: 15347
Re: EEPROM write sometimes takes too much time
...
Unfortunately no. Good to have the link in this thread now but the warnings should really be in the main documentation page for the library itself.
Well, it is a generally known fact to us old-timers from the original (Roger's STM32duo forum) as it was discussed in length. But that forum ...