STM32 USART error

38 views
Skip to first unread message

newfag

unread,
Jun 15, 2016, 2:45:32 AM6/15/16
to embox-devel
Hello!
I need your help. I decided to upgrade to the latest version of your operating system, as necessary DNS support. In the previous OS version my project worked. Now, when the device is started ( debug module with stm32f427) get the message -
"Embox kernel start runlevel: init level is 0 unit: initializing embox.driver.serial.stm_usart: error: Operation not supported Failed to get into level 1, current level 0"
I do not know what is the problem here .
Configuration file in attach.
Thanks!
mods.config

Anton Bondarev

unread,
Jun 15, 2016, 7:45:37 AM6/15/16
to embox...@googlegroups.com
Hi,

Try to change include embox.driver.char_dev_stub to include embox.driver.char_dev_old
But I have not STM32F4 board now and can't check another parameters. It's better if you switch to a new default configuration template for stm32 (arm/stm32f4cube). It includes a new drivers (uart and  ethernet) and supported several ttyS in singe configuration.

Except this, I found include embox.driver.audio.stm32f4_pa_test in your configuration, Is it really needed for you?

Regards, Anton

--
You received this message because you are subscribed to the Google Groups "embox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embox-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Станислав Терехов

unread,
Jun 15, 2016, 9:59:35 AM6/15/16
to embox...@googlegroups.com

Yes , I work with sound in my project . Thanks for the answer! I will try in the near future .

newfag

unread,
Jun 17, 2016, 2:12:26 AM6/17/16
to embox-devel
Hi,
Now i have message - 

"runlevel: init level is 0
        unit: initializing embox.driver.serial.stm_usart: error: No such entity
Failed to get into level 1, current level 0"

I'll try to go on HAL and use your new templates.


среда, 15 июня 2016 г., 14:45:37 UTC+3 пользователь Anton Bondarev написал:

Anton Bondarev

unread,
Jun 17, 2016, 10:06:46 AM6/17/16
to embox...@googlegroups.com
Hi,

I think the fast way to resolve your problem is to comment following line:
return uart_register(&stm32_uart0, &uart_defparams);
in 'stm_usart' driver and return 0 instead
 
Reply all
Reply to author
Forward
0 new messages