<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
</head>
<body>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
I Forwarded my responses to the list, but I'll summarize what's going on....</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
I can compile/upload/execute all(I believe) of the samples from the testsuites.</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
when I try to initialize the network using a non-loopback interface, the execution </span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
dips into some black hole where I can't trace it. I have been able to trace the code into </span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
<br />
</span>
</font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
http.c::init()</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
  |--rtems_glue.c::rtems_bsdnet_initialize_network()</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |--rtems_glue.c::rtems_bsdnet_initialize()</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |    |--rtems_glue.c::bsd_init()</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |        |--</span></font>
<font face="Arial" color="#7f7f7f" size="2">
<span style=" font-size:10pt">
blah blah blah <makes it past all of this></span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |--rtems_glue.c::rtems_bsdnet_attach(ifp)     </span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |    |-- </span></font>
<font face="Arial" color="#7f7f7f" size="2">
<span style=" font-size:10pt">
blah blah blah <makes it past all of this></span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |        |--rtems_glue.c::rtems_bsdnet_setup()</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
   </span></font>
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
  |</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
     |--rtems_glue.c::rtems_bsdnet_ifconfig()</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
          |---rtems_glue.c::rtems_bsdnet_semaphore_obtain()</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
          |--</span></font>
<font face="Arial" color="#7f7f7f" size="2">
<span style=" font-size:10pt">
blah blah blah <makes it past call to ioctl which I </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f7f7f" size="2">
<span style=" font-size:10pt">
                                       believe "UP"s the interface...???></span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
          |---rtems_glue.c::rtems_bsdnet_semaphore_release() </span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
                          </span></font>
<font face="Arial" color="#ff0000" size="2">
<span style=" font-size:10pt">
 <======here it dies, on/while returning from semaphore_release()></span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
