cancel
Showing results for 
Search instead for 
Did you mean: 

cubemx 4.13.0

Bouwens.Robert
Associate II
Posted on February 09, 2016 at 15:29

I am using AC6 for my development on the L0 series.

After updating to Version 4.13.0 of cube my exported project is no longer identified as CDT Project and refuses to compile :\

Any quick and dirty hack allowing me to recompile my Project?

I am also defining the receive timeout function for usart 2.

the current defines do let me to identify receive timeout interrupts on the L0.

a missing define - but i am able to clear the Interrupt.

thanks
4 REPLIES 4
Amel NASRI
ST Employee
Posted on February 09, 2016 at 17:10

Hi bouwens.robert,

To clearly understand your issue, I have some questions:

1- is it faced with a new created project or you tried to generate new one based on an old .ioc file?

2- what do you get as compilation error?

3- could you please provide more details on the USART issue?

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Bouwens.Robert
Associate II
Posted on February 09, 2016 at 18:08

the L0 usarts1 and 2 do support modbus.

when enabling the receive timeout Interrupt, it is not possible to detect the appropriate Interrupt.

but with the defines it is possible to clear the Interrupt:

if (!interrupt_processed)

{

    __HAL_UART_CLEAR_IT(huart, USART_ISR_RTOF);

    HAL_UART_PacketCpltCallback(huart);

}

the interrupt_processed is some Magic in:

void HAL_UART_IRQHandler(UART_HandleTypeDef *huart)

{

    int interrupt_processed = 0;

    ...

before migrating to cubemx4.13 i had the following Project path:

D:\stm\project files\lpuart-lptimer-l053r8\SW4STM32\lpuart-lptimer-l053r8 Configuration

after migrating i found the Project here:

D:\stm\project files\lpuart-lptimer-l053r8\SW4STM32\lpuart-lptimer-l053r8

and in the old Directory the eclipse Project files had the ending ''.backup''.

bummer ...

and within the new project the usart support disapeared.

but it is still declared within the cubemx Project definition.

Bouwens.Robert
Associate II
Posted on February 10, 2016 at 10:58

i re-created the Project from scratch and it works fine.

the Migration process creates a mess.

Bouwens.Robert
Associate II
Posted on February 26, 2016 at 14:34

still no solution to detect timeout Interrupts?!?