was the same as first time) two motors works fine and the others didn't work, i checked the motors with other esc they worked, so what is the problem that may cuz this problem with ESC?, is it the arduino code, but it works at the first time and all was fine, so where is the problem? and is there any way to fix these ESCs?
Could it be problem with the ESC calibration.Post a link to the ESC and motors you are using.
You can use your arduino as ISP for the flash, takes some investigative work to determine which firmware you need, don't just flash blindly. http://www.rcgroups.com/forums/showthread.php?t=1513678Lots of help on flashing there.Firmware is here.https://github.com/sim-/tgyIt is tricky to do the first time but then becomes easy once you work it out.So I take it you get no beeps at all from the motors attached?
If its not one of the ones listed you would have to break out the multimeter and see what pins they use for each gate. From the pictures it looks like a copy of hobbyking blueseries N-FET (bs_nfet.hex) but they might use different pins. Only takes a few mins to check with a meter.Re-flashing is only after you ruled out physical damage or calibration /arming or programming issues. You still haven't said whether the motors do their power up tune, Its important!