I have checked this multiple times, but it didn't help me.
Either way, in case it is helpful for you, here you are.
Search found 32 matches
- Wed Jun 27, 2018 6:33 pm
- Forum: Bug Reports
- Topic: Priority order violation - Asserion fails Topic is solved
- Replies: 41
- Views: 18908
- Tue Jun 26, 2018 6:52 pm
- Forum: Bug Reports
- Topic: Priority order violation - Asserion fails Topic is solved
- Replies: 41
- Views: 18908
Re: Priority order violation - Asserion fails Topic is solved
Hi,
this still bugs me. I couldn't get a solution, and then I left it due to lack of free time.
No I am back at it. I tried again to track this down with no luck.
Can you please provide me some info on how to get a stack trace, and upload it here?
this still bugs me. I couldn't get a solution, and then I left it due to lack of free time.
No I am back at it. I tried again to track this down with no luck.
Can you please provide me some info on how to get a stack trace, and upload it here?
- Wed Jan 31, 2018 11:19 pm
- Forum: Bug Reports
- Topic: Priority order violation - Asserion fails Topic is solved
- Replies: 41
- Views: 18908
Re: Priority order violation - Asserion fails Topic is solved
The assertion fails when another thread (of a lower priority), manipulates a mutex (either locks it or unlocks it). If by stack trace you mean the functions call stack, as displayed in Eclipse debug view, there is nothing suspicious there. If you mean anything else, please explain me where to find it.
- Wed Jan 31, 2018 11:07 pm
- Forum: Bug Reports
- Topic: Priority order violation - Asserion fails Topic is solved
- Replies: 41
- Views: 18908
Re: Priority order violation - Asserion fails Topic is solved
As a hint: The thread that has higher priority and gets "neglected" is a very simple one. It just blinks an LED, and feeds the watchdog. The code of the thread is the following: void status_th(void __attribute__ ((__unused__)) * arg) { while(1) { //Feed the watchdog timer. SoftWatchdog_tic...
- Wed Jan 31, 2018 11:00 pm
- Forum: Bug Reports
- Topic: Priority order violation - Asserion fails Topic is solved
- Replies: 41
- Views: 18908
Priority order violation - Asserion fails Topic is solved
Hi, I have a assertion failing in Chibios code, and I am trying to troubleshoot it. The check condition is the following: /* The following condition can be triggered by the use of i-class functions in a critical section not followed by a chSchResceduleS(), this means that the current thread has a lo...
- Wed Apr 13, 2016 10:06 pm
- Forum: ChibiOS/RT
- Topic: Chibios startup code
- Replies: 12
- Views: 5108
Re: Chibios startup code
OK that demo worked with minor modifications.
I am stripping it down, and comparing it with my code to find the difference.
I am stripping it down, and comparing it with my code to find the difference.
- Tue Apr 12, 2016 6:19 pm
- Forum: ChibiOS/RT
- Topic: Chibios startup code
- Replies: 12
- Views: 5108
Re: Chibios startup code
I do not claim that Chibios is broken. ;) I am just lost, and not sure where to start from. I am using Eclipse, with GCC. On the first try (first post), I used my own makefiles, linkscripts etc. I have checked the code extensively and I cannot find the issue, I suspect a not so obvious/not well docu...
- Tue Apr 12, 2016 4:39 pm
- Forum: ChibiOS/RT
- Topic: Chibios startup code
- Replies: 12
- Views: 5108
Re: Chibios startup code
I just tried the provided examples for my board (STM32F103 minimum system board). I used the provided Chibios hal.
It fails in a very similar way. When chThdSleepMilliseconds() is called, an exception occurs.
Seems that it is not a problem just with my builds....
It fails in a very similar way. When chThdSleepMilliseconds() is called, an exception occurs.
Seems that it is not a problem just with my builds....
- Sun Apr 10, 2016 6:59 pm
- Forum: ChibiOS/RT
- Topic: Chibios startup code
- Replies: 12
- Views: 5108
Re: Chibios startup code
Ok, I set up correctly both stacks, but i still get the same error. The PSP some how get corrupted, after the following code is executed, leading in loading a wrong address (0x00), in the LR, resulting in the hardfault. I can say, by stepping over the disassembly that R0 contains a wrong value, but ...
- Tue Apr 05, 2016 7:01 pm
- Forum: ChibiOS/RT
- Topic: Chibios startup code
- Replies: 12
- Views: 5108
Re: Chibios startup code
I checked the documentation, but I couldn't find enough information. Could you provide me with a link? But I am still a bit puzzled. I searched the source code of Chibios for the symbols defined in your linker script about the stacks, and they are not used anywhere. Is the dual stack system, somethi...