Flash user application process in SPI-FLASH using OpenOCD


(Hyungyun Moon) #1

Hi,

I’m Freedom E300 plaform and arty-7 35t user.

I’m studying the Flash process using OpenOCD.

I know that the user app is sent from gdb to openocd, and openocd loads the user app into ram, so that cpu programs the APP loaded ram to spi-flash.

So I’m analyzing fespi_write function of openocd/src/flash/nor/fespi.c , but it’s not easy.

Can you get help with the program process using openocd or the write function of the fespi driver?

Thank you!