Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Rabbit-Semi | SD Card on RCM5600W

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.

SD Card on RCM5600W - Taj Morton - Jul 21 17:13:39 2009

Hello,
I'm attempting to interface a microSD card to a RCM5600W (Rabbit 5000
core). I tried the example in Appendix B of the FAT library docs
(http://www.rabbit.com/documentation/docs/modules/FileSystem/ModFAT41.ht\
m), however when I compile and run it, I get the error "While Debugging:
Timeout while waiting for response from target."

I've put a breakpoint at the top of my main() function, and in the
sd_custom_init() function, but neither ever get hit. I get the compile
error:
line 121 : WARNING FATWTC.LIB : Invalid redefinition of macro
'FAT_TOTAL'.

while compiling.

Any ideas?
Thanks!
- Taj

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



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


Re: SD Card on RCM5600W - Scott Henion - Jul 21 17:34:46 2009

Taj Morton wrote:
> Hello,
> I'm attempting to interface a microSD card to a RCM5600W (Rabbit 5000
> core). I tried the example in Appendix B of the FAT library docs
> (http://www.rabbit.com/documentation/docs/modules/FileSystem/ModFAT41.ht\
> m), however when I compile and run it, I get the error "While Debugging:
> Timeout while waiting for response from target."
>
> I've put a breakpoint at the top of my main() function, and in the
> sd_custom_init() function, but neither ever get hit. I get the compile
> error:
> line 121 : WARNING FATWTC.LIB : Invalid redefinition of macro
> 'FAT_TOTAL'.
>
> while compiling.
>
> Any ideas?
>

Check the bios files. I have seen that warning, usually the bios does
not have the proper buffers defined for the FAT lib.

There is also a define:

#define FATWTC_DEBUG_INIT

add that to the top of your program and in main() add:
#ifdef FATWTC_DEBUG_INIT
_fatwtc_init();
#endif

Then you can debug the FAT init code.

--
------------------------------------------
| Scott G. Henion| s...@shdesigns.org |
| Consultant | Stone Mountain, GA |
| SHDesigns http://www.shdesigns.org |
------------------------------------------

today's fortune
Your business will go through a period of considerable expansion.

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

______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



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