Solar flare radio and hard X-ray observations and the avalanche model