# ConnectCore 9M  U Boot

**URL:** <https://forums.digi.com/t/connectcore-9m-u-boot/4997>\
**Category:** Windows CE\
**Tags:** uboot, recover\
**Created:** [June 20, 2011, 5:28am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997 "2011-06-20T05:28:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![puliveli](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@puliveli](https://forums.digi.com/u/puliveli)\
**Post date:** [June 20, 2011, 5:28am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/1 "2011-06-20T05:28:55Z")

</div>

Hi all,

I’m using CC9m2443 board, but accidentally I deleted U Boot from the board. Now when I turn on the board nothing shown on the serial terminal. How can I overcome this situation by writing back the U boot.?

I’m having J Tag, and I’m using Windows XP / Ubuntu 10.04 LTS.

pls help me…

Alex

---

<div class="post-metadata">

**Author:** ![bobthomas13](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bobthomas13](https://forums.digi.com/u/bobthomas13)\
**Post date:** [June 20, 2011, 5:34am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/2 "2011-06-20T05:34:18Z")

</div>

Hi,

the recovery mechanism is explained here  
[http://www.digi.com/support/productdetl.jsp?pid=3640&amp;osvid=181&amp;tp=3&amp;s=394&amp;tp2=0](http://www.digi.com/support/productdetl.jsp?pid=3640&amp;osvid=181&amp;tp=3&amp;s=394&amp;tp2=0)

Recovery - [http://ftp1.digi.com/support/documentation/ubootrecover.zip](http://ftp1.digi.com/support/documentation/ubootrecover.zip)

This will help.

---

<div class="post-metadata">

**Author:** ![puliveli](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@puliveli](https://forums.digi.com/u/puliveli)\
**Post date:** [June 20, 2011, 5:39am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/3 "2011-06-20T05:39:14Z")

</div>

Thank u for the reply… i will find th link…

---

<div class="post-metadata">

**Author:** ![puliveli](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@puliveli](https://forums.digi.com/u/puliveli)\
**Post date:** [June 20, 2011, 10:38am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/4 "2011-06-20T10:38:31Z")

</div>

hi bob,

for this mechanism the Uboot must be running on the board, right…??? my case u boot is deleted from the board. its not running…

any suggestions pls???

---

<div class="post-metadata">

**Author:** ![bobthomas13](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bobthomas13](https://forums.digi.com/u/bobthomas13)\
**Post date:** [June 20, 2011, 10:46am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/5 "2011-06-20T10:46:34Z")

</div>

This is used for recovering module when “UBOOT” is “LOST”.

you have to follow the 4 steps explained in [http://ftp1.digi.com/support/documentation/ubootrecover.zip](http://ftp1.digi.com/support/documentation/ubootrecover.zip)  
in order.

---

<div class="post-metadata">

**Author:** ![puliveli](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@puliveli](https://forums.digi.com/u/puliveli)\
**Post date:** [June 21, 2011, 5:39pm UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/6 "2011-06-21T17:39:29Z")

</div>

hi Bob ,

when I run the batch file it shows “JLink is not recognized as internal or externel commnd”

what I’v to make sure before trying…???

thnks  
Alex

---

<div class="post-metadata">

**Author:** ![cpigilam](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@cpigilam](https://forums.digi.com/u/cpigilam)\
**Post date:** [June 22, 2011, 5:37am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/7 "2011-06-22T05:37:29Z")

</div>

Hi, Make sure that S4.3 switch on.

Follow the steps,

Turn off the development board.  
Connect the power cable.  
Connect the JTAG adapter to the MULTI-ICE connector X13/JTAG on the development board.  
Connect the JTAG adapter to your PC via the supplied USB cable.

Launch a terminal program (e.g. HyperTerminal) with 38400 8-N-1 no flow control.  
Plug the cable into Serial Port A of the Digi development board.

To allow the JTAG to write to RAM the dip switches S4 on the Digi Development board must be set:  
Set S4.3(OCD) to ‘On’ (toward the edge of the development board ,Set all others to ‘Off’

Next Power on the module.  
Run the ccw9m2443js.bat file from the C:\Program Files (x86)\SEGGER\JLinkARM\_V422g’ directory for your module.

Erase the U-Boot section of flash with:

nand erase 0x0 0xc0000  
Then write U-Boot to flash with:

nand write 0x33e00000 0x0 0xc0000  
Power down the device  
Unplug the JTAG  
Set S4.3 to off

---

<div class="post-metadata">

**Author:** ![puliveli](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@puliveli](https://forums.digi.com/u/puliveli)\
**Post date:** [June 22, 2011, 6:20am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/8 "2011-06-22T06:20:50Z")

</div>

Hi,

thank you so much for the help…

now I recoverd the U boot, but still problem with Environment area. It shows,

NVRAM: Original Critical is BAD  
NVRAM: Mirror Critical is BAD  
NVRAM: Original and Mirror don’t match  
NVRAM: Using Mirror

also, when I try to set and save into file it shows,

CCW9M2443 # setenv ipaddr 192.168.37.17  
CCW9M2443 # saveenv  
Saving Environment to Digi NVRAM…  
\*\*\* Error: NVE\_NOT\_FOUND: (U-Boot)

why UBoot is not able to accss the environment variables…???

pls help…

Alex

---

<div class="post-metadata">

**Author:** ![cpigilam](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@cpigilam](https://forums.digi.com/u/cpigilam)\
**Post date:** [June 22, 2011, 6:38am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/9 "2011-06-22T06:38:52Z")

</div>

Hi,

Could you please send the “flaprt” data and printenv , printenv\_dynamic variables.

#intnvram printall data also

---

<div class="post-metadata">

**Author:** ![puliveli](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@puliveli](https://forums.digi.com/u/puliveli)\
**Post date:** [June 22, 2011, 7:20am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/10 "2011-06-22T07:20:23Z")

</div>

hi,

I got some clue… when I use my custom UBoot, then only it shows this error…

let me have a check for more clarity…

alex

---

<div class="post-metadata">

**Author:** ![puliveli](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@puliveli](https://forums.digi.com/u/puliveli)\
**Post date:** [June 22, 2011, 7:34am UTC](https://forums.digi.com/t/connectcore-9m-u-boot/4997/11 "2011-06-22T07:34:25Z")

</div>

sorry friends,

I think i made a mistake by loading my custom bootloader into the board without making changes in NVRAM. (during this time we should not use savenv till all the upgrade finishes)

now I’'m able to load my custom Uboot and Kernel…

thank you for your help and comments…

Alex
