Search found 16 matches

by wpaul
Thu Jun 04, 2020 9:17 pm
Forum: Bug Reports
Topic: Bug in the RT-STM32F429-DISCOVERY-DMA2D demo Topic is solved
Replies: 2
Views: 1055

Bug in the RT-STM32F429-DISCOVERY-DMA2D demo Topic is solved

I apologize if this isn't the right place to report this: the RT-STM32F429-DISCOVERY-DMA2D demo is part of the community supported code, but there doesn't seem to be an STM32 board in the community support section. The problem is pretty simple. This demo is intended to exercise the LCD and DMA2D gra...
by wpaul
Wed May 27, 2020 8:43 pm
Forum: Bug Reports
Topic: threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved
Replies: 7
Views: 1658

Re: threads crashes with STM32F746 when using STM32F746xG_MAX.ld link script Topic is solved

There are actually two additional options to addressing this issue, but each has their own advantages and disadvantages. Option 1: Use the MPU to make the SRAM uncached To do this, you need to make sure the MPU support is included. I think the simplest way to do that is to turn on the stack guard pa...
by wpaul
Thu Apr 30, 2020 1:07 am
Forum: Bug Reports
Topic: ST_STM32F746G_DISCOVERY/board.h has ARD_D5 and ARD_D10 swapped? Topic is solved
Replies: 6
Views: 1853

Re: ST_STM32F746G_DISCOVERY/board.h has ARD_D5 and ARD_D10 swapped? Topic is solved

Er... just to be clear, it's not an issue of old board vs. new. All the boards are actually wired the same. It's just that the older documentation had an error in it. It might be an issue for anyone that has written code for ChibiOS using the older BSP -- they might have to upgrade their code to use...
by wpaul
Wed Apr 29, 2020 8:54 pm
Forum: Bug Reports
Topic: ST_STM32F746G_DISCOVERY/board.h has ARD_D5 and ARD_D10 swapped? Topic is solved
Replies: 6
Views: 1853

Re: ST_STM32F746G_DISCOVERY/board.h has ARD_D5 and ARD_D10 swapped? Topic is solved

After closer examination, I'm fairly well convinced the problem is that there is an error in the "rev B02" schematics which has been propagated into ChibiOS. For reference, here are some photos of the board I have: https://people.freebsd.org/~wpaul/w00t/badge3/IMG_20200429_123446.jpg https...
by wpaul
Tue Apr 28, 2020 7:36 am
Forum: Bug Reports
Topic: ST_STM32F746G_DISCOVERY/board.h has ARD_D5 and ARD_D10 swapped? Topic is solved
Replies: 6
Views: 1853

ST_STM32F746G_DISCOVERY/board.h has ARD_D5 and ARD_D10 swapped? Topic is solved

Hi: This is a little confusing so please bear with me. I have an ST Micro STM32F746G Discovery reference board and I'm running it with ChibiOS 19.1.3. This board has a set of Arduino style headers on the back, and I recently added an mBED SX1262MB2CAS shield to it: https://os.mbed.com/components/SX1...
by wpaul
Wed Feb 13, 2019 12:00 am
Forum: Bug Reports
Topic: Stack guard pages on Cortex-M4 Topic is solved
Replies: 3
Views: 846

Re: Stack guard pages on Cortex-M4 Topic is solved

You know, I looked right at the port_extctx part of PORT_WA_SIZE() several times without realizing what it was for. Sorry for being so thick and thanks for pointing that out to me. When I first turned on the stack guard feature, I found that I did have to increase PORT_INT_REQUIRED_STACK a little in...
by wpaul
Mon Feb 11, 2019 1:08 am
Forum: Bug Reports
Topic: Stack guard pages on Cortex-M4 Topic is solved
Replies: 3
Views: 846

Stack guard pages on Cortex-M4 Topic is solved

Hi: I'm still working on a hobby project using the Nordic Semi nRF54820 which uses a Cortex-M4 core. Since it includes MPU support, I decided to try experimenting with the PORT_ENABLE_GUARD_PAGES feature. I got it to work, but I ran into a couple of unusual issues. I'm not sure if they're bugs per s...
by wpaul
Thu Oct 25, 2018 11:59 pm
Forum: ChibiOS/RT
Topic: Priority order violation (different question :) )
Replies: 7
Views: 1090

Re: Priority order violation (different question :) )

Quick update: with the priorities adjusted as shown previously, the target has been running for a couple of days now without any problems, with all the debug checks and asserts enabled. I still don't understand exactly how the interrupt priority assignments can lead to the "priority order viola...
by wpaul
Tue Oct 23, 2018 10:06 pm
Forum: ChibiOS/RT
Topic: Priority order violation (different question :) )
Replies: 7
Views: 1090

Re: Priority order violation (different question :) )

"Also consider that LR does not contain the usual magic value on ISR entry, it contains a real return address." If you mean the SoftDevice is not passing through the right EXC_RETURN value in the link register, that does not appear to be the case. The Nordic engineers seem to have thought ...
by wpaul
Mon Oct 22, 2018 9:45 pm
Forum: ChibiOS/RT
Topic: Priority order violation (different question :) )
Replies: 7
Views: 1090

Re: Priority order violation (different question :) )

I had considered trying to intercept the interrupts first, but there are complications. For example, remember that the SoftDevice assumes it will capture interrupts first and then forward them. If I capture them first, then call the SoftDevice, the SoftDevice will then attempt to forward them again....

Go to advanced search