fuel pump not working after engine swap

Forum: 

Hi all, I have just swapped my engine in my sportrak, but now I have no fuel pump working. the engine turns over, but that's it. I thought maybe it was a loose connection, or damaged wire on the new engines loom. So swapped loom for my original, still no luck on it starting. My thought now is that it's immobilised after unplugging the ecu it doesn't remember the keys. Does anyone know how to check fault codes? or how to reprogram the keys to the car?

Thanks