2008-12-18 09:39 PM
IAP Bootloader and application in one hex file
2011-05-17 03:50 AM
Hi,
Is it possible to generate one hex file that contains IAP bootloader and application. Now I have two separate projects, one for IAP and one for application. I am using STM32F103ZET6, RIDE 7, Rlink-STX. best reg, J.O.2011-05-17 03:50 AM
I do this by programming a board with bootloader and application and then using the ST flash loader to copy (upload) the entire flash contents. I use a bin file but I think you can also produce a hex file.
Regards Trevor2011-05-17 03:50 AM
Thanks very clever :)
What do you think, is it possible to create one big project with program and bootloader?2011-05-17 03:50 AM
Yes, according to Raisonance, it should be possible - see:
I didn't manage to get it to work with both source applications inside one project - I just got as far as having the main project, and the bootloader application as an ''auxiliary''2011-05-17 03:50 AM
How can i reuse some functions that i put inside IAP portion and recall them from my application?
I'm using IAR workbench. Thanks for any help2011-05-17 03:50 AM
With IAR Workbench you can put all in a single file by using --image_input linker option.
Regards2011-05-17 03:50 AM
I had to do this recently, combine 3 different bin files and program them. I use CrossStudio, so I used it to make bin files for each project and wrote a little bash script to combine them into one file before programming. It took 10 minutes and works perfectly. PM/email me if you'd like a hand with something like that.