FS#8189 - USB driver and stack complement for PP502x
Attached to Project:
Rockbox
Opened by sheng-xiang tang (tangsx) - Monday, 19 November 2007, 15:41 GMT
Last edited by Dave Chapman (linuxstb) - Tuesday, 20 November 2007, 12:21 GMT
Opened by sheng-xiang tang (tangsx) - Monday, 19 November 2007, 15:41 GMT
Last edited by Dave Chapman (linuxstb) - Tuesday, 20 November 2007, 12:21 GMT
|
DetailsSome fixes in driver arcotg_dcd.c to treat other endpoints than ep0, and add callback to treat other commands than setup
Implement SCSI commands treatement in usb_storage.c Enable ATA access in USB connected mode (usb.c) to read/write sectors etc All exchanges seem OK (tested with a iRiver H10 20G with Windows XP), and even one time the whole iRiver disk is accessible via Windows but in most case there is a PANIC ! Remain to do: implement read capacity and write sector in usb_storage.c, find out the panic cause |
This task depends upon
Closed by Dave Chapman (linuxstb)
Tuesday, 20 November 2007, 12:21 GMT
Reason for closing: Rejected
Additional comments about closing: This patch consists mainly of third-party code which isn't under an open-source license, and hence we can't use it in Rockbox.
In addition, the intention is to replace the existing USB code with FS#7962
so you should work with that patch,
rather than the code currently in SVN.
Tuesday, 20 November 2007, 12:21 GMT
Reason for closing: Rejected
Additional comments about closing: This patch consists mainly of third-party code which isn't under an open-source license, and hence we can't use it in Rockbox.
In addition, the intention is to replace the existing USB code with
FS#7962, as that's Zagor's work on a(nother) USB stack that is likely to go in instead of this first one.At least you two should have a talk and see what can be done to merge your efforts to drive progress forward jointly!
http://ww1.microchip.com/downloads/en/AppNotes/MCHPMSD.zip
... and the copyright texts and license headers of all sources in that package clearly says we cannot use that code in Rockbox!
* Software License Agreement
*
* The software supplied herewith by Microchip Technology Incorporated
* (the <93>Company<94>) for its PICmicro? Microcontroller is intended and
* supplied to you, the Company<92>s customer, for use solely and
* exclusively on Microchip PICmicro Microcontroller products. The
* software is owned by the Company and/or its supplier, and is
* protected under applicable copyright laws. All rights are reserved.
* Any use in violation of the foregoing restrictions may subject the
* user to criminal sanctions under applicable laws, as well as to
* civil liability for the breach of the terms and conditions of this
* license.
FS#7962implementation seems more completeYes, the scsi part is directly updated from http://ww1.microchip.com/downloads/en/AppNotes/MCHPMSD.zip, it seems that it should be removed
arcotg_dcd.c file may be used combined with
FS#7962: it seems the management of index (mask) is wrong (send & receive functions) for endpoints other than ep0. the enable function seems have USB_SEND & USB_RECEIVE inversed