<br />
</span>
</font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
but i can't trace any further into it. At Joel's Suggestion, I added some LEDs to the board to 
use in trouble shooting, but as of right now, I don't know where in the code to look/place 
debugging code...</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
<br />
</span>
</font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
Thank you for your time.</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
Christopher Wolfe</span></font>
</div>
<div align="left">
<font face="Arial" color="#0000ff" size="2">
<span style=" font-size:10pt">
Motion Control Systems, Inc. </span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
<br />
</span>
</font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
On 21 Jun 2007 at 17:17, Chris Johns wrote:</span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
<br />
</span>
</font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> Hi Chris,</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> Please cc me with responses. I know the Coldfire and the driver well enough to </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> aid you in getting the web server to work.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> Regards</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> Chris</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> Joel Sherrill wrote:</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > CWolfe@motioncontrol.org wrote:</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> On 20 Jun 2007 at 9:36, Joel Sherrill wrote:</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>  </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> I actually don't have a 5235 so I have cc'ed Chris Johns since</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> I think he is way more familiar with the Coldfire BSPs.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> This type of question is usually best asked on the list.  There</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> are many people out there who and more eyes is good.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>     </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> what is the address to send to?</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>   </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > You have to be subscribed... see</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > http://www.rtems.org/wiki/index.php/RTEMSMailingLists</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > for instructions.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > If you spot something wrong in the Wiki, feel free</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > to create an account and fix it.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> My usual first questions are:</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> + Can you run ticker?</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>     </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> haven't tried yet, will do so now.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>   </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > If the clock tick interrupt isn't working, then</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > things aren't in good shape.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>  </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> + Can you run netdemo?</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>     </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> no, same issue with crashing on driver init (after releasing semaphore)</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>   </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > Maybe you are dying in the interrupt handler. Do you have some type of </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > exception handler of debugger</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > that can point you to an address.  If not, do you have</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > an LED you could blink or some other bread crumb</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > you could post to note you entered the ISR.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>  </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> + Are you using RPMs or your own tool builds.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>     </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> using cygwin so....</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> own build tools. versions and patches are as follows <excerpted from </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> our in-house toolchain build script>......</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     GCC=gcc-4.1.1</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     BINUTILS=binutils-2.17</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     NEWLIB=newlib-1.14.0</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     BDM=m68k-bdm-1.3.0</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     GDB=gdb-6.0</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     INSIGHT=insight-6.0</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     AUTOCONF=autoconf-2.61</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>     AUTOMAKE=automake-1.10</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> i'm actually not sure which patches have been appplied as the script </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> automatically applies them. if necessary, i can dig into them and </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> figure out which ones are actually applied, but i assume they are the </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >> most recent...</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>   </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > Are you sure about newlib 1.14?  The 4.7 branch</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > should be built against 1.15.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > This isn't likely to be your problem but normally</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > RTEMS versions are carefully matched against</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> > a specific newlib version and patch.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>  </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>> CWolfe@motioncontrol.org wrote:</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>    </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> Dear Joel,     My name is Christopher Wolfe, and I am an Intern </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> working for Motion Control Systems. Currently, I am working on an </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> embedded management project with the coldfire 5235BCC eval board. I </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> am having trouble with getting the webserver up and running, and I </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> was wondering if you might know what I could do next to find the </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> problem. I have based my code off of the http example, but I have </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> had to make a few minor modifications to allow it to compile, as </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> directories and whatnot are moved, etc. Anyway, when I upload the </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> code and run it, it crashes in the network driver initialization. I </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> have traced the execution as far into the code as I am able, but I </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> lose track at specific point.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> execution makes it thru:</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> http.c::init()</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>  |--rtems_glue.c::rtems_bsdnet_initialize_network()</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     |--rtems_glue.c::rtems_bsdnet_initialize()</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     |    |--rtems_glue.c::bsd_init()</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     |        |--blah blah blah <makes it past all of this></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     |</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     |--rtems_glue.c::rtems_bsdnet_attach(ifp)     |    |-- blah blah </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> blah <makes it past all of this></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     |        |--rtems_glue.c::rtems_bsdnet_setup()</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>         |--rtems_bsdnet_ifconfig()</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>             |---rtems_glue.c::rtems_bsdnet_semaphore_obtain()</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>             |--blah blah blah <makes it past call to ioctl which I </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> believe "UP"s the interface...???></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>             |---rtems_glue.c::rtems_bsdnet_semaphore_release() <here </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> it dies></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> as soon as the semaphore is released, i lose track of the execution </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> of the code. where it should return to rtems_bsdnet_ifconfig(), it </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> is not. debugging printf statements were placed as the very last </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> statement inside the semaphore release code, and the first statement </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> in rtems_bsdnet_ifconfig() after the call to release the semaphore.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> of the the two statements which should be executed, only the first </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> is executed. afterwards, execution progresses into the </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> rtems_bsdnet_semaphore_release's exit code.... never to return to </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> the calling function .... and hence it is lost and i can't trace </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> it   with the tools i have.....</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> At this point in the initialization, what is going on? Are there </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> other rtems processes which are taking control? where does the </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> execution go after releasing that semaphore? what configuration </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> issues could cause this symptom set?<<<i assume this to be the </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> problem, but i just don't know enough about rtems yet>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> I include the configuration options/code i am using below.....</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> <<changes to makefile>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     LDFLAGS += -qnolinkcmds -T linkcmdsflash</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     LD_LIBS   += -lhttpd -lftpd</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> <<changes to init.c>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     #include <rtems/confdefs.h>   </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     #include <rtems/ftpd.h></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>             << some printf()'s for debugging>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> <<changes to system.h>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     #include "tmacros"                               (file was not </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> in include directory, but I copied it from the testsuites build </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> directory)</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> =======================================================================</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> otherwise, everything is the same as the example source. I am using </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> rtems 4.7.1. Thank you for your time, and I would greatly appreciate </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>> any help you could give.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>                     Best Regards,</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>                     Christopher Wolfe</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>                     Motion Control Systems, Inc.</span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>     </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>>>         </span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >></span></font>
</div>
<div align="left">
<font face="Arial" color="#7f0000" size="2">
<span style=" font-size:10pt">
> >>   </span></font>
</div>
<div align="left">
<font face="Arial" size="2">
<span style=" font-size:10pt">
<br />
</span>
</font>
</div>
<div align="left">
 </div>
</body>
</html>