3 ms·
n00b question but how big is your OS ? I was going to work with the Arduino Uno first but then out of concern for memory size, I purchased a Mega.
by shriphani 15y ago
n00b question but how big is your OS ? I was going to work with the Arduino Uno first but then out of concern for memory size, I purchased a Mega.
- dkersten 15y agoNot terribly large. Not more than 2 or 3 KB of program memory right now (and probably half the amount of data memory). I expect it to grow to maybe 10 KB of program memory (not including user programs, and later when I have loads of drivers, I expect to only include the ones actually used - or dynamically load them off an SD Card). The PIC24's are fairly beefy devices. 16bit, 40MIPS (for the HJ's, 16 MIPS for the F's and 32 for the dsPIC), a few different I/O pin options in case you need lots of pins... The PIC24H range of microcontrollers I'm currently using have from 12 KB up to 256 KB of program memory and from 1 KB to about 16 KB of data RAM. The PIC24F range have the same range of flash and up to 96 KB of RAM. The newly released PIC24E has 256 KB and 512 KB program memory versions and come in 28 KB and 52 KB data variants (and run at 60 MIPS). So, currently, they have more than enough space available to comfortably fit anything I throw at it, but if I start to run out, I will 1) add additional external SRAM and/or flash, 2) add the ability to dynamically load programs from SD Cards and 3) have a way of stripping out features that aren't used (since its a microcontroller, its unlikely that a driver will ever be needed if its not needed from the start, unless its a driver for, eg, a USB (or some other hot-pluggable or easily replaceable) device, since most devices would be permenantly connected.)