Search found 7 matches

by nameofuser1
Mon Jul 24, 2023 7:47 am
Forum: ChibiOS/RT
Topic: Multicore support status
Replies: 1
Views: 25971

Multicore support status

Hi!

I wonder what is the status of multicore support? I was able to find some discussions in 2019 however nothing fresh. In particular STM32H745 series support is of interest.
by nameofuser1
Sun Jan 19, 2020 11:36 am
Forum: ChibiOS/RT
Topic: STM32F405 bootloader issues
Replies: 8
Views: 10775

Re: STM32F405 bootloader issues

The problem was vector table alignment! Also I found it necessary to set STM32_NO_INIT otherwise crash when reinitialise clocks.

Thanks!
by nameofuser1
Sat Jan 18, 2020 1:18 pm
Forum: ChibiOS/RT
Topic: STM32F405 bootloader issues
Replies: 8
Views: 10775

Re: STM32F405 bootloader issues

Hi,

Try stopping that timer before jumping to the application.

Giovanni

Nah, it does not help. Moreover I have revealed that any interrupt causes application to go to unhandled exception. Which is quite strange and quite possible that the issue has nothing to do with Chibi. However...

First ...
by nameofuser1
Fri Jan 17, 2020 11:17 pm
Forum: ChibiOS/RT
Topic: STM32F405 bootloader issues
Replies: 8
Views: 10775

Re: STM32F405 bootloader issues

IPSR Register states that executed interrupt number is 66. Which according to this page
https://developer.arm.com/docs/dui0553/latest/the-cortex-m4-processor/programmers-model/core-registers#BABGBIBI
have irq position 50, which in case of stm32f405 is timer 5 interrupt, which is used ...
by nameofuser1
Fri Jan 17, 2020 10:29 pm
Forum: ChibiOS/RT
Topic: STM32F405 bootloader issues
Replies: 8
Views: 10775

Re: STM32F405 bootloader issues

Hi,

Are you jumping into the application in thread mode? (as opposed to exception mode). Also verify that the application has the vectors table where expected and is pointed by VTOR. Also, do you set the MSP initial value yourself? it is done in HW on reset.

Giovanni

Yes, jump is performed from ...
by nameofuser1
Fri Jan 17, 2020 9:33 pm
Forum: ChibiOS/RT
Topic: STM32F405 bootloader issues
Replies: 8
Views: 10775

STM32F405 bootloader issues

I have implemented custom bootloader using ChibiOS which jumps to another ChibiOS application. The problem is chibios becomes unstable after a jump.

Here is my main function in application:

int main() {
halInit();
chSysInit();

while (true) {
chThdSleepMilliseconds(500);
//for (volatile ...
by nameofuser1
Thu Oct 10, 2019 10:13 am
Forum: ChibiOS/NIL
Topic: NIL event sources and event listeners
Replies: 1
Views: 30185

NIL event sources and event listeners

This page states that NIL supports events, flags and event sources. However I can not see any API for subscribing for event sources. In particular there are no event listeners. How should one use capabilities of event sources without event listeners in NIL build?