Search found 16 matches

by wpaul
Mon Oct 22, 2018 7:10 pm
Forum: ChibiOS/RT
Topic: Priority order violation (different question :) )
Replies: 7
Views: 1046

Priority order violation (different question :) )

So, recently I turned on the CH_DBG_ENABLE_ASSERTS flag in chconf.h for my project (along with other checks) and it exposed some problems. Most were easily fixed, but I also ran into the "priority order violation" problem. I *think* I've actually fixed it now, but I'm trying to understand ...
by wpaul
Mon Sep 24, 2018 10:08 pm
Forum: Bug Reports
Topic: Bug in the m25qStop() function in m25q.c driver Topic is solved
Replies: 3
Views: 696

Re: Bug in the m25qStop() function in m25q.c driver Topic is solved

Oops, I just realized: instead of version 18.1.2, that should be 18.2.1. My bad.

-Bill
by wpaul
Mon Sep 24, 2018 6:13 pm
Forum: Bug Reports
Topic: Bug in the m25qStop() function in m25q.c driver Topic is solved
Replies: 3
Views: 696

Bug in the m25qStop() function in m25q.c driver Topic is solved

Hello: This weekend I wrote a QSPI driver for ChibiOS for a project I'm working on. I got things to work, but along the way I discovered a bug in the m25qStop() function which I thought I should report. Relevant details: OS version: ChibiOS 18.1.2 release Platform: Nordic nRF52840 DK development boa...
by wpaul
Fri Oct 14, 2016 8:22 pm
Forum: Development and Feedback
Topic: Question about __set_PSP()/__set_MSP()
Replies: 4
Views: 1676

Re: Question about __set_PSP()/__set_MSP()

"Updating PSP does affect SP in process mode, likewise modifying MSP does affect SP in exception mode. There is no real SP register. SP is the name for current one." Okay, so that means "sp" is in fact aliased to MSP when in exception context and aliased to PSP when in user conte...
by wpaul
Thu Oct 13, 2016 6:59 pm
Forum: Development and Feedback
Topic: Question about __set_PSP()/__set_MSP()
Replies: 4
Views: 1676

Re: Question about __set_PSP()/__set_MSP()

I'm still not sure I understand. It seems the implication is that the stack pointer is aliased to either MSP or PSP depending on the circumstances. However if that's the case, I still don't see how clobber protection makes sense. If sp is currently aliased to MSP and you update PSP, the current sp s...
by wpaul
Wed Oct 12, 2016 10:45 pm
Forum: Development and Feedback
Topic: Question about __set_PSP()/__set_MSP()
Replies: 4
Views: 1676

Question about __set_PSP()/__set_MSP()

This question is not strictly related to ChibiOS, but I'm hoping that at the very least it might ring a bell with someone. I've been tinkering with a project involving ChibiOS on a Freescale/NXP KINETIS chip, specifically the KW01 (ARM Cortex M0+). I have the project running on eval hardware and thi...

Go to advanced search