AnsweredAssumed Answered

Transfer File from terminal to STM32 Flash via UART over DMA

Question asked by foujanet.guillaume on Mar 3, 2016
Latest reply on Mar 3, 2016 by Clive One

I would like to know if it's possible to transfer a file from a PC(with hyper terminal),  to the MCU' Flash, with the UART over DMA.

I use a stm32l151xc. , the file to transfert is moreorless 100kB.

I check the trasnfert to RAM with a file of 10kB, it's correct.

With the Flash as destination of the DMA, it's not working. 
I try Byte and word alignment.

I am able to write the FLASH manually. but not with the DMA.

I have created a user_section into FLASH to play with.

Do you know if it's technically possible?(timing Flash)


PS: maybe use X/Y/Z Modem is a better solution. What are you think about that?