Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | SF1000+FAT+4400Board gives timed out message

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

SF1000+FAT+4400Board gives timed out message - nsboparai11 - Aug 28 18:38:53 2008

Hi,

I am been trying to use a sf1000 card on the rabbit 4400 board. I have
defined the correct ports, and my card works fine if I read and write
to and from it page by page.

However, my goal is to run the FAT file system on this card, and I
have defined the appropriate macros for it. However, whenever I try to
compile to flash a program that uses any FAT functionality, right
after it is done loading to flash, i get a pop up window with the
error message:

ERROR:
"While debugging, timed out while waiting for response from the device."

Thus main() does not even execute if I compile a program that includes
any FAT related functions.

CAN SOMEONE TELL ME WHAT CAN BE POSSIBLE WRONG?

THANKS,
Boparai
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: SF1000+FAT+4400Board gives timed out message - Scott Henion - Aug 29 0:46:11 2008

nsboparai11 wrote:
> Hi,
>
> I am been trying to use a sf1000 card on the rabbit 4400 board. I have
> defined the correct ports, and my card works fine if I read and write
> to and from it page by page.
>
> However, my goal is to run the FAT file system on this card, and I
> have defined the appropriate macros for it. However, whenever I try to
> compile to flash a program that uses any FAT functionality, right
> after it is done loading to flash, i get a pop up window with the
> error message:
>
> ERROR:
> "While debugging, timed out while waiting for response from the device."
>
> Thus main() does not even execute if I compile a program that includes
> any FAT related functions.
>
> CAN SOMEONE TELL ME WHAT CAN BE POSSIBLE WRONG?
>
Most likely you did not define the FAT buffers in the bios.

--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
Rabbit libs: http://www.shdesigns.org/rabbit/
today's fortune
TAPPING? You POLITICIANS! Don't you realize that the END of the "Wash
Cycle" is a TREASURED MOMENT for most people?!
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: SF1000+FAT+4400Board gives timed out message - nsboparai11 - Aug 29 10:03:21 2008

Hi Scott,

Thank you for responding. I am not familiar with fat buffers, and I am
kind of new to this stuff. What are fat buffers? How do I define them?
Why does that cause the problem I described?

Thanks,
Boparai
--- In r...@yahoogroups.com, Scott Henion wrote:
>
> nsboparai11 wrote:
> > Hi,
> >
> > I am been trying to use a sf1000 card on the rabbit 4400 board. I have
> > defined the correct ports, and my card works fine if I read and write
> > to and from it page by page.
> >
> > However, my goal is to run the FAT file system on this card, and I
> > have defined the appropriate macros for it. However, whenever I try to
> > compile to flash a program that uses any FAT functionality, right
> > after it is done loading to flash, i get a pop up window with the
> > error message:
> >
> > ERROR:
> > "While debugging, timed out while waiting for response from the
device."
> >
> > Thus main() does not even execute if I compile a program that includes
> > any FAT related functions.
> >
> > CAN SOMEONE TELL ME WHAT CAN BE POSSIBLE WRONG?
> >
> Most likely you did not define the FAT buffers in the bios.
>
> --
> ------------------------------------------
> | Scott G. Henion| shenion@... |
> | Consultant | Stone Mountain, GA |
> | SHDesigns http://www.shdesigns.org |
> ------------------------------------------
> Rabbit libs: http://www.shdesigns.org/rabbit/
> today's fortune
> TAPPING? You POLITICIANS! Don't you realize that the END of the "Wash
> Cycle" is a TREASURED MOMENT for most people?!
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: SF1000+FAT+4400Board gives timed out message - Scott Henion - Aug 29 10:15:13 2008

nsboparai11 wrote:
> Hi Scott,
>
> Thank you for responding. I am not familiar with fat buffers, and I am
> kind of new to this stuff. What are fat buffers? How do I define them?
> Why does that cause the problem I described?
>
> Thanks,
> Boparai
>
>
>
They are defined in the bios, I don't remember the setting but the
comments describe them. Used to be in rabbitbios.c before 9.4x, now not
sure where they are.

The FAT lib like most DC libs will crash if buffers are not allocated.
--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------
Rabbit libs: http://www.shdesigns.org/rabbit/
today's fortune
Oh, I don't blame Congress. If I had $600 billion at my disposal, I'd
be irresponsible, too.
-- Lichty & Wagner
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: SF1000+FAT+4400Board gives timed out message - nsboparai11 - Aug 30 12:57:20 2008

Hi Scott,

First of all I would like to thank you for your help. I was able to
find a library called "fatconfig.lib" in which I uncommented a macro
which allowed me to define max number of buffers from 0 to 8. It said
I have to define in multiples of 8, so I don't know if 8 is enough.
But, after I did that the "timed out" message went away, and my
program now executes main.

However, now my program gets stuck in the function fat_automount(). I
have tried fat_automount with default and other flags. With default
flag, the function never returns. My card is hooked up to the 4400
board properly and I can read and write to it page by page.

What can possible be wrong now? Could it be that I did not define the
buffers correctly, or could it be something else?

Any hints, tips, or help would be much appreciated, as I very much
desperately need it.

Thanks,
boparai

--- In r...@yahoogroups.com, Scott Henion wrote:
>
> nsboparai11 wrote:
> > Hi Scott,
> >
> > Thank you for responding. I am not familiar with fat buffers, and I am
> > kind of new to this stuff. What are fat buffers? How do I define them?
> > Why does that cause the problem I described?
> >
> > Thanks,
> > Boparai
> >
> >
> >
> They are defined in the bios, I don't remember the setting but the
> comments describe them. Used to be in rabbitbios.c before 9.4x, now not
> sure where they are.
>
> The FAT lib like most DC libs will crash if buffers are not allocated.
> --
> ------------------------------------------
> | Scott G. Henion| shenion@... |
> | Consultant | Stone Mountain, GA |
> | SHDesigns http://www.shdesigns.org |
> ------------------------------------------
> Rabbit libs: http://www.shdesigns.org/rabbit/
> today's fortune
> Oh, I don't blame Congress. If I had $600 billion at my disposal, I'd
> be irresponsible, too.
> -- Lichty & Wagner
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )