cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-IAP-USART problem

P�?u�
Associate

Hello, I'm trying to use example code provided by X-CUBE-IAP-USART package to develop IAP FW for STM32L0xx device. I'm using STM32L073 Nucleo64 board for development.

When I send compiled FW using TeraTerm's YMODEM protocol nothing happens.

Only thing that is being send to target STM device is: "ota_test.elf166988 13332031541 100644¶Ê" over and over again. When I debugged example code I was getting HAL_TIMEOUT on receive. (rework example code to work with interrupts?). I've triple checked my USART settings so that is not the problem. Cam anyone please help me or send some functioning example code please? Original example code was written for STM32L073 eval board, but I've ported it to work with NUCLEO board, maybe I've made mistake there but, I've configured all peripherals exactly as they were configured in example code.

I appreciate any kind of help.

Thank you.

1 REPLY 1

Does it expect ELF files or is it looking for a .BIN file?

Is that file larger than the available memory? Is it being ignored because of that?

Look at how the code handles the first block.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..