Go Down

Topic: Ideas for an integrated system (Read 3 times) previous topic - next topic

veseo

Hi,

The minimum amount of RAM is 700 bytes, the maximum 2 kbytes. These values contains about 300 bytes consumed ny the standard Arduino bootloader.
Souliss is designed around the Atmega328, I've forget your tiny uC.

The main problem is the ENC28J60, because require a software TCP/IP stack. You need a full hardware Ethernet solution, like W5100.

Consider that in a communication stack most of your RAM is used in data buffer.

Regards,
Dario.

Souliss - Open-source Distributed Home Automation with Arduino and Android

http://www.souliss.net
Follow at @soulissteam

@veseotech

Arrch


Hi,

The minimum amount of RAM is 700 bytes, the maximum 2 kbytes. These values contains about 300 bytes consumed ny the standard Arduino bootloader.
Souliss is designed around the Atmega328, I've forget your tiny uC.

The main problem is the ENC28J60, because require a software TCP/IP stack. You need a full hardware Ethernet solution, like W5100.

Consider that in a communication stack most of your RAM is used in data buffer.

Regards,
Dario.




Well (typically) only one Ethernet/RF bridge would be needed, it's not tough to justify the added cost of the W5100,

I guess I'll have to continue developing the software if there is noway to get the code to fit with a tiny.

veseo

Yes, there is a plan for RAM reduction but it will not lower the use to fit a tiny.

Feel free to look at the code and reuse it.

Regards,
Dario.y
Souliss - Open-source Distributed Home Automation with Arduino and Android

http://www.souliss.net
Follow at @soulissteam

@veseotech

Graynomad

Quote
These values contains about 300 bytes consumed ny the standard Arduino bootloader.

Which must be released so it doesn't count does it?

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

veseo


Quote
These values contains about 300 bytes consumed ny the standard Arduino bootloader.

Which must be released so it doesn't count does it?

______
Rob


I've just get the total Ram used statically some time ago, and added these 300 bytes.

I've read some where that Ram was used in the bootloader.

The best option is compile the code as required and look again for Ram used, because the values are related to the first release of Souliss.

Let me say that a software tcpip, as required by ENC28J60, needs at least 160 bytes only for the data buffer. So it is an hard challange place all the code in a 512 bytes uC

Regards,
Dario.

Souliss - Open-source Distributed Home Automation with Arduino and Android

http://www.souliss.net
Follow at @soulissteam

@veseotech

Go Up