I'm using the RCm4300 and i have a problem that when i download the code to the
module then i connect the Ethernet cable to the module, the module isn't able to
detect that the cable is plugged, i have to turn off the power then ON to detect
the problem.
by the way, i found a problem in the fat library with the ucos,which is
the _fat_automount function is calling fat_UnmountDevice inline 3437 but it
should call _fat_UnmountDevice.
when calling fat_automount under the ucos, it should pend on a semaphore and if
it got it, the FAT API _fat_automount will be started the problem that the
_fat_automount is calling fat_UnmountDevice which is pending also on the
semaphore so will timeout and break the code.
i hope it help
for more info, this problem appears random not all the time
--- In rabbit-semi@yahoogroups.com, "mfawzy79" <mf.firmdesign@...> wrote:
>
> Hi,
>
> I'm using the RCm4300 and i have a problem that when i download the code to
the module then i connect the Ethernet cable to the module, the module isn't
able to detect that the cable is plugged, i have to turn off the power then ON
to detect the Ethernet Cable.
>
> by the way, i found a problem in the fat library with the ucos,which is
> the _fat_automount function is calling fat_UnmountDevice inline 3437 but it
should call _fat_UnmountDevice.
>
> when calling fat_automount under the ucos, it should pend on a semaphore and
if it got it, the FAT API _fat_automount will be started the problem that the
_fat_automount is calling fat_UnmountDevice which is pending also on the
semaphore so will timeout and break the code.
> i hope it help
>
>
> Best Regards
> MFawzy
>
I'm using the RCm4300 and i have a problem that when i download the code to the module then i connect the Ethernet cable to the module, the module isn't able to detect that the cable is plugged, i have to turn off the power then ON to detect the problem.
Try Dynamic C 10.54. They fixed a bug with the ASIX driver (RCM4200, RCM4300) that affected some network setups (I saw it with a 10Base-T hub).
- Defect 30186 fixed. Boards equipped with ASIX Ethernet now
reliably recover link after a cable unplug, replug sequence.
actually, I'm already using DC 10.54 and i'm still having the problem
Best Regards
MFawzy
--- In rabbit-semi@yahoogroups.com, Tom Collins <tom@...> wrote:
>
> On Jul 1, 2009, at 10:49 PM, mfawzy79 wrote:
> > I'm using the RCm4300 and i have a problem that when i download the
> > code to the module then i connect the Ethernet cable to the module,
> > the module isn't able to detect that the cable is plugged, i have
> > to turn off the power then ON to detect the problem.
>
> Try Dynamic C 10.54. They fixed a bug with the ASIX driver (RCM4200,
> RCM4300) that affected some network setups (I saw it with a 10Base-T
> hub).
>
> - Defect 30186 fixed. Boards equipped with ASIX Ethernet now
> reliably recover link after a cable unplug, replug sequence.
>
> -Tom
>
mfawzy79 wrote:
> actually, I'm already using DC 10.54 and i'm still having the problem
>
>
There is a bug in the ASIX chip that will cause it to not negotiate
correctly with some hubs/switches. The fix was to use a very long reset
to the chip, something like 3 seconds. It would work on a power-up but
not on later resets.
The bug was fixed in the Softools port of the stack. AFAIK, ZW never
implemented the fix. I also notice on the newer modules the no longer
feed a pin to the ASIX chip to use as a reset. So, your only option may
be to get a different hub/switch.
--
------------------------------------------
| Scott G. Henion| shenion@... |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
mfawzy79 wrote:
> actually, I'm already using DC 10.54 and i'm still having the problem
>
>
There is a bug in the ASIX chip that will cause it to not negotiate
correctly with some hubs/switches. The fix was to use a very long reset
to the chip, something like 3 seconds. It would work on a power-up but
not on later resets.
The bug was fixed in the Softools port of the stack. AFAIK, ZW never
implemented the fix. I also notice on the newer modules the no longer
feed a pin to the ASIX chip to use as a reset. So, your only option may
be to get a different hub/switch.
--
------------------------------------------
| Scott G. Henion| shenion@... |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
mfawzy79 wrote:
> actually, I'm already using DC 10.54 and i'm still having the problem
>
>
There is a bug in the ASIX chip that will cause it to not negotiate
correctly with some hubs/switches. The fix was to use a very long reset
to the chip, something like 3 seconds. It would work on a power-up but
not on later resets.
The bug was fixed in the Softools port of the stack. AFAIK, ZW never
implemented the fix. I also notice on the newer modules the no longer
feed a pin to the ASIX chip to use as a reset. So, your only option may
be to get a different hub/switch.
--
------------------------------------------
| Scott G. Henion| shenion@... |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
I’ve succeeded at interfacing to my 2-line LCD display from my
RCM4400W module, but I wish I could put all the LCD code into a separate file
and #include it. I know Rabbit’s C compiler doesn’t support #include, but is
there no way to achieve something similar? “#use” doesn’t quite do what I want –
it only seems to know how to point into Rabbit’s own libraries. I want a
library of my own.
I’ve
succeeded at interfacing to my 2-line LCD display from my
RCM4400W module, but I wish I could put all the LCD code into a
separate file
and #include it. I know Rabbit’s C compiler doesn’t support #include,
but is
there no way to achieve something similar? “#use” doesn’t quite do what
I want –
it only seems to know how to point into Rabbit’s own libraries. I want
a
library of my own.
To use lib with #use, you need to add the file to the lib.dir in the DC
install directory.
The DC docs describe how to generate libraries.
-- ------------------------------------------
| Scott G. Henion| shenion@... |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
today's fortune Mal: "You backed out of a deal last time, left us hanging..."
Jayne: "...hurt our feelings."
Mal: "You recall why that took place?"
Badger: "Had a problem with your attitude is why. Though you was... what's the word..."
Jayne: "Pretensious?"
Badger: "Exactly! You think you better than other people!"
Mal: "Just the ones I'm better than."
--Episode #4, "Shindig"
Yes I have had this problem with the submit button (and in general my experience with the Rabbit Web is not very positive). This is not a big problem however since we only use it rarely in-house for some testing (i.e. we don't use it in our customer solutions). Hope anyone has some nice pointers on this issue.
THMA
On Thu, Jul 9, 2009 at 1:47 PM, Alexis <alexis@...> wrote:
Hi All
I am having an issue with Rabbit Web.
Sometimes I have to push the submit button more than once.
--- In rabbit-semi@yahoogroups.com, Alexis <alexis@...> wrote:
>
>
> Hi All
>
> I am having an issue with Rabbit Web.
>
> Sometimes I have to push the submit button more than once.
>
> Anyone else out there have any pointers?
>
> A.
>
Seeing as how you submitted this question twice, maybe the problem is in your
web browser and not with Rabbit Web.
--- In rabbit-semi@yahoogroups.com, "ebrains2003" <ebrains2003@...> wrote:
>
> --- In rabbit-semi@yahoogroups.com, Alexis <alexis@> wrote:
> >
> >
> > Hi All
> >
> > I am having an issue with Rabbit Web.
> >
> > Sometimes I have to push the submit button more than once.
> >
> > Anyone else out there have any pointers?
> >
> > A.
> >
>
> Seeing as how you submitted this question twice, maybe the problem is in your
web browser and not with Rabbit Web.
>
Nevermind...it only looked like you submitted it twice as viewed in my RSS feed
(the second post was evidently a quote on another answer).
Where do I get the definition / structure for
tcp_listen(&commsSock,80,0,0,NULL,0);
I looked in TCP.LIB and tried to use that structure but I get an error
message:
I do already have
tcp_reserveport(80);
I get the following error messages when I add tcp_listen
line 577 : ERROR HUMIDITYPPP.C : Expecting function or variable name.
line 577 : WARNING HUMIDITYPPP.C : Wrong type for parameter 1.
line 577 : ERROR HUMIDITYPPP.C : Invalid expression - need lvalue.
regards
A.
Kenny Millar wrote:
>
>
> You will already have done something like this...
> tcp_reserveport(PORT);
> tcp_listen(&commsSock,PORT,0,0,NULL,0);
>
> So now you must periodically call
> tcp_tick(&commsSock);
>
> And then when:
> sock_established(&commsSock) == true
> you know your client has connected.
>
> You know the client has disconnected when:
> tcp_tick(&commsSock)==0
>
> Hope this helps.
> Kenny.
>
> -----Original Message-----
> From: rabbit-semi@yahoogroups.com
> <mailto:rabbit-semi%40yahoogroups.com>
> [mailto:rabbit-semi@yahoogroups.com
> <mailto:rabbit-semi%40yahoogroups.com>] On
> Behalf Of Alexis
> Sent: 13 July 2009 11:43
> To: rabbit-semi@yahoogroups.com <mailto:rabbit-semi%40yahoogroups.com>
> Subject: [rabbit-semi] Ethernet connection
>
> How does one tell when a client has connected to the Ethernet or PPP
> port of the Rabbit?
>
> Regards
>
> A.
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
Suppose one wanted to transfer a binary file from a PC to the
filesystem on the flash of an RCM4400W. I would have thought the Rabbit File
Utility would do that, but it seems geared to downloading .bin files only
(which I presume are the executables that the Rabbit processor uses.)
RFU does have a window in which you can specify all sorts of
interesting things like “8 bit cold loader”, “serial pilot
BIOS” and others, but none of them seem like random files like the kind I
want to download.
Suppose
one wanted to transfer a binary file from a PC to the
filesystem on the flash of an RCM4400W. I would have thought the Rabbit
File
Utility would do that, but it seems geared to downloading .bin files
only
(which I presume are the executables that the Rabbit processor uses.)
RFU
does have a window in which you can specify all sorts of
interesting things like “8 bit cold loader”, “serial pilot
BIOS” and others, but none of them seem like random files like the kind
I
want to download.
Anyone
know how to do this? Thanks…-BobC
You can add FTP support to your code. you will have to write code to
store the file.
I normally define my own protocol and write a PC app and code on the
rabbit to handle the transfer.
-- ------------------------------------------
| Scott G. Henion| shenion@... |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
today's fortune Meekness is uncommon patience in planning a worthwhile revenge.
You can “#use” your own library file but you have to include the
path in the rabbit library directory file, normally located:
C:\DCRABBIT_10.54\LIB.DIR
Just open with a text editor and add the path of your library.
Ari
From: rabbit-semi@yahoogroups.com
[mailto:rabbit-semi@yahoogroups.com] On Behalf Of Bob Colwell Sent: Thursday, 9 July 2009 10:13 AM To: rabbit-semi@yahoogroups.com Subject: RE: [rabbit-semi] RCM4xxx way to do equiv of #include?
I’ve succeeded at interfacing to my
2-line LCD display from my RCM4400W module, but I wish I could put all the LCD
code into a separate file and #include it. I know Rabbit’s C compiler doesn’t
support #include, but is there no way to achieve something similar? “#use”
doesn’t quite do what I want – it only seems to know how to point into Rabbit’s
own libraries. I want a library of my own.
> I've succeeded at interfacing to my 2-line LCD display from my RCM4400W
> module, but I wish I could put all the LCD code into a separate file and
> #include it. I know Rabbit's C compiler doesn't support #include, but is
> there no way to achieve something similar? "#use" doesn't quite do what I
> want - it only seems to know how to point into Rabbit's own libraries. I
> want a library of my own.
>
>
>
You can use "#use" with your own libraries; but, you need to add your
libraries to the lib.dir text file.
Note: The lid.dir is read when DC program starts so you must exit and
restart the DC IDE for changes to lib.dir to take effect.