# cannot detect device after flashing fail

**URL:** <https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882>\
**Category:** balenaFin\
**Tags:** raspberrypi3\
**Created:** [December 25, 2019, 4:00am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882 "2019-12-25T04:00:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![marktu555](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@marktu555](https://forums.balena.io/u/marktu555)\
**Post date:** [December 25, 2019, 4:00am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/1 "2019-12-25T04:00:55Z")

</div>

Hello

Following the step of balenaFin Getting Started, I have some problems  
Here is my steps,

1. select balenaOS and download the image
2. connect a USB to mico-USB cable between win10 laptop and balenaFin\_V1.1’s PRG port
3. Open balenaEtcher 1.5.59 and select the image downloaded previously
4. cannot select target because of it need CM3 driver, so download and install driver on [https://www.raspberrypi.org/documentation/hardware/computemodule/cm-emmc-flashing.md](https://www.raspberrypi.org/documentation/hardware/computemodule/cm-emmc-flashing.md)
5. start flashing, it fail when flashing 21%
6. retry flashing, still failed, it shows unknown error
7. after second failed, system can not detect balenaFin device anymore

I am a new developer for embedded system. Could you help me for this?  
Thank you.

Regards  
Mark

---

<div class="post-metadata">

**Author:** ![nghiant2710](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nghiant2710](https://forums.balena.io/u/nghiant2710)\
**Post date:** [December 26, 2019, 9:31am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/2 "2019-12-26T09:31:44Z")

</div>

Hi,

Can you please have a look at the troubleshooting to see if there is anything useful?  
Also even now, your system can’t detect the Fin when it’s plugged?

---

<div class="post-metadata">

**Author:** ![ntzovanis](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ntzovanis/32/1150_2.png) [@ntzovanis](https://forums.balena.io/u/ntzovanis)\
**Post date:** [December 26, 2019, 5:20pm UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/5 "2019-12-26T17:20:23Z")

</div>

Hi there, I have a few questions that will help me get a better picture of where the root cause of the issue might be.

- Did you purchase the balenaFin Developer Kit? If you didn’t , what Compute Module, USB cable and PSU are you using?
- When you retry flashing, is the balenaFin mounted as a storage device?
- If you plug the balenaFin to the power supply, what LEDs do you see turned on?

Cheers,  
Nico.

---

<div class="post-metadata">

**Author:** ![marktu555](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@marktu555](https://forums.balena.io/u/marktu555)\
**Post date:** [December 30, 2019, 6:16am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/6 "2019-12-30T06:16:39Z")

</div>

Hi Nico

Thanks for your reply.  
I purchased balenaFin V1.1 Developer Kit on official website.  
When plugging to power supply, 3V3 and 5V of Status LED are turned on, RGB LED shows weak red.  
I do not get the point about question 2. Could you explain more about it?

Thanks  
Mark

---

<div class="post-metadata">

**Author:** ![marktu555](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@marktu555](https://forums.balena.io/u/marktu555)\
**Post date:** [December 30, 2019, 8:32am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/8 "2019-12-30T08:32:08Z")

</div>

I found out the reason for detecting no device. I do not install the CM3 properly.  
Now I can detect the device by balenaEtcher, but flashing still fail.  
I download the balena.img on [https://www.balena.io/os/#download](https://www.balena.io/os/#download).  
Selecting Fin, I have tried image both Production and Development.  
What may I have overlooked?

Thanks

---

<div class="post-metadata">

**Author:** ![karaxuna](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@karaxuna](https://forums.balena.io/u/karaxuna)\
**Post date:** [December 30, 2019, 11:20am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/9 "2019-12-30T11:20:31Z")

</div>

My colleague is investigating the problem. Meanwhile, can you try to debug etcher when it fails flashing? You can see logs in Devtools (`Ctrl+Shift+I`) console tab.

---

<div class="post-metadata">

**Author:** ![marktu555](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@marktu555](https://forums.balena.io/u/marktu555)\
**Post date:** [December 31, 2019, 6:28am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/11 "2019-12-31T06:28:50Z")

</div>

Hi balena team

It is success for flashing image. Under win10, I execute Etcher as system administrator, and it work.  
I am not sure it is the root cause because after flashing successful, now I cannot duplicate fail case anymore. Even thought executing without as administrator, it still can flashing successful.  
Do you have any comments?

Mark

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [December 31, 2019, 8:13am UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/12 "2019-12-31T08:13:41Z")

</div>

That is indeed strange! I am trying to reproduce this on a windows 10 machine, but it will be tricky as I might need a fresh OS install to mimic your experience of etcher requiring admin privileges only during the first flash. Thanks for reporting this!

---

<div class="post-metadata">

**Author:** ![ntzovanis](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ntzovanis/32/1150_2.png) [@ntzovanis](https://forums.balena.io/u/ntzovanis)\
**Post date:** [December 31, 2019, 5:24pm UTC](https://forums.balena.io/t/cannot-detect-device-after-flashing-fail/52882/14 "2019-12-31T17:24:48Z")

</div>

Hi @marktu555,

Glad to hear the issue is solved. Since it was a pretty strange issue, if you experience it again in the future, it would be great if you could share the logs as my colleague mentioned earlier. That way we will have more tools to debug and see if we can find the root cause.

Cheers,  
Nico.
