On 2011/04/11 21:46, Richard,Ellen en Mante wrote:

I have made a Ethernet shield for jaluino and trying Matt’s
“network_ping_udp_tcp_enc28j60 program.

This program uses 21130 bytes of code memory and 1212 bytes of data memory.

Both far below specs of 18f4550 ( 32Kbyte code mem. and 2048byte data mem.).

But when changed to 18f4550, I get compiler error “Out of data space!”.

When I compile an other program with 18f4550, compiler tells me 18f4550
has 32768 code bytes (this is OK) but only 928of data bytes available.

Could this be a fault in device file of 18f4550?

Yes, in old device files! Take the latest.


When building a bigger program its easy to remove the 18f4550 on jaluino
medium and place a 18F4620 with 64K code space and 3968 bytes of data
space, its pin compatible, but then we lose the USB (not on board) and
i2c hardware (different pin).

USB needs memory too, which is then not available as 'normal' RAM.
So it's one or the other!

Regards, Rob

--
R. Hamerling, Netherlands --- http://www.robh.nl

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to