Hi navid ansari,
1.if I connect an usb female connector to pin DP and DM and ID and VBUS, will I be able to read and write into flash memory(usb mass storage drive)?
From the user manual of LPC1768, you can find this chip ISP don't have USB function, so you can't use the USB to read and write the flash memory directly.
You need to write the USB MSD code to realize the flash read and write function.
About the code, you can refer to the LPC1768 official code.
2.this below circuit will work alone to read and write to usb flash storage drive?
This is just the USB hardware interface, the MSD function you need to download the code to the chip.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------