This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to load SPI device with a specific bin file

Hello All,
I have reached a dead end try to load a specific ".bin" file to an external SPI device. I hope somebody can help me out here.

I am using Keil eval board MCBSTM32E and I want to download a disk image file that I have created seprately to an 8MB SPI Flash device. I select the right device and the flash algorithm in Options for Target->Debug-->ULINK2 Cortex Debugger-->Settings-->Flash Download-->Add. Its mapped to 0xC0000000.

I have converted the bin file to hex and used the command window to load the .hex file but the command window is active only when the debug is enabled and I cannot download at this point. Creating a file group and adding the .bin file desont help either.

I dont want to use IAP because this is during development. Later on I could use IAP.

Parents
  • Look at example in folder: Keil\ARM\Boards\Keil\MCBSTM32E\Demo second target is used to download multimedia file to SPI Flash, you can use it to see how you can do it in your project.

    File does not have to be elf it can be hex file also.

Reply
  • Look at example in folder: Keil\ARM\Boards\Keil\MCBSTM32E\Demo second target is used to download multimedia file to SPI Flash, you can use it to see how you can do it in your project.

    File does not have to be elf it can be hex file also.

Children