VESC, and B-G431B-ESC1 and stm32g4xx development progress...

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
rreignier
Posts: 23
Joined: Sat Apr 15, 2017 11:49 pm
Has thanked: 8 times
Been thanked: 4 times

Re: VESC, and B-G431B-ESC1 and stm32g4xx development progress...

Post by rreignier »

I have tried to use the MPU feature but without success.

Even on a simple RT-STM32F401RE-NUCLEO64 demo, modified to generate a stack overflow, the MPU feature does not trigger anything.
See the attached picture where the "compute thread" stack overflow on the blinker thread working area so the Eclipse plugin is not even capable of getting the name.

Image

While the software stack overflow checker triggers an exception with the reason "stack overflow", as expected.

What is the expecting behavior of the MPU mechanism?
Right now, the OS seems to continue to work with erratic behavior. Most of the time, looping in the idle thread.

Edit: fix image
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: VESC, and B-G431B-ESC1 and stm32g4xx development progress...

Post by Giovanni »

I will look into it.

Giovanni
Post Reply