# Recover bricked ccimx6ulsbc

**URL:** <https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138>\
**Category:** Linux\
**Tags:** recover, usb, brick, u-boot, ccimx6ulsbc\
**Created:** [March 13, 2017, 11:49am UTC](https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138 "2017-03-13T11:49:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgamboni](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@cgamboni](https://forums.digi.com/u/cgamboni)\
**Post date:** [March 13, 2017, 11:49am UTC](https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138/1 "2017-03-13T11:49:20Z")

</div>

I created a simple application toggling EXP\_IO3, EXP\_IO2, and EXPIO1 based on readings from three ADC pins MCA\_IO1, MCA\_IO3 and MCD\_IO5. Everything was running fine and I left the application to run over night. When I came in this morning I noticed that the unit was spitting garbage out of the serial port. I figure something must have happened with my application and I corrupted the flash somehow. No matter what I do the serial port spits out jibberish. As I look through the steps to recover your device on the web site, I try to follow the Boot U-boot in USB debug mode

1. Install the SDK toolchain. See Application development.
2. Connect the USB serial cable to the CONSOLE connector on the SBC and to your host computer.
3. Connect the micro USB cable to the USB device port of the board (bottom layer, under the USB host connectors).
4. Close the BOOT jumper near the CONSOLE connector.
5. Power up the board.
6. Open a serial terminal at 115200/8/n/1.
7. On the host computer, as root, run the imx\_usb tool installed with the SDK toolchain with the U-Boot file to boot as parameter. For example:  
sudo /opt/dey/2.0-r5/sysroots/x86\_64-deysdk-linux/usr/bin/imx\_usb /mypath/u-boot-ccimx6ulsbc.imx

When I type this command I get the message no matching USB device found. Is there another method to restore the device or is this effectively bricked? I am not sure how my application could have corrupted flash this bad overnight but it is certainly possible.

---

<div class="post-metadata">

**Author:** ![Campbell](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@Campbell](https://forums.digi.com/u/Campbell)\
**Post date:** [March 13, 2017, 4:12pm UTC](https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138/2 "2017-03-13T16:12:29Z")

</div>

There are other methods to restoring your device you can find the other methods in the Embedded Yocto manual under Recover your Device: [https://www.digi.com/resources/documentation/digidocs/90001514/default.htm#task/yocto/t\_faq\_recover\_device\_yocto.htm?Highlight=recover](https://www.digi.com/resources/documentation/digidocs/90001514/default.htm#task/yocto/t_faq_recover_device_yocto.htm?Highlight=recover)

microSD method:  
Update boot loader from microSD card  
Place the U-Boot binary inside a FAT-formatted microSD card.  
Insert the microSD card in the board.  
Run the following command to update U-Boot into the NAND flash:  
=\> update uboot mmc 0 fat  
Remove BOOT MODE jumper (J19) and power-cycle the device. The target now boots from the NAND flash.

---

<div class="post-metadata">

**Author:** ![cgamboni](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@cgamboni](https://forums.digi.com/u/cgamboni)\
**Post date:** [March 14, 2017, 9:51am UTC](https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138/3 "2017-03-14T09:51:12Z")

</div>

I have attempted this method as well. Unfortunately the serial port is still spitting out seemingly random characters.

---

<div class="post-metadata">

**Author:** ![txsaluki](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@txsaluki](https://forums.digi.com/u/txsaluki)\
**Post date:** [June 6, 2019, 12:53pm UTC](https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138/4 "2019-06-06T12:53:43Z")

</div>

I am also having this issue, and this doesn’t seem to be resolved.

I tried installing J19 with a known good SD card installed, and nothing. No prompts of any kind, so the microSD method is not usable for me.

the imx\_usb above returns :  
:/opt/dey/2.6-r1/ccimx6ulstarter/core-image-base/sysroots/x86\_64-deysdk-linux/usr/bin$ sudo ./imx\_usb -c /opt/dey/2.6-r1/ccimx6ulstarter/core-image-base/sysroots/x86\_64-deysdk-linux/etc/imx-loader.d/ /home/don/workspace/ccimx6ulstarter/tmp/deploy/images/ccimx6ulstarter/u-boot-ccimx6ulstarter-2017.03-r0.imx  
config file  
vid=0x066f pid=0x3780 file\_name=mx23\_usb\_work.conf  
vid=0x15a2 pid=0x004f file\_name=mx28\_usb\_work.conf  
vid=0x15a2 pid=0x0052 file\_name=mx50\_usb\_work.conf  
vid=0x15a2 pid=0x0054 file\_name=mx6\_usb\_work.conf  
vid=0x15a2 pid=0x0061 file\_name=mx6\_usb\_work.conf  
vid=0x15a2 pid=0x0063 file\_name=mx6\_usb\_work.conf  
vid=0x15a2 pid=0x0071 file\_name=mx6\_usb\_work.conf  
vid=0x15a2 pid=0x007d file\_name=mx6\_usb\_work.conf  
vid=0x15a2 pid=0x0076 file\_name=mx7\_usb\_work.conf  
vid=0x15a2 pid=0x0041 file\_name=mx51\_usb\_work.conf  
vid=0x15a2 pid=0x004e file\_name=mx53\_usb\_work.conf  
vid=0x15a2 pid=0x006a file\_name=vybrid\_usb\_work.conf  
vid=0x066f pid=0x37ff file\_name=linux\_gadget.conf  
no matching USB device found

Our board is dead until this gets resolved.

---

<div class="post-metadata">

**Author:** ![txsaluki](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@txsaluki](https://forums.digi.com/u/txsaluki)\
**Post date:** [June 6, 2019, 12:53pm UTC](https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138/5 "2019-06-06T12:53:29Z")

</div>

same here. board didn’t respond at all

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [June 13, 2019, 2:21pm UTC](https://forums.digi.com/t/recover-bricked-ccimx6ulsbc/18138/6 "2019-06-13T14:21:47Z")

</div>

You cannot boot cc6ul for uSD card. You need to recover via USB OTG using PC:  
[https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.6/cc6ul/yocto\_t\_recover-device\_6ul](https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.6/cc6ul/yocto_t_recover-device_6ul)

\>When I type this command I get the message no matching USB device found.  
Did you set up jumpers/switches to bootstrap the board into USB boot? Are you using the correct micro USB OTG port? Can you try connecting to a Windows PC? Does windows detect a new device?

There is a windows version of sb\_loder you can use to recover:  
[https://boundarydevices.com/windows-users-and-unbricking-an-i-mx-device/](https://boundarydevices.com/windows-users-and-unbricking-an-i-mx-device/)

If this doesn’t work, please contact Tech support and we will RMA your board.
