sounds like you broke nds mode, which a simple format should of fixed,
then you should of installed the exploit with the blue card,
then insert red card and format emunand,
have you tryed writing the exploit with the blue card without the system sd being in?