PPC Micro’s footprint

We are developing some codes on Freescale PPC microprocessors (currently 5517 and 5668), I want to know if we can put Lua on them.

These devices need to be easily programmed/reconfigured in the field. The current product uses a loadable proprietary interpreted logic language, and our software (written in C) runs the interpreter. I want to switch to a better language (implementation A bit wrong and slow), so I’m thinking about Lua, but the memory usage must be very low. For 5517 (which we may not use), the maximum RAM is 80K. There are better things on 5668, with 592K of RAM.

So anyone knows if I can put Lua on a bare metal? We are not actually running an operating system. If so, is there any estimate of what memory footprint we might see? How much effort is needed?

If this is not possible, does anyone know of any type of interpreter that might be better in a memory-constrained environment without an operating system? Or do we better roll our own?

Please refer to the eLua project.

We are now on Phase One Some codes are developed on Karl PPC microprocessors (currently 5517 and 5668), I want to know if Lua can be put on them.

These devices need to be easily programmed/reconfigured in the field, The current product uses a loadable proprietary interpreted logic language, and our software (written in C) runs the interpreter. I want to switch to a better language (implementation is a bit wrong and slow), so I am thinking about Lua, but the memory footprint The rate must be very low. For 5517 (which we may not use), the maximum RAM is 80K. There are better things on 5668, with 592K of RAM.

So anyone knows if I can put Lua in On bare metal? We are not actually running an operating system. If so, is there any estimate of what memory footprint we might see? How much effort is needed?

If this is not possible, does anyone know of any type of interpreter that might be better in a memory-constrained environment without an operating system? Or do we better roll our own?

Please refer to the eLua project.

Leave a Comment

Your email address will not be published.