Page 2 of 2

Re: chThdSleep strange behaviour

Posted: Thu Jan 14, 2016 3:25 pm
by am3syl
Yes I use the stm32f429 ld file but its the same family

In the map file I see VectorB0 (systick vector) is linked at std_lld.o, its seems ok

But its like VectorB0 is not implemented, the flag is set but is never processed.
I looked to the nvic registry, interrupt is set and flag too.

I will reinstall Chibios from scratch to eliminate the risk of modified files but with no great hope.

Re: chThdSleep strange behaviour

Posted: Thu Jan 14, 2016 3:32 pm
by Giovanni
I suggest you see it working in an existing demo on a supported board before attempt to port it.

At very least you would have two things to compare.

Giovanni

Re: chThdSleep strange behaviour

Posted: Thu Jan 14, 2016 4:33 pm
by am3syl
Good idea, I have flashed the F429 demo on my board without change expect HSI use and systick ISR is called!

Now I have to replace file by file to see where is the problem.

Re: chThdSleep strange behaviour

Posted: Thu Jan 14, 2016 5:40 pm
by am3syl
Ok I got it.

Well the chconf used contains CORTEX_VTOR_INIT at the last line and I didn't see it.
The line relocate vector outside the flash. Costly mistake.

Thanks for your support!!