Error 005-4240 indicates a problem with the 3DS's internal clock synchronization. It is not a normal condition.
If persistent after battery replacement and format, motherboard RTC circuit may be damaged—requires microsoldering repair.