# RCM4000 sample program problem

**URL:** <https://forums.digi.com/t/rcm4000-sample-program-problem/9219>\
**Category:** Rabbit\
**Created:** [June 8, 2007, 9:16pm UTC](https://forums.digi.com/t/rcm4000-sample-program-problem/9219 "2007-06-08T21:16:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zuhow](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zuhow](https://forums.digi.com/u/zuhow)\
**Post date:** [June 8, 2007, 9:16pm UTC](https://forums.digi.com/t/rcm4000-sample-program-problem/9219/1 "2007-06-08T21:16:50Z")

</div>

I’m relatively new to rabbit so please see if you can help me out.

I am trying to use the ‘Browseled’ sample program for the RCM4000 and I can’t access the web page to control the leds -the page times out.

If I comment out the ‘brdInit’ command, I can access the page no problem and I can see the leds and buttons on the web page and they work fine.

I’ve tried other sample programs that use the ‘brdInit’ command and they all work fine, as does the SSI.c sample program from which ‘browseled’ is derived.

Any ideas about what’s going on?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![seulater](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@seulater](https://forums.digi.com/u/seulater)\
**Post date:** [June 11, 2007, 5:20pm UTC](https://forums.digi.com/t/rcm4000-sample-program-problem/9219/2 "2007-06-11T17:20:22Z")

</div>

can you ping the board ?

---

<div class="post-metadata">

**Author:** ![wtf](https://avatars.discourse-cdn.com/v4/letter/w/958977/32.png) [@wtf](https://forums.digi.com/u/wtf)\
**Post date:** [June 11, 2007, 8:36pm UTC](https://forums.digi.com/t/rcm4000-sample-program-problem/9219/3 "2007-06-11T20:36:54Z")

</div>

Are you using the latest version of Dynamic C? This sounds like a problem I had about 6-8 months ago. I believe there was a problem in brdInit related to 4000 vs 4010 port initialization. I can try to find the exact bits that were wrong but I believe it is fixed in the current libraries.

---

<div class="post-metadata">

**Author:** ![wtf](https://avatars.discourse-cdn.com/v4/letter/w/958977/32.png) [@wtf](https://forums.digi.com/u/wtf)\
**Post date:** [June 11, 2007, 8:44pm UTC](https://forums.digi.com/t/rcm4000-sample-program-problem/9219/4 "2007-06-11T20:44:14Z")

</div>

This is listed in the 10.07 fixes…

- Defect #81685 fixed. On the RCM 40xx series, brdInit() no  
longer sets PE6 as an output. This was sometimes causing  
Ethernet to stop functioning.

---

<div class="post-metadata">

**Author:** ![zuhow](https://avatars.discourse-cdn.com/v4/letter/z/a88e4f/32.png) [@zuhow](https://forums.digi.com/u/zuhow)\
**Post date:** [June 16, 2007, 2:17pm UTC](https://forums.digi.com/t/rcm4000-sample-program-problem/9219/5 "2007-06-16T14:17:41Z")

</div>

That was it. I was using DC 10.05, the upgrade fixed it.

Thanks

---

<div class="post-metadata">

**Author:** ![rwcherry](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rwcherry](https://forums.digi.com/u/rwcherry)\
**Post date:** [August 16, 2007, 5:53pm UTC](https://forums.digi.com/t/rcm4000-sample-program-problem/9219/6 "2007-08-16T17:53:01Z")

</div>

I apparently have the same problem wit the RCM3700 and DC9.52.

Seems like the web (http) part works for a while then hangs. After hang, I can still ping. When it hangs, it never makes it to the http\_handler.

Another question: Where is the brdinit() that is used by the RCM3700 located?

HELP!!! Does Rabbit Support ever read this forum or am I’m going to be forced to fill in the web form???

_ **UPDATE** _ My ‘hang’ seems to be related to the environment. I have the RCM3700 behind a router/firewall as a virtual server with the redirection set up to be the external public IP & Port. Then testing with a system also behind the firewall and it locks up occasionally. When it does hang I am still able to use the private IP so it seems to confuse the router or address translation.
