Search found 20 matches

by hyOzd
Thu Apr 13, 2017 12:36 pm
Forum: ChibiOS/RT
Topic: any other reason for "priority order violation"?
Replies: 10
Views: 10333

Re: any other reason for "priority order violation"?

Giovanni I'm sorry to bother you again with this. But I'm having another but similar problem now.

I've updated my chibios yesterday (r10155). It seems mailbox implementation has been recently changed. Now I get a priority violation after a call to `chMBPostS` from a lock zone. My understanding was ...
by hyOzd
Wed Apr 12, 2017 1:58 pm
Forum: ChibiOS/RT
Topic: any other reason for "priority order violation"?
Replies: 10
Views: 10333

Re: any other reason for "priority order violation"?

Thank you. That's a load off my mind.

I'm going to enable all checks from now on : )
by hyOzd
Wed Apr 12, 2017 10:53 am
Forum: ChibiOS/RT
Topic: any other reason for "priority order violation"?
Replies: 10
Views: 10333

Re: any other reason for "priority order violation"?

Hi Giovanni, I think I've found the source of problem. I didn't observe the problem when I added `chSysLockFromISR` to my problematic ISRs. But I'm not sure if this is what fixed it.

I have been signaling semaphores from interrupt callbacks. But I did not use `chSysLockFromISR`. Different threads ...
by hyOzd
Thu Apr 06, 2017 2:34 pm
Forum: ChibiOS/RT
Topic: any other reason for "priority order violation"?
Replies: 10
Views: 10333

Re: any other reason for "priority order violation"?

Stack traces are not useful.

Ok, I will try to put together a clean code to reproduce the issue then.

When you said priority above 2 did you actually meant "smaller number than 2"? The only interrupts I'm dealing with are peripheral interrupts timer, EXTI, SPI etc. And those all have bigger than ...
by hyOzd
Thu Apr 06, 2017 2:17 pm
Forum: ChibiOS/RT
Topic: any other reason for "priority order violation"?
Replies: 10
Views: 10333

Re: any other reason for "priority order violation"?

Hi Giovanni, thanks for your reply.

I'm not eager to post the source code since it's quite messy : ) But I can show you a call trace of where it always crashes:

http://i.imgur.com/60eWoBh.png

As you can see above, it always crashes when waking from a specific semaphore (with msg ...
by hyOzd
Thu Apr 06, 2017 11:34 am
Forum: ChibiOS/RT
Topic: any other reason for "priority order violation"?
Replies: 10
Views: 10333

any other reason for "priority order violation"?

Hi I'm having a crash in `chSysUnlock()` function due to "priority order violation".

There were a few cases of improper use of I-class functions from lock zone in my code. I fixed those by adding `chSchRescheduleS()` right before unlocking. But problem continues. I was wondering what else might be ...
by hyOzd
Wed Feb 08, 2017 3:11 pm
Forum: General Support
Topic: extSetChannelModeI behaviour
Replies: 6
Views: 5196

Re: extSetChannelModeI behaviour

Hi Giovanni, from documentation it is not apparent that `extSetChannelMode` also enables the channel. That caused frustrating moments for me : ) until I read the source code. It would be nice if you could add this as a note.
by hyOzd
Fri Oct 28, 2016 8:45 am
Forum: General Support
Topic: chibios site is inaccessible via VPN
Replies: 6
Views: 5387

Re: chibios site is inaccessible via VPN

I got it again. This time I noted the IP address.

blocked: 46.166.188.232

After I disconnected, and re-connected to VPN, I wasn't blocked and my IP was this:

not blocked: 46.166.190.222

I've tried it a couple times to make sure problem is related to that IP address above.

By the way I figured ...
by hyOzd
Mon Oct 17, 2016 11:07 am
Forum: General Support
Topic: chibios site is inaccessible via VPN
Replies: 6
Views: 5387

Re: chibios site is inaccessible via VPN

It was both website and forum.

Interestingly at the moment I can access via VPN. I'm using PIA. I think my IP has changed. I note my IP address next time I have problem.
by hyOzd
Mon Oct 17, 2016 10:00 am
Forum: General Support
Topic: chibios site is inaccessible via VPN
Replies: 6
Views: 5387

chibios site is inaccessible via VPN

Hi, I cannot access to chibios site when I'm connecting via VPN. Website doesn't load at all. No warning no captchas. I'm okay with captchas. I'm a master of captchas by now : ) For some of us, VPN is essential for a proper internet connection. Git protocol access is always disabled in my university ...