Ok thanks,
I will keep the 427 for now and check what happens on 446 in few weeks. I will keep you in touch.
Search found 11 matches
- Mon Jun 20, 2016 4:22 pm
- Forum: ChibiOS/HAL
- Topic: STM32F446 and ULPI
- Replies: 2
- Views: 2266
- Mon Jun 20, 2016 11:50 am
- Forum: ChibiOS/HAL
- Topic: STM32F446 and ULPI
- Replies: 2
- Views: 2266
STM32F446 and ULPI
Hello,
I have some problems to run the USB Driver with ULPI on STM32F446.
The same code ( except that the ULPI_D4 pin change ) run perfectly on a STM32F427 ( I use the same board but swap the mcu)
Does anyone have run the ULPI driver on STM32F446 with success?
Thanks !
I have some problems to run the USB Driver with ULPI on STM32F446.
The same code ( except that the ULPI_D4 pin change ) run perfectly on a STM32F427 ( I use the same board but swap the mcu)
Does anyone have run the ULPI driver on STM32F446 with success?
Thanks !
- Thu Jan 14, 2016 5:40 pm
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
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!!
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!!
- Thu Jan 14, 2016 4:33 pm
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
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.
Now I have to replace file by file to see where is the problem.
- Thu Jan 14, 2016 3:25 pm
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
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 ...
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 ...
- Thu Jan 14, 2016 12:55 pm
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
Some details:
Its seems I never go in the systick ISR.
TIM2 is higher than the CCR1 value, the compare/capture flag is set but no interrupt happens.
I will check the interrupt register and vectors things.
Its seems I never go in the systick ISR.
TIM2 is higher than the CCR1 value, the compare/capture flag is set but no interrupt happens.
I will check the interrupt register and vectors things.
- Thu Jan 14, 2016 10:26 am
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
Forget the posts above, I'm sure of nothing
How I can ensure the chthdSleep is not exited? There is a interrupt to watch or something?
How I can ensure the chthdSleep is not exited? There is a interrupt to watch or something?
- Thu Jan 14, 2016 9:33 am
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
Errata the timer count but very slowly, probably prescaler settings
- Thu Jan 14, 2016 8:55 am
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
Yes I'm sure, the timer associate to system tick doesn't count even with HSI clock. I replace the stm32f427 by another but same thing happens.
I'm already in O0 optimisation.
It's look like a bad configuration or hardware malfunction. I will start over from scratch.
I'm already in O0 optimisation.
It's look like a bad configuration or hardware malfunction. I will start over from scratch.
- Wed Jan 13, 2016 4:27 pm
- Forum: STM32 Support
- Topic: chThdSleep strange behaviour
- Replies: 13
- Views: 5633
Re: chThdSleep strange behaviour
The program is in the infinite loop of the idle_thread, waiting for a timer interrupt which never came ( port_wait_for_interrupt ).
As you said it's probably the oscillator but I tried to change to HSI with:
#define STM32F4xx_MCUCONF
/*
* HAL driver system settings.
*/
#define STM32_NO ...
As you said it's probably the oscillator but I tried to change to HSI with:
#define STM32F4xx_MCUCONF
/*
* HAL driver system settings.
*/
#define STM32_NO ...