AnsweredAssumed Answered

S12XEQ384 - Placing Software in Paged ROM only

Question asked by Sascha Pfengler on Jul 15, 2016
Latest reply on Jul 15, 2016 by Sascha Pfengler

Hi there, I'm trying to figure out if and how it is possible, to place Bootloader SW in an address area without using Direct Flash pages FD and FF.

 

If I manipulate Project.prm to not use ROM_C000 or ROM_4000 ("direct Flash Pages"), but to use a paged Flash Area (PPAGE_FA for example) for StartUp-Code and such, linker throws errors left and right. (See attached file)

 

My goal is to place App- and Boot-SW - Code each in a consecutive way.

 

Lets say:

Bootloader: "Flash Page" E0 ... F4

AppSW: "Flash Page" FA ... FF

 

Is there a way to do this?


Reason: Our (Standard-)Bootloader is written in a way that it clears the APP-SW-Area from Start to Finish and then writes AppSW from Start to Finish. (In this Case "Flash Pages" FA to FF)

Original Attachment has been moved to: ProjectBootSW.prm.zip

Outcomes