Grab a ELM327 USB interface, download this program:
http://jeepswj.com/software/ and read the codes.
http://www.ebay.com/itm/2015-ELM327-...-/331508166559
If you want a new ECU, you need the keys alongside the ECU too. A friend of mine fried his CRD ECU because of frayed wiring and simply replaced with his spare. No coding, he only needed the correct key.
I've uploaded the pages from the FSM which detail the ECU pinouts:
https://www.sendspace.com/file/b7pyct
There also are schematics showing the wire routing in the FSM, I have them bookmarked and can upload whatever you want/need.
If you have time, go through all relevant pins and check for appropriate signals and voltages and check that all the ECU pins are soldered nicely to the board:
This is the TCM, same principles apply
Once that's sorted, wiring checked and it still does not start, look at all the solder joints on the board with a magnifying glass, check for corrosion. If anything is suspicious, re-solder. Or take it to a phone repair shop, they have the tools and the skill to re-solder chips.
IF the ECU gets power and it still does not start, diagnosing it could get time-consuming, so balance out time vs money for a good ECU
Pics courtesy of jeepswj