Search found 65 matches

by andypiper
Sat Feb 11, 2023 2:14 pm
Forum: Bug Reports
Topic: Various issues with SDMMCv2 Topic is solved
Replies: 0
Views: 3005

Various issues with SDMMCv2 Topic is solved

I have finally resolved all my issues with SDMMCv2. This is a summary of what I found, the patch we are using can be found at https://github.com/ArduPilot/ChibiOS.svn/pull/2/commits/64da8ae744c1bc901124a0060971fbb6b579e67a new link: https://github.com/ArduPilot/ChibiOS.svn/pull/2/commits/acb1d47de12...
by andypiper
Sun Jan 15, 2023 4:10 pm
Forum: Bug Reports
Topic: Wrong checks on STM32_SDMMC_MAXCLK for H7 type1 lld Topic is solved
Replies: 2
Views: 874

Wrong checks on STM32_SDMMC_MAXCLK for H7 type1 lld Topic is solved

STM32_SDMMC_MAXCLK is not set in hal_lld_type1.h or hal_lld_type2.h and so defaults to 50Mhz which is way too low.

I suspect the values defined in hal_lld_type3.h are applicable to type1 and type2 as well
by andypiper
Thu Aug 18, 2022 9:34 pm
Forum: Bug Reports
Topic: Support STM32H730 Topic is solved
Replies: 0
Views: 3544

Support STM32H730 Topic is solved

Support for STM32H730 chip
by andypiper
Mon Sep 13, 2021 11:50 am
Forum: STM32 Support
Topic: Memory-mapped flash on F7 and H7
Replies: 31
Views: 10712

Re: Memory-mapped flash on F7 and H7

Giovanni wrote:Hi,

I would put in RAM the RT kernel, the OSAL and your ISRs, the rest is to be evaluated case by case, probably some specific drivers.

Giovanni


Thanks - is there a way of easily identifying these for the linker script?
by andypiper
Mon Sep 13, 2021 10:15 am
Forum: STM32 Support
Topic: Memory-mapped flash on F7 and H7
Replies: 31
Views: 10712

Re: Memory-mapped flash on F7 and H7

So I'm back on this. I bought a DevEBox https://github.com/mcauser/MCUDEV_DEVEBOX_H7XX_M which was a much simpler way of getting an external flash development board, and thanks to some great work by a colleague we have external flash working and the autopilot running in external flash. There is obvi...
by andypiper
Mon Aug 16, 2021 1:50 pm
Forum: Bug Reports
Topic: Build error using thread statistics Topic is solved
Replies: 6
Views: 2687

Re: Build error using thread statistics Topic is solved

Hi, Update, I modified things to be compatible with "-Wcast-align=strict". I think you are compiling the code using the C++ compiler (correct?), this is why you are seeing the warnings. I fixed all casts to (thread_t *), post here if you find more instances of the problem. Cleaning things...
by andypiper
Fri Aug 13, 2021 5:24 pm
Forum: Bug Reports
Topic: Build error using thread statistics Topic is solved
Replies: 6
Views: 2687

Re: Build error using thread statistics Topic is solved

Giovanni wrote:Hi,

Moving in bug reports.

Giovanni


Any idea how to fix? I can just turn off the warning but don't know if that is safe or not.

Andy
by andypiper
Sun Aug 08, 2021 8:34 pm
Forum: Bug Reports
Topic: Build error using thread statistics Topic is solved
Replies: 6
Views: 2687

Build error using thread statistics Topic is solved

Seeing this in the newest ChibiOS release: ../../modules/ChibiOS/os/rt/include/chschd.h: In function 'void ch_sch_prio_insert(ch_queue_t*, ch_queue_t*)': ../../modules/ChibiOS/os/rt/include/chschd.h:509:26: error: cast from 'ch_queue_t* {aka ch_queue*}' to 'thread_t* {aka ch_thread*}' increases requ...
by andypiper
Thu May 20, 2021 10:47 pm
Forum: STM32 Support
Topic: Memory-mapped flash on F7 and H7
Replies: 31
Views: 10712

Re: Memory-mapped flash on F7 and H7

Hi, I would rate this thing "hard". You need to check carefully the sequences sent to the memory, the code enforcing a reset state (hard to get right), the switch to the full N-wires mode, SDR and DDR modes, number of dummy cycles, and lots of other details. Those chips, except for a basi...

Go to advanced search