Nintendo DS and DSi games are not compatible with each other's hardware.
Check the cartridge color: Dark gray = DS (works on all). White = DSi-exclusive (DSi/3DS family only).