2011-09-14 05:17 AM
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-region2011-09-14 06:40 AM
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.2011-09-14 08:19 AM
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...