The cartoon I'm thinking of takes place in space and the main character can transform into a robot and later on in the series, he could only stay as the robot for 15min or the robot would turn evil and he's start killing his friends.
Name?
Edit: TeknoMan. Found it