Search found 190 matches

by dflogeras
Wed Aug 29, 2018 1:40 pm
Forum: Bug Reports
Topic: SDMMC2 on STM32F7 Discovery Topic is solved
Replies: 28
Views: 4459

Re: SDMMC2 on STM32F7 Discovery Topic is solved

Hi, I don't have anything right now that is easily boiled down. It is coupled to a bunch of my own stuff that would take more time to pull out than I have at this moment. I'm about to move house and all my development boards/equipment are packed up so I couldn't test anyway. From what I recall, once...
by dflogeras
Wed Aug 01, 2018 11:44 am
Forum: Bug Reports
Topic: STM32F37x ADC vs SDADC clocks Topic is solved
Replies: 8
Views: 1529

Re: STM32F37x ADC vs SDADC clocks Topic is solved

patch.zip
proposed fix
(600 Bytes) Downloaded 46 times
by dflogeras
Fri Jun 15, 2018 7:07 pm
Forum: Bug Reports
Topic: C++ exceptions in cortex-m7 vs. cortex-m4
Replies: 14
Views: 1872

Re: C++ exceptions in cortex-m7 vs. cortex-m4

Absolutely, This started as a copy of testhal/STM32/STM32F7xx/SPI from ChibiOS_18.2.1 I converted it to c++, then simplified main() to the most basic to show the problem. The way I uploaded it, it uses the default linker script, but I've also included a modified one to show how it changes the outcom...
by dflogeras
Sun Jun 10, 2018 5:37 pm
Forum: Bug Reports
Topic: STM32F37x ADC vs SDADC clocks Topic is solved
Replies: 8
Views: 1529

Re: STM32F37x ADC vs SDADC clocks Topic is solved

Sorry about that, lines 856 and 862 of os/hal/ports/STM32/STM32F37x/hal_lld.h

https://sourceforge.net/p/chibios/svn2/12060/
by dflogeras
Sun Jun 10, 2018 2:50 am
Forum: Bug Reports
Topic: STM32F37x ADC vs SDADC clocks Topic is solved
Replies: 8
Views: 1529

Re: STM32F37x ADC vs SDADC clocks Topic is solved

Hey Giovanni, thanks for this patch

It looks like you may have a copy/paste error in 12060, you repeated SDADC1 three times, I bet you meant SDADC1 | SDADC2 | SDADC3.
by dflogeras
Fri Jun 08, 2018 11:24 am
Forum: Bug Reports
Topic: C++ exceptions in cortex-m7 vs. cortex-m4
Replies: 14
Views: 1872

Re: C++ exceptions in cortex-m7 vs. cortex-m4

Another tidbit, in case it helps you later. Only one of the changes was required in STM32F76xxI.ld to fix the problem I am seeing. Change:

REGION_ALIAS("VARIOUS_FLASH", flash1);

to flash0.
by dflogeras
Thu Jun 07, 2018 10:10 pm
Forum: Bug Reports
Topic: C++ exceptions in cortex-m7 vs. cortex-m4
Replies: 14
Views: 1872

Re: C++ exceptions in cortex-m7 vs. cortex-m4

Thanks! According to https://stackoverflow.com/questions/40532180/understanding-the-linkerscript-for-an-arm-cortex-m-microcontroller ARM.extab and .ARM.exidx are related to unwinding. You can find more information here http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044e/index.html. Also, I thi...
by dflogeras
Thu Jun 07, 2018 9:03 pm
Forum: Bug Reports
Topic: C++ exceptions in cortex-m7 vs. cortex-m4
Replies: 14
Views: 1872

Re: C++ exceptions in cortex-m7 vs. cortex-m4

It could be an error in the linker script, you should verify the map file and compare with the one of F4. Giovanni Hi, After inspecting both map files, in particular the exception handling functions (__cxa_*), I noted that in the F4 they were all in 0x8000000 flash, while on the F7 they were in the...
by dflogeras
Thu Jun 07, 2018 8:10 pm
Forum: Bug Reports
Topic: C++ exceptions in cortex-m7 vs. cortex-m4
Replies: 14
Views: 1872

C++ exceptions in cortex-m7 vs. cortex-m4

Hi, does anyone know why this might be: If I compile a simple C++ test program (say RT-STM32F407-DISCOVERY-G++ demo), and make sure to remove "-fno-exceptions" and place the following code in main: try { throw 1; } catch( ... ) { // all ok } It works as expected. That is, the exception is ...
by dflogeras
Thu Jun 07, 2018 4:29 pm
Forum: STM32 Support
Topic: SDMMC2 on STM32F769NI Discovery
Replies: 15
Views: 1766

Re: SDMMC2 on STM32F769NI Discovery

Here's a fixed version of my previous patch. I shouldn't do ptr math after two pots of coffee; just one.

sdc_cache_coherency.patch.zip
(673 Bytes) Downloaded 36 times

Go to advanced search