PDA

View Full Version : Big Application


blueeyedpop
06-30-04, 01:34 AM
just as a litmus test here...

Working on an application, over 1000 lines of code, lots of trig, calculus, serial comms, canbus, quadrature encoders, velocity loops.

It keeps going and going

RMDumse
06-30-04, 08:07 AM
ServoPod(TM) or IsoPod(TM)? It would be interesting to know what memory you still have available. With 1000's of lines of code, you wouldn't think there could be much.

blueeyedpop
06-30-04, 08:46 AM
It is on an IsoPodX for future expansion, but we haven't had to invoke the external memory.

Off the top of your head, how does one tell how much data adn program flash are remaining?

RMDumse
06-30-04, 08:58 AM
You'd use the AVAIL words to check how much memory was available.

AVAIL for number of locations remaining in Data RAM memory
PAVAIL for number of locations remaining in Program RAM memory
PFAVAIL for number of locations remaining in Program Flash memory.
EEAVAIL for number of locations remaining in EEPROM (Data Flash) memory