Search found 22 matches

by rreignier
Fri Oct 09, 2020 2:20 pm
Forum: User Projects
Topic: Web tool for ChibiOS Configuration
Replies: 7
Views: 375

Re: Web tool for ChibiOS Configuration

Nice tool!
Just a note, when downloading the zip, it seems that my browser (Firefox) thinks it is a plain text document and try to open the zip in text editor... Maybe a MIME type issue?
by rreignier
Mon May 11, 2020 2:45 pm
Forum: Development and Feedback
Topic: [PROBLEM] Dead PC...
Replies: 16
Views: 1038

Re: [PROBLEM] Dead PC...

I agree, Synology NAS are very versatile and plug-n-play. If you want something more open there are free systems to turn a Linux box into a NAS like OpenMediaVault : https://www.openmediavault.org/ or FreeNAS : https://www.freenas.org/ On the hardware side, the Helios4 seemed nice : https://kobol.io...
by rreignier
Thu Apr 23, 2020 8:47 am
Forum: Small Change Requests
Topic: Time conversion functions in OSAL Topic is solved
Replies: 2
Views: 1616

Re: Time conversion functions in OSAL Topic is solved

I agree with you.

When I did my rosserial_chibios I used the version found in lwip_binding but it is not very handy. Nice macros like in RT would be nice.
by rreignier
Thu Mar 19, 2020 10:16 am
Forum: STM32 Support
Topic: Another CDC/USB issue - 407ZGT6 minimum board
Replies: 12
Views: 1337

Re: Another CDC/USB issue - 407ZGT6 minimum board

I have used the USB of a cheap chinese 407VET6 recently, maybe this could help you: https://github.com/romainreignier/BLUE_ ... ni_ChibiOS
by rreignier
Sat Mar 07, 2020 12:39 am
Forum: Development and Feedback
Topic: VESC, and B-G431B-ESC1 and stm32g4xx development progress...
Replies: 21
Views: 2844

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

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...
by rreignier
Fri Mar 06, 2020 4:22 pm
Forum: Development and Feedback
Topic: VESC, and B-G431B-ESC1 and stm32g4xx development progress...
Replies: 21
Views: 2844

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

Ok, great for MPU, I will make sure to test it soon! NIL without semaphores and CH_CFG_ST_TIMEDELTA not 0 does not build: ChibiOS/os/nil/src/ch.c: In function 'chSysTimerHandlerI': ChibiOS/os/nil/src/ch.c:373:17: error: 'union <anonymous>' has no member named 'semp' tp->u1.semp->cnt++;
by rreignier
Fri Mar 06, 2020 12:06 pm
Forum: Development and Feedback
Topic: VESC, and B-G431B-ESC1 and stm32g4xx development progress...
Replies: 21
Views: 2844

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

Yes, I am using trunk from last month. Even without MPU, I was able to reduce RAM usage to 15 kB! But the stack checker did not help me, do I need to enable another option to use it? As I understand, a stack overflow should be detected and the OS halted? Instead, the application was just working wit...
by rreignier
Thu Mar 05, 2020 9:55 pm
Forum: Development and Feedback
Topic: VESC, and B-G431B-ESC1 and stm32g4xx development progress...
Replies: 21
Views: 2844

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

Ok, thanks but PORT_USE_MPU_REGION need to be defined.

Code: Select all

ChibiOS/os/common/ports/ARMCMx/chcore_v7m.c:278:24: error: 'PORT_USE_MPU_REGION' undeclared (first use in this function)
     mpuConfigureRegion(PORT_USE_MPU_REGION,
by rreignier
Thu Mar 05, 2020 8:26 pm
Forum: Development and Feedback
Topic: VESC, and B-G431B-ESC1 and stm32g4xx development progress...
Replies: 21
Views: 2844

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

Thanks for the advises.

But I am not sure, what do you mean by "MPU guard pages"? Is there any example how to use that feature?
by rreignier
Thu Mar 05, 2020 3:12 pm
Forum: Development and Feedback
Topic: VESC, and B-G431B-ESC1 and stm32g4xx development progress...
Replies: 21
Views: 2844

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

Hi, No, I did not consider NIL because I though that the OS was not the culprit for the memory usage. If I find the time to investigate further, I might try it. I think that the first step would be to try to reduce the stack size of the several threads, maybe they are big just to be comfortable and ...

Go to advanced search