cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I am working on Nucleo -L073RZ board for IAP ymodem , referred the IAP example provided by stm for stm32L073 eval board and created the same for the nucleo board and tested .I have ported all the files and it compiled with zero errors .

svii
Associate III

The nucleo ported project doesn't work , i cant understand what could be the issue . I keep getting verification failed error , HAL_TIMEOUT .

The download timeout is 10000U ,changes made to it (50 seconds) how does this impact the code, will it wait for a longer duration to receive packets .

Below are the changes made in my project:

1)Nucleo board does not have an external clock HSE as configured in the original stm32eval hence using HSI clock at 32MHZ freq using pll . will this lead to any problems.

2) used cubemx to generate the nucleo project, just enabled usart and crc .

Apart from the above i have used the same flash_if.c ,y_modem .c,menu.c,common.c files from the example , only changed to the usart i am using.

user application address 0x8004000 , i have also set the same for the app bin file that is generated no mistakes here.

IAP code from 0x08000000 size of code 0x4000 .

using teraterm console(4.105) ,baud rate: 115200 ,ymodem (1K) .

Need advice on this , Thanks in advance.

3 REPLIES 3
Mohamed Aymen HZAMI
ST Employee

Hello @svii​ ,

Did you change the User Application vector table offset?

Best Regards,

Mohamed Aymen.

Hi thanks for the reply , yes i have changed the user application vector table offset.

Mohamed Aymen HZAMI
ST Employee

Hello @svii​ ,

Just to make sure, did you set the vector table offset of the user application to 0x4000 ?

Best Regards,

Mohamed Aymen.