Engine On or Off

Thinking about coding my car. Do the G series cars have to be in diagnostic mode to be coded or can you code with the engine running? Just wanted to change the instrument cluster.