Recent Posts

Pages: [1] 2 3 ... 10
1
USB / Re: Interfacing NAND Flash to USB Driver
« Last post by Jan Axelson on February 24, 2017, 11:36:38 am »
How to address the NAND Flash is specific to your device architecture.

If you have the device successfully responding to SCSI commands in USB mass-storage requests with other internal memory, I would think that you would just need to translate the addressing from the internal memory to the NAND Flash. This assumes that the NAND Flash has a supported file system.

If that is what you are attempting and it's not working, what is the problem you are seeing?
2
USB / Re: Interfacing NAND Flash to USB Driver
« Last post by Harish on February 24, 2017, 12:09:49 am »
Thanks for the reply Jan,

I am able to develop the basic driver and SCSI commands for internal memory of 64MB.
Now I have to interface NAND Flash to SCSI command for writing and reading.

How to do this is I am not able to understand.
3
USB / Re: Interfacing NAND Flash to USB Driver
« Last post by Jan Axelson on February 23, 2017, 09:09:50 am »
The USB device needs to respond to enumeration requests and events from the host's USB driver and SCSI commands from the host's mass-storage driver.

If you have specific questions about how to accomplish these, feel free to ask.

Mass storage:

http://janaxelson.com/mass_storage.htm

USB:

http://janaxelson.com/usb.htm
4
USB / Interfacing NAND Flash to USB Driver
« Last post by Harish on February 23, 2017, 03:15:53 am »
Hello Everyone,

I am developing a system where NAND flash is connected to Xilinx Zynq controller and this has to be interfaced as a USB mass storage device.
Standard is USB 2.0 system and mass storage device memory is 256MB.

USB driver is in Xilinx Zynq controller which is connected to USB ULPI Transceiver.
https://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf

I am able to develop USB driver for internal memory and also driver to read and write to NAND flash.
But I am not able to connect both memories.  I need suggestions from this forum to finish.

1. How do I link the NAND flash memory to USB driver
Eg: When I connect mass storage device to Laptop I should be able to see the file system and files of NAND flash visible to host.

2. For transfer between host and device, how can I address the memory of NAND flash.

Please help me to debug this issue.

Thank you!!
5
General Discussion / Re: Book "PCIe complete" idea
« Last post by Jan Axelson on February 15, 2017, 10:22:10 am »
Agree!
6
General Discussion / Re: Book "PCIe complete" idea
« Last post by matrixofdynamism on February 15, 2017, 06:29:46 am »
Thanks Jan. As always the difficult part is writing software on the "host" side in this case as well. It is always good to know how the hardware works but the software is the difficulty since electronic engineers or even any typical CS background person may not know how to use the software stacks to communicate using these mechanisms.

Your book does a good job is simplifying USB though, I had a look at the MindShare book on USB earlier too, it sure does a very good job of explaining the hardware side.
7
USB / Re: Error while building Generic Hid
« Last post by Tom Bryant on February 11, 2017, 12:06:33 am »

This  worked great. Thanks



Try this:

open the .csproj file in Notepad or another text editor and delete this information, which relates to the signing certificate:

<PropertyGroup>
<ManifestCertificateThumbprint>xxxxx xxxxxx</ManifestCertificateThumbprint>
<ManifestKeyFile>xxxxxxxx.pfx</ManifestKeyFile>
<GenerateManifests>true</GenerateManifests>
<SignManifests>false</SignManifests>
</PropertyGroup>
8
USB / Re: Error while building Generic Hid
« Last post by Jan Axelson on February 10, 2017, 08:39:43 pm »
Try this:

open the .csproj file in Notepad or another text editor and delete this information, which relates to the signing certificate:

<PropertyGroup>
<ManifestCertificateThumbprint>xxxxx xxxxxx</ManifestCertificateThumbprint>
<ManifestKeyFile>xxxxxxxx.pfx</ManifestKeyFile>
<GenerateManifests>true</GenerateManifests>
<SignManifests>false</SignManifests>
</PropertyGroup>
9
USB / Error while building Generic Hid
« Last post by Tom Bryant on February 10, 2017, 07:07:15 pm »
I am trying to build your GenericHid. When I do I get this error message.
can you please help.
Thanks

1>------ Build started: Project: GenericHid, Configuration: Release Any CPU ------
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2884,5): warning MSB3327: Unable to find code signing certificate in the current userís Windows certificate store. To correct this, either disable signing of the ClickOnce manifest or install the certificate into the certificate store.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2884,5): error MSB3323: Unable to find manifest signing certificate in the certificate store.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
10
USB / Re: vendor specific USB device in Windows CE
« Last post by Jan Axelson on February 08, 2017, 09:39:33 am »
Pages: [1] 2 3 ... 10