... That is why my goal would be to be able to call fpc-generated functions (which should be rather independent of the chip-variant ) from a running MPLab-X projects, and be able to debug them using Lazarus. -Michael