Hello,
I use STM32F103 uC and I want to load pattern file to memory at address 0x08010000 (FLASH area). I want to do it in simulation. I converted my pattern bin file to hex format by using bin2hex from www.ht-lab.com/.../bin2hex.html:
bin2hex.exe pattern.bin output.hex -s 0801 -o 0000
When I use type the command: Load "C:\\output.hex" in Keil Command window I do not get answer. In the Memory window data do not change. Please help how to do this.
You can't just load to flash. You basically need to load into RAM, and then jump to some code that performs IAP to write the data into flash. So basically the same route as when storing a program into flash by first specifying a flash algorithm for the memory region.
I tried to load this pattern file to address 0x2000000 (RAM area) with no effect too. But I think I can use "Load" command because Keil uses this command to load application to FLASH memory.