one of our xj club member's has a 99 & the ecu went out did the exact same thing you are describing. had a hell of a time finding one due to the chipped key. turned out his security was to blame but it was in the ecu