Chaotic regimes in the ensemble of FitzhHugh-Nagumo elements with weak couplings