Search found 16 matches

by geebee
Thu Aug 06, 2020 6:33 pm
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 173
Views: 28419

Re: Where to start STM32H7 support

It's revision V. The card is an 8 GB Sandisk Industrial micro SD HC I. As for the board, unfortunately I don't have an available standard board from ST, but the relevant part should be the same, as the SD card is just connected to the MCU directly at a very short distance, and the VDD pin is bypasse...
by geebee
Thu Aug 06, 2020 6:09 pm
Forum: STM32 Support
Topic: Where to start STM32H7 support
Replies: 173
Views: 28419

Re: Where to start STM32H7 support

Giovanni, I have a system which uses the SDMMC driver with a STM32H743, and I'm bumping into a weird issue. sdcConnect() fails in sdc_detect_bus_clk(). If I simply add a return early and force to run at 25 MHz, everything seems to work fine: @@ -323,6 +323,7 @@ static bool sdc_detect_bus_clk(SDCDriv...
by geebee
Tue Aug 04, 2020 11:12 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 75
Views: 4089

Re: [DEV] STM32H7xx support (new)

I think there is an issue with stalls/restarts, from compiler warnings. In hal_mac_lld, I believe you might want to do either --- a/os/hal/ports/STM32/LLD/MACv2/hal_mac_lld.c +++ b/os/hal/ports/STM32/LLD/MACv2/hal_mac_lld.c @@ -517,7 +517,7 @@ void mac_lld_release_transmit_descriptor(MACTransmitDesc...
by geebee
Fri Jul 10, 2020 8:08 pm
Forum: Bug Reports
Topic: HSI48 not getting enabled on STM32H7 Topic is solved
Replies: 1
Views: 235

HSI48 not getting enabled on STM32H7 Topic is solved

hal_lld.h provides constants for HSI48, but when it's enabled and used in the configuration it does not actually get enabled. These changes should fix it (I also changed the comments at the #endifs that got misplaced for HSE and CSI): --- a/os/hal/ports/STM32/STM32H7xx/hal_lld.c +++ b/os/hal/ports/S...
by geebee
Fri Jul 10, 2020 7:19 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 75
Views: 4089

Re: [DEV] STM32H7xx support (new)

It seems that resetting the PHY via the reset pin before lwipInit() does the trick, so as far as I'm concerned everything looks good. Not sure why it used to work without it on the F767. I'll let you know if I bump into anything else, but so far it's looking very good. Thanks!
by geebee
Fri Jul 10, 2020 4:31 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 75
Views: 4089

Re: [DEV] STM32H7xx support (new)

My suspicion is that the ETH block is left in some state that does not play well with re-initializing. It seems to happen only when the Ethernet cable is in and the link is up. Anyway, don't worry too much about it, I will look a bit more today and try to figure out what's happening. The board is a ...
by geebee
Thu Jul 09, 2020 3:54 pm
Forum: Development and Feedback
Topic: [DEV] STM32H7xx support (new)
Replies: 75
Views: 4089

Re: [DEV] STM32H7xx support (new)

Mike, thanks for implementing this! I've been running it for the past two days and it's been pretty solid (I haven't done a stress test though). One things I've noticed is that most (all?) of the times I need to power cycle after reprogramming the MCU, with the driver getting stuck here 366 ETH->DMA...
by geebee
Thu Jul 09, 2020 3:33 pm
Forum: Bug Reports
Topic: LPUART1 on STM32H7 Topic is solved
Replies: 1
Views: 259

LPUART1 on STM32H7 Topic is solved

I attached the necessary changes on the most recent stable 20.3 branch. Also, in the process of adding the ISR init/deinit I found a bug where UART8 is not set up correctly (typo, UART5 is done twice), which is also fixed in these files. This was tested on STM32H743. Diff below. Thanks! GB diff --gi...
by geebee
Fri Jan 17, 2020 2:18 am
Forum: Small Change Requests
Topic: LWIP improvements Topic is solved
Replies: 27
Views: 4225

Re: LWIP improvements Topic is solved

Here are the rest of the changes, which probably don't need to be merged in the stable releases. However, as long as the lwipthread_opts_t struct is memset to zero before initializing, any existing project will still work without any changes. Let me know if you have any questions, and again feel fre...
by geebee
Tue Dec 31, 2019 11:32 pm
Forum: Small Change Requests
Topic: LWIP improvements Topic is solved
Replies: 27
Views: 4225

Re: LWIP improvements Topic is solved

OK, attached are some changes: - makefile allows users to pull in different LWIP filesets (first version, i.e. does not require any existing project to change) - safety/clarity changes to static options - my fixes for lwipthread + a subset of steved changes (I left out anything multicast, plus PPPOE...

Go to advanced search