cancel
Showing results for 
Search instead for 
Did you mean: 

Read from chip and program

GenuineDeveloper
Associate III

Hi,

My application requires configuration based on certain input received via uart. This input will be stored in flash memory of the chip and the application runs with those configuration. Now, I need to program a certain of such device with the same configuration. So, I need a way around toavoid configuring the device everytime via uart. I was thinking about programming the first chip and configuring it via uart(which stores the input values in the flash memory), then use ST-LINK utility software to read the device memory and save as hex, and then directly program this saved hex file to other chips, thereby avoiding configuration via uart.

Is this the right way? Since, I could only read and save the file but could not program other chips as it showed "elf function failed" error.

Are the chips read protected, if yes, how do I remove the protection? If no, are there any better smart way to do this?

Device: STM32F051R8

0 REPLIES 0