billroy / bitlash

Bitlash: a programmable command shell for arduino
http://bitlash.net
MIT License
344 stars 73 forks source link

"bitlashsd" with Wire library cause restart #40

Open Udith opened 9 years ago

Udith commented 9 years ago

Hi, we are planning to use bitlash with a SD card while using the arduino Wire library for I2C communication. But once the Wire library is included to "bitlashsd" code, the arduino restarts continuously. Any idea on how to fix this problem?

Thanks!

billroy commented 9 years ago

The Bitlash SD card code leaves very little space free on a standard ‘328 Arduino.

So, the first thing I would check is flash memory exhaustion. The second is ram exhaustion.

If either of these turns out to be the problem, it's possible to modify Bitlash to remove features to make room, but this is fairly painful work. It’s easier to upgrade to a larger Arduino, like the Mega.

-br

On Nov 19, 2014, at 3:33 AM, Udith Gunaratna notifications@github.com wrote:

Hi, we are planning to use bitlash with a SD card while using the arduino Wire library for I2C communication. But once the Wire library is included to "bitlashsd" code, the arduino restarts continuously. Any idea on how to fix this problem?

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/billroy/bitlash/issues/40.

Udith commented 9 years ago

Thank you very much for the quick response! We'll check those.