PDA

View Full Version : program flash availability


Raphael
11-10-06, 11:55 AM
hi

Trying to download relatively a large code ( about 55 KB as a .txt on Windows ) the pod hangs ( Plugapod-S , v091-3.S)

As a part of self trouble shooting
I checked PFAVAIL . 8958 at the start .

I started downloading the code and at one point PFAVAIL . went down to negative.

Again at a later instance PFAVAIL . -600 and I typed in one more word and PFAVAIL . -258 .

q1. Does that indicate I am running short of memory
q2. What is the best alternate for Plugapod-S with (xbee and GPS)
q3. Does reducing the size of EEWORD help at this point

RMDumse
11-10-06, 01:40 PM
Trying to download relatively a large code ( about 55 KB as a .txt on Windows ) the pod hangs ( Plugapod-S , v091-3.S)

You have an advanced beta copy of IsoMax(TM) not yet available to the general customer. Just so if others are wondering why they don't have a V0.91.


As a part of self trouble shooting
I checked PFAVAIL . 8958 at the start .


The number of words of program flash still available.

In some of the tests of the beta code, we have more words than make it to release to the rest of the users.


I started downloading the code and at one point PFAVAIL . went down to negative.

Again at a later instance PFAVAIL . -600 and I typed in one more word and PFAVAIL . -258 .


That's not a good thing. It means you have taken up more space in Flash than there is Flash. So some of the words you've EEWORD's up into memory are no longer accessable.


q1. Does that indicate I am running short of memory


Past short of memory.


q2. What is the best alternate for Plugapod-S with (xbee and GPS)


Well, in the case of what you are building there at the university, perhaps multiple 'Pods. Off load some of the processing to another processor.


q3. Does reducing the size of EEWORD help at this point


There are many ways to reduce code size. One of the biggest is to use shorter names. Each byte in the name takes up one word of memory. Then there are usually ways to improve code density with various tricks. However, it is easier if you can to just distribute the processing, and go to another.