Skip to main content
roland van straten
Associate III
March 15, 2019
Question

Stm32f0xx cube bug iap f091 ymodem

  • March 15, 2019
  • 2 replies
  • 603 views

I’m trying to use the iap sample for the L091 in the cube f0 1.9.x version. It looks like whenever the iap returns from ymodem up or download the uart does not work anymore?

This topic has been closed for replies.

2 replies

Technical Moderator
March 21, 2019

Hello @roland van straten​ ,

Are you facing the issue running example from Cube firmware?

Can you please precise which example are you using and describe clearly (in details) the behavior that you faced.

Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
roland van straten
Associate III
March 21, 2019

Update:

Dear Imen,

After some serious debugging I was able to fix it and extend the IAP. I had a few issues:

1) the F091 cannot be found in the sample code that belong to the APP NOTE on the subject. It support three processor derivates except the F091.

2) browsing through the sample code of the F0 CUBE support revealed an IAP application for the F091.

3) comparing the implementations there are a few differences, especially for the Advanced UART settings that are not used in the STM32CUBE_FW_F0_V1.9.0 IAP sample.

4) when adding some functions and used HAL_Delay() the IAP code did not work anymore (no response). There was a missing/incomplete interrupt handler.

void SysTick_Handler(void)
{
 HAL_IncTick();
 
 // following line was missing from the IAP F091 sample from the MX CUBE F0 1.9.x
 HAL_SYSTICK_IRQHandler();
}

At this moment it is working.