I posted here because I got the errorcode 5 too.
Before I formatted my card normal it all worked.
Well error code -5 and the fact your card doesn't work have nothing to do with one another.
Error code=-5 is explained here.
QUOTEAccording to RetroGameFan, the error code errcode=-5 is caused by not having the required loading data for that particular DSi-Enhanced game in infolib and also caused by not having the latest ttpatch.dat/r4patch.dat/m3patch.dat in the TTMenu folder (file depends on which cart you are using).