Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

AVR (mega64) and mmc interface

Status
Not open for further replies.

jakky

Newbie level 4
Joined
Jan 31, 2006
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,344
atmega mmc

I have the mega64 and mmc so i need to interface those can any one send me the c source code and the circuit at
Thank you for help.

jakky_thai(at)hotmail.com,jakky_thai(at)yahoo.com
 

jakky

Newbie level 4
Joined
Jan 31, 2006
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,344
avr mmc

Thanks Rafael.

I gof an idea about the site that u post. but i'm use the maga64 , do u have example?

Thanks
 

jakky

Newbie level 4
Joined
Jan 31, 2006
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,344
avr mmc interface

Thanks Artem
I will try that u post and the result i will be post after i tried.
 

blueled

Newbie level 2
Joined
Feb 4, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
mmc + avr

Ulrich Radig source is just readonly fromm mmc/sd as far as I know.

What compiler are you using ?
 

artem

Advanced Member level 4
Joined
May 22, 2003
Messages
1,350
Helped
126
Reputation
252
Reaction score
32
Trophy points
1,328
Location
Turkey
Activity points
13,450
sd avr

blueled said:
Ulrich Radig source is just readonly fromm mmc/sd as far as I know.

What compiler are you using ?

speaking frankly , i did not reused this code, but suppose that it works .

Having look to mmc.h and mmc.c i noticed following functions already implemented in this projects :
(https://www.ulrichradig.de/site/atmel/avr_mmcsd/zip/SourceCode2_5.zip)

inline U08 mmc_read_byte(void);
inline void mmc_write_byte(U08);
extern void mmc_read_block(U08 *,U08 *,U16);
extern U08 mmc_init(void);
extern U08 mmc_read_sector (U32,U08 *);
extern U08 mmc_write_sector (U32,U08 *);
extern U08 mmc_write_command (U08 *);
extern U08 mmc_read_csd (U08 *);
extern U08 mmc_read_cid (U08 *);
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top