Hi I'm using the Hi-tech PICC-18 compiler together with a MPLAB ICD 2. The ICD 2 reserves a few bytes of the data memory for itself. The thing is that the linker doesn't understand this and tries to store my own variables at the same adress. My questions is: How do I "prohibit" PICC-18 from using a certain area of my data memory? Regards Erik N=E4slund
PICC variable relocation
Started by ●October 16, 2005
Reply by ●October 16, 20052005-10-16
On 2005-10-16, eKIK <teh.ekik@gmail.com> wrote:> I'm using the Hi-tech PICC-18 compiler together with a MPLAB ICD 2. > The ICD 2 reserves a few bytes of the data memory for itself. The thing > is that the linker doesn't understand this and tries to store my own > variables at the same adress. > > My questions is: How do I "prohibit" PICC-18 from using a certain area > of my data memory?You don't need to. Hi-Tech has already done this work for you with the -ICD command line switch. -- John W. Temples, III
Reply by ●October 16, 20052005-10-16