Odin BcmCP.img fail when trying to flash gt-s5830i (galaxy ace) So I have a bricked gt-s5830i (galaxy ace) and when I try to flash it using odin I get this error:

&lt;ID:0/003&gt; Added!!
&lt;OSM&gt; Enter CS for MD5..
&lt;OSM&gt; Binary Check MD5.. Do not unplug the cable..
&lt;OSM&gt; Please wait..
&lt;OSM&gt; Checking MD5 finished Sucessfully..
&lt;OSM&gt; Leave CS..
&lt;ID:0/003&gt; Odin engine v(ID:3.1100)..
&lt;ID:0/003&gt; File analysis..
&lt;ID:0/003&gt; SetupConnection..
&lt;ID:0/003&gt; Initialzation..
&lt;ID:0/003&gt; Get PIT for mapping..
&lt;ID:0/003&gt; Firmware update start..
&lt;ID:0/003&gt; SingleDownload.
&lt;ID:0/003&gt; sbl.bin
&lt;ID:0/003&gt; NAND Write Start!! 
&lt;ID:0/003&gt; BcmCP.img
&lt;ID:0/003&gt; FAIL!
&lt;ID:0/003&gt; 
&lt;ID:0/003&gt; Complete(Write) operation failed.
&lt;OSM&gt; All threads completed. (succeed 0 / failed 1)
&lt;ID:0/003&gt; Removed!! 


It started boot looping after it randomly got stuck and I took out the battery since I couldn't do anything at all. This is the firmware I tried: http://www.sammobile.com/firmwares/download/37194/S5830IXXLK3_S5830IDBTLK1_DBT/
http://www.sammobile.com/firmwares/download/14913/S5830ZXXLK3_S5830ZDBTLK2_DBT/

Does anyone know what's causing this? This is also the first time I'm flashing a phone. The rom was downloaded from sammobile because the ones from samsung-updates seem to have broken downloads.
Use Odin 3.07. Also, make sure that you start odin as administrator. I had the same problem, and it worked for me. And prior to that, if it gets stuck in Setup Connection, just boot into "download mode" once again by pulling off the battery and re-inserting it.