Hi.. I am planning to use LPC824 microcontroller.It having 32 kb on chip flash program memory and 8 kb of on chip RAM. Does it sufficient for RTOS . The thing is i am going to send the GPS data.So memory is sufficient?
Does it sufficient for RTOS I, always, develop with the chip in the product line that has the most memory. then, when development is done, determine how 'small' a member of the family can be used
But before you do that, you have to have made an estimation if the family contain a chip with enough capacity for the task - and if that chip has a price that makes it a viable solution.
So if the conclusion when looking at a Cortex-M0 chip is that the biggest chip in the family will probably not be good enough, then it's time to directly look at M3 families.
Or if you suspect that you might need the largest chip and it has too high price, then it's time to check if you need to directly start with a competitors product line. Or maybe decide that it isn't meaningful to fight with such a product because you can't guarantee low enough component costs to compete with some already existing products.
But yes - it's always a huge advantage if the intended target chip has a big brother. And to be able to have some prototype boards with that big brother mounted so there is room for extra debug code. Debug strings can consume quite a lot of flash space. And some extra RAM can allow a bit of local runtime tracing that can be extracted on a serial port without need for a JTAG interface with enough bandwidth to capture the data in real time.
>>I have processed and sent GPS data with 4kB code space and 512 byte RAM.
Indeed, NMEA sentences were designed to be used by 8-bit CPUs from the 1980's, the processors doing the GPS functionality, were pretty high end for there time, I've got a unit that basically had the horsepower of an ATARI ST crammed in it, and others the horsepower of a 33 MHz 486DX PC.
Step#1 Here would seem to be to know how to code in C, you don't have to code for an embedded platform to understand the complexity of code to do a specific task. Do it on a PC.