chipKIT® Development Platform

Inspired by Arduino™

Matter of size?

Created Mon, 09 Apr 2012 19:26:59 +0000 by BertB


Mon, 09 Apr 2012 19:26:59 +0000

Hi all,

Hi have a question regarding the difference in the number of bytes for a sketch on Arduino Uno (10024 bytes) and ChipKIT uno32 (36292). Wat is the reason for this difference? It appears to me, that the difference in total amount of flash memory between the two is not realy benificiary, since this sketch consumes roughly a third in both cases. Is there a way to shrimp down the number of bytes?

Thanks, Bert


Mon, 09 Apr 2012 21:48:35 +0000

You are correct - the actual size of Flash on the part will not affect the size of your sketch. What will is the CPU architecture. Since the Arduino is an 8-bit architecture and the PIC32 is a 32 bit, each instruction will take up quite a bit more space on the wider architecture. The benefits are much faster execution and large address space.



Wed, 11 Apr 2012 15:22:28 +0000

Okay. Thanks.