Search found 49 matches

by hobbya
Sat Jul 24, 2021 12:29 pm
Forum: STM32 HID bootloader
Topic: STM32 Virtual COM Port not detected after HID Bootloader uploaded on STM32F407G-DISC1
Replies: 4
Views: 9931

Re: STM32 Virtual COM Port not detected after HID Bootloader uploaded on STM32F407G-DISC1

Your board comes with STLink v2 which can provide a virtual com port. So you may have the following set up: native USB of STM32F407 -- for flashing via embedded STM bootloader USB of STLink -- for virtual com However instead of using 2 USB ports you can actually use just the STLink since it supports...
by hobbya
Wed Jul 21, 2021 5:11 am
Forum: General discussion
Topic: USB power failure
Replies: 2
Views: 2817

Re: USB power failure

Check if the regulator has signs of burns, e.g. bruises or pimples, etc.
You may also check if the input or output of the regulator is shorted to ground.
by hobbya
Tue Jul 20, 2021 5:29 am
Forum: General discussion
Topic: Is there a stm32 IR library that works with Arduino
Replies: 6
Views: 2652

Re: Is there a stm32 IR library that works with Arduino

Yes you need to try if any of the existing libraries work or not:
https://github.com/search?q=infrared
by hobbya
Sat Jul 17, 2021 6:31 am
Forum: General discussion
Topic: SPI program Loader
Replies: 5
Views: 2592

Re: SPI program Loader

Are you talking about in-application programming?
https://www.st.com/resource/en/applicat ... ronics.pdf
by hobbya
Mon Jul 12, 2021 9:12 am
Forum: General discussion
Topic: genericSTM32F405RG serial print output
Replies: 14
Views: 8907

Re: genericSTM32F405RG serial print output

Thanks for re-testing. Indeed this has been fixed in core 2.0.0.

https://github.com/stm32duino/Arduino_C ... /pull/1174

I would have found the fix earlier if I was wise enough to search for "F4x5RG" instead of "F405RG".
by hobbya
Sun Jul 11, 2021 9:47 am
Forum: General discussion
Topic: genericSTM32F405RG serial print output
Replies: 14
Views: 8907

Re: genericSTM32F405RG serial print output

Indeed there is discrepancy in the variant.cpp file for Generic F4x5RG. // Select PLL as system clock source and configure the HCLK, PCLK1 and PCLK2 clocks dividers RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2; RCC_ClkInitStruct....
by hobbya
Sun Jul 11, 2021 8:17 am
Forum: General discussion
Topic: genericSTM32F405RG serial print output
Replies: 14
Views: 8907

Re: genericSTM32F405RG serial print output

@ag123 Thanks for your suggestions. What puzzled me was that with the same connection untouched, both blink and serial worked if I chose the board as Adafruit Feather F405 or Generic F407VE. It just would not work if I chose it as Generic F405RG. #define LED PC1 HardwareSerial Serial6(PC7, PC6); voi...
by hobbya
Sun Jul 11, 2021 4:01 am
Forum: General discussion
Topic: genericSTM32F405RG serial print output
Replies: 14
Views: 8907

Re: genericSTM32F405RG serial print output

Some more observations. Set board as Feather F405 Complied and programmed by Arduino IDE via SWD Blink and serial worked Device flash size detected by ST-link Utility = 1 MBytes Set board as Generic F405RG Complied and programmed by Arduino IDE via SWD Blink and serial failed Device flash size detec...
by hobbya
Sat Jul 10, 2021 1:23 pm
Forum: General discussion
Topic: genericSTM32F405RG serial print output
Replies: 14
Views: 8907

Re: genericSTM32F405RG serial print output

I retried by setting my board as Adafruit Feather STM32F405, both the blink (PC1) and Serial3 worked fine. I just needed to set the baud rate to 14400 to match the 8MHz clock on my board as the default for Feather is 12MHz. However it did not work at all when I set the board back to Generic F405RG. ...
by hobbya
Sat Jul 03, 2021 6:05 am
Forum: General discussion
Topic: genericSTM32F405RG serial print output
Replies: 14
Views: 8907

Re: genericSTM32F405RG serial print output

My setup: Arduino IDE v1.8.12 STM32 core v1.9 USART Enabled Generic Serial USB support No Board Generic F407VE I used exactly your sketch and both Blink/Serial worked. My board has a 8MHz crystal . Change the HSE if you use a different value, e.g. #define HSE_VALUE 12000000U I do not know why select...

Go to advanced search