>On Apr 24, 4:36 am, "budflora" <budfl...@gmail.com> wrote: >> Dear all, >> I am studying mmc spec these days. And i'm trying to design a mmcdevice>> controller, and want to integrate with a nand flash controller whichhas>> been finished. of course, a processor is needed. i am wonderingcommand>> decoding and response handling and the implementation of MMC spec isall>> implemented just by hardware or processor will share part of job.which>> solution is better? I hope friends here can help me, thanks! > >Without knowing anything about this NAND FLASH controller you have, it >is impossible to answer your question. > >A MMC card is typically a NAND-FLASH with a SPI interface; a search >for NAND FLASH SPI would undoubtedly be helpful. > >Google; it's not just for mail anymore! > >G. >Thank you for your advice. The nand flash controller i have is software-mode, and we have already finished the driver for it. I want to implement 4-bit or 8-bit MMC bus mode instead of SPI mode. The thing i want to make clear is that whether I should decode the MMC command by hardware or by firmware. Which kind is better, I prefer firmware. Can anybody give me more oppinion? Thanks so much!
Re: about mmc device controller
Started by ●April 24, 2008
Reply by ●April 25, 20082008-04-25
On Apr 24, 6:12 pm, "budflora" <budfl...@gmail.com> wrote:> >On Apr 24, 4:36 am, "budflora" <budfl...@gmail.com> wrote: > >> Dear all, > >> I am studying mmc spec these days. And i'm trying to design a mmc > device > >> controller, and want to integrate with a nand flash controller which > has > >> been finished. of course, a processor is needed. i am wondering > command > >> decoding and response handling and the implementation of MMC spec is > all > >> implemented just by hardware or processor will share part of job. > which > >> solution is better? I hope friends here can help me, thanks! > > >Without knowing anything about this NAND FLASH controller you have, it > >is impossible to answer your question. > > >A MMC card is typically a NAND-FLASH with a SPI interface; a search > >for NAND FLASH SPI would undoubtedly be helpful. > > >Google; it's not just for mail anymore! > > >G. > > Thank you for your advice. > > The nand flash controller i have is software-mode, and we have already > finished the driver for it. I want to implement 4-bit or 8-bit MMC bus mode > instead of SPI mode. The thing i want to make clear is that whether I > should decode the MMC command by hardware or by firmware. Which kind is > better, I prefer firmware. Can anybody give me more oppinion? Thanks so > much!You are still not providing enough information for someone else to guess at an answer. But you seem to have already decided which is better for you. Best of luck, G.
Reply by ●April 30, 20082008-04-30
On 25 Apr., 20:53, ghel...@lycos.com wrote:> On Apr 24, 6:12 pm, "budflora" <budfl...@gmail.com> wrote: > > > > > >On Apr 24, 4:36 am, "budflora" <budfl...@gmail.com> wrote: > > >> Dear all, > > >> I am studying mmc spec these days. And i'm trying to design a mmc > > device > > >> controller, and want to integrate with a nand flash controller which > > has > > >> been finished. of course, a processor is needed. i am wondering > > command > > >> decoding and response handling and the implementation of MMC spec is > > all > > >> implemented just by hardware or processor will share part of job. > > which > > >> solution is better? I hope friends here can help me, thanks! > > > >Without knowing anything about this NAND FLASH controller you have, it > > >is impossible to answer your question. > > > >A MMC card is typically a NAND-FLASH with a SPI interface; a search > > >for NAND FLASH SPI would undoubtedly be helpful. > > > >Google; it's not just for mail anymore! > > > >G. > > > Thank you for your advice. > > > The nand flash controller i have is software-mode, and we have already > > finished the driver for it. I want to implement 4-bit or 8-bit MMC bus mode > > instead of SPI mode. The thing i want to make clear is that whether I > > should decode the MMC command by hardware or by firmware. Which kind is > > better, I prefer firmware. Can anybody give me more oppinion? Thanks so > > much! > > You are still not providing enough information for someone else to > guess at an answer. > > But you seem to have already decided which is better for you. > > Best of luck, > G.he is. answer is quite simple, there is no reasonable device(MCU) that would do mmc 4 bit slave by software at maximum mmc clk speeds. so an FPGA and hard IP is needed between the mmc bus and the flash controller Antti
Reply by ●May 5, 20082008-05-05
>On 25 Apr., 20:53, ghel...@lycos.com wrote: >> On Apr 24, 6:12 pm, "budflora" <budfl...@gmail.com> wrote: >> >> >> >> > >On Apr 24, 4:36 am, "budflora" <budfl...@gmail.com> wrote: >> > >> Dear all, >> > >> I am studying mmc spec these days. And i'm trying to design ammc>> > device >> > >> controller, and want to integrate with a nand flash controllerwhich>> > has >> > >> been finished. of course, a processor is needed. i am wondering >> > command >> > >> decoding and response handling and the implementation of MMC specis>> > all >> > >> implemented just by hardware or processor will share part of job. >> > which >> > >> solution is better? I hope friends here can help me, thanks! >> >> > >Without knowing anything about this NAND FLASH controller you have,it>> > >is impossible to answer your question. >> >> > >A MMC card is typically a NAND-FLASH with a SPI interface; a search >> > >for NAND FLASH SPI would undoubtedly be helpful. >> >> > >Google; it's not just for mail anymore! >> >> > >G. >> >> > Thank you for your advice. >> >> > The nand flash controller i have is software-mode, and we havealready>> > finished the driver for it. I want to implement 4-bit or 8-bit MMCbus mode>> > instead of SPI mode. The thing i want to make clear is that whetherI>> > should decode the MMC command by hardware or by firmware. Which kindis>> > better, I prefer firmware. Can anybody give me more oppinion? Thanksso>> > much! >> >> You are still not providing enough information for someone else to >> guess at an answer. >> >> But you seem to have already decided which is better for you. >> >> Best of luck, >> G. > >he is. > >answer is quite simple, there is no reasonable device(MCU) that would >do mmc 4 bit slave by software at maximum mmc clk speeds. >so an FPGA and hard IP is needed between the mmc bus and the flash >controller > >Antti > > > >Thank you so much.