hi, i m pradeep i m using piccolo f28069 and i want to increase the .text flash memory size. so almost i used flasha in page 0 in that totally memory but i want yo use another flash so who to declare that plz...
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi, i m pradeep i m using piccolo f28069 and i want to increase the .text flash memory size. so almost i used flasha in page 0 in that totally memory but i want yo use another flash so who to declare that plz...
Hi Pradeep,
You can link .text into multiple sections by using the >> operator and OR'ing the sections together using |. Try doing something like this:
.text :>> flasha | flashb | flashc
You can learn more about this in the assembly language tools user guide.
Trey
If you want complete control over which Flash sections you want to write / not write and you don't foresee a change in processor, then you can try combining 2 or more sections into one large section. However Trey's method is cleaner and easier for upgrades to other processors.
Here is the Wiki link with the two methods listed.
Pradeep,
These errors mean that these sections (.econst and .switch) won't fit in the memory you have allocated them to. You'll need to put these in a different memory section.
Trey
thanks for reply trey,
i tried in this ways like FLASHA | fLASHH & : {*(.text)} >>FLASHA | fLASHH but still i m getting same problem. more over i m getting same problem for .text also.
if any other way of declaration is available pl inform me...........
thanks and waiting for urs reply....
i cant use 1st method but i have tried in 2nd method in wiki but still its not working properly