Sink0
Full Member level 6
- Joined
- Nov 25, 2009
- Messages
- 390
- Helped
- 37
- Reputation
- 74
- Reaction score
- 30
- Trophy points
- 1,308
- Location
- Sao Paulo, Brazil
- Activity points
- 4,186
Hi, i need to implement a system that will save some log information on a USB flash. I will be using a LPC1758 with the USB port acting as a HOST only. Looking at the user manual, at the example schematic there is a LM3526-L that is basically a switch with overcurrent protection. As i am not going to connect my system to anything else than a pendrive, should i use the switch? If not, is there any schematic example? if yes, why?
Second, i am using Code Sourcery compiler. Is there any USB Host stack that i can use on a GCC compiler? How about a pendrive interface with FAT example?
Third question, i think the answer is no. Is there any way to update the LPC firmware using a pendrive. I belive that would be possible if i could manage to create a bootloader that can act as USB Host, but that is probably going to consume a LOT of flash. Any way, is that possible.
Finally, i am used to make my projects with microcontrollers acting as a USB device, and all USB projects i use a ESD protection IC on the USB Line. Can i use the same IC with the LPC acting as a Host?
Thank you!
Second, i am using Code Sourcery compiler. Is there any USB Host stack that i can use on a GCC compiler? How about a pendrive interface with FAT example?
Third question, i think the answer is no. Is there any way to update the LPC firmware using a pendrive. I belive that would be possible if i could manage to create a bootloader that can act as USB Host, but that is probably going to consume a LOT of flash. Any way, is that possible.
Finally, i am used to make my projects with microcontrollers acting as a USB device, and all USB projects i use a ESD protection IC on the USB Line. Can i use the same IC with the LPC acting as a Host?
Thank you!