[fpc-devel] Topic for the list - Embedded port for PIC Micros
Marco van de Voort
marcov at stack.nl
Thu Jul 23 12:29:18 CEST 2009
In our previous episode, Nick Brown said:
> A very interesting port for an "OS-less" platform would be a port to the PIC
> family of microcontrollers. There may be some issues because memory is in
> short supply but notwithstanding, this would be pretty cool.
As Michael said, what PIC exactly ? The three ranges (8/16/32) are totally
different. I'm using the 8-bitters and the 16-bitters.
- IIRC the 8-bit PICs have a segmented memory model (pages of 256 bytes
selected using a selector register)
- 2-8kb of memory (maximum on the 16-bit iirc, with maybe a 16kb coming
soon) is too little to even use strings and other normal routines.
- You need SFR support, but worse, to convert the device specific header
file for each of the hundreds of different chips, and maintain them.
More information about the fpc-devel