As I mentioned, The cam signal needs to be right. If you cant get it to work, you will need to put an oscilloscope on it. If you don't have a logger, you have about a 2% chance you are going to figure it out. Otherwise you are just guessing on what the problem is.
If it is throwing a cam code, it isn't right. Fix that first.