STM32F103ze Eval Board burning two different programs in two entierly seperate pages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-09-14 5: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-region- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-09-14 6: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.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-09-14 8: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...A complex system designed from scratch never works and cannot be patched up to make it work.
