cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103ze Eval Board burning two different programs in two entierly seperate pages

shrinath
Associate II
Posted on September 14, 2011 at 14:17

I am using 32F103ze eval board with Ulink 2 Keil JTAG,Is there a method to place two different program into two different location in the internal Flash and burn it using JTAG(one after the other burning process, ie first time first program starting say, 0x08000000, then next other program starting at 0x0800c000, so the second burn should not touch the first programmed area;selective burn)?

thanks,

shrinath

#two-programs-in-2-exe-region
2 REPLIES 2
Posted on September 14, 2011 at 15:40

Well you'd need to configure Keil so that each application uses different memory (sounds like you've done that), and configure the flash downloading to only erase the pages it needs to touch during download.

''Options for Target'' -> ''Debug'' -> ''Use: ULINK Cortex Debugger'' -> ''Settings'' -> ''Flash Download'' -> ''Download Function: Erase Sectors''

From the debugger you could probably use the LOAD command too, and merge hex files.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist III
Posted on September 14, 2011 at 17:19

You would also need some way to choose which of the 2 programs to execute.

That'd be, essentially, the ''boot'' part of a bootloader - without the ''loader'' part...