Study of instability driving inward particle flux during the formation of transport barriers at the edge of the HL-2A tokamak