External code execution with sd card / bitlash

Hi... Just got the datalogger shield from adafruit which is working fine using the sdfat library.

I'm attempting to externalize code from the arduino onto an sd card and using a command line interpretter (bitlash - http://bitlash.net/wiki/start) to read back code for execution. In a basic way this is working, but not great. I can write programs so that either library will execute properly.

I have tried combining the libraries and executing external code... But results are quirky. There appears to be some as yet undiscovered clash between the two libraries: sdfat and bitlash... Depending on which commands are issued, the program might freeze, the setup routine being continuously executed. However, it will read code off the flash drive and execute it...

I'm expecting that some tweaks of either library may be needed.

Has anyone tried this? I would be happy to collaborate in getting this to work...

It has been done with the uMMC from rogue robotics if you want to look that up.

Mowcius

Saw the site - but didn't want to change the firmware....

Meanwhile, I have made progress with bitLash... Everything is now working - I can pull code and execute it... There is an annoying problem - I do a read every 6000 in the main loop... After each read I do a file close - but it doesn't seem to work... It doesn't seem to adversely effect the execution - but it is something I would like to fix...