We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
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.
Thanks for the pointer. I am going create a seperate target and load the hex file that I want.
BTW, it appears I can do the same thing by setting up an init file to be executed every time the Programmer runs. I basically have a command "LOAD SPI.HEX".
During the Image download process the SPI memory also gets updated.
Hi, all,
There is a STM32F_MM.elf in folder: Keil\ARM\Boards\Keil\MCBSTM32E\Demo\project\Multimedia
If I want to add the new bmp or wave files to STM32F_MM.elf, anyone knows how to update STM32F_MM.elf ?