|
![]() MCU User Forum
![]() USB-MSD-firmware interfacing
|
| next newest topic | next oldest topic |
| Author | Topic: USB-MSD-firmware interfacing |
|
Shyam New Member |
Hi, I am developing a C8051f340 based system which will act as a data logger in normal working mode and when connected with the PC via USB, it will act as a USB-MSD device. I have used the code given in USB-MSD-reference design, in my code. The system works well. In working mode it stores some sensor data in a notepad file in a SD card, when connecting with the PC via USB cable we can get the notepad file to the PC. Now I have to integrate a RF unit with the system. The code I developed for the RF section works well seperately. But when I integrate all the codes, I found the RF section does not wrok. Then later I found that one of the 'USB_MSD_SD card' initialising function 'Sect_Init()' causes the problem. If I comment this function call the RF section works. But USB-MSD function will not work obviously.
thanks [This message has been edited by Shyam (edited July 31, 2010).] [This message has been edited by Shyam (edited July 31, 2010).] IP: Logged |
|
Shyam New Member |
Hi all, I desperately need some suggestion for my above said problem. If anyone of need any clarifications to understand my problem please let me know. If anyone of you give me a small clue it will be very helpful. thanks IP: Logged |
|
Tsuneo Member |
> I found that one of the 'USB_MSD_SD card' initialising function 'Sect_Init()' causes the problem...(The 'Sect_init()' will intrun calls the function 'MMC_FLASH_Init()'). > I am using PORT2 and Port3.3 for RF section interfacing. F34x_MSD_MMC.c (in AN282SW.zip) touches to Port2 everywhere. MMC_FLASH_Init(), too.
Tsuneo [This message has been edited by Tsuneo (edited July 31, 2010).] IP: Logged |
|
Shyam New Member |
Hi Tsuneo, I noticed your reply lately. Thank you. Shyam. IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?