A.1. Error Codes

Table A.1. Error codes used by the USB system

Error codeErrorDescription
0USB_RESULT_OKAll OK. Operation performed successfully
&819B00USB_RESULT_ALIAS_FILE_NOT_FOUNDAlias File could not be opened
&819B01USB_RESULT_STRUCTUR_DROPPEDOperation could not be executed because it tried to use a structure which has been dropped. Don't use the structure any longer and release every references to it.
&819B02USB_RESULT_INVALID_PARAMETERWrong parameter passed to function
&819B03USB_RESULT_CONTROLLER_ALREADY_EXISTSCan occur at usb_controller_register if a controller gets the same name by translation process of the alias file as a controller which has been already registered. Will be the case if you plug in two controllers into your system and did not assign names to them inside alias file.
&819B04USB_RESULT_BUS_INVALID_INTERNAL_2Should never occur. Internal invalid state was detected by USB-Module. Please inform developer about this.
&819B05USB_RESULT_ILLEGAL_SPEEDEither USB Host Controller is not supporting this speed or the speed is illegal in conjunction with the selected USB-Transfer type
&819B06USB_RESULT_ALL_DEVICES_USEDAll device addresses are in use however.
&819B07USB_RESULT_DEVICE_ADDRESS_USEDA device address should used for new device which is already in use.
&819B08USB_RESULT_ENDPOINT_ADDRESS_USEDAn endpoint address is already in use. May be used as a standalone and shall be used in both direction or may be in both directions and shall be used in a single direction.
&819B09USB_RESULT_INVALID_PIPE_STATEOccurs if an operation shall be done on a pipe and this pipe does not have the correct state (E.G. not open but a request shall be started)
&819B0AUSB_RESULT_NO_TRANSACTION_PENDINGOnly used by usb_transaction_get_pending function to inform the USB Host controller driver that no transactions are pending.
&819B0BUSB_RESULT_ERROR_GENERATEDUsed by usb_transaction_result to inform the USB Host controller driver that the transaction result has been changed internally by the USB-Module into an Error.
&819B0CUSB_RESULT_NO_OBJECT_FOUNDUsed by usb_find_object to inform the caller that the requested object could not be found.
&819B0DUSB_RESULT_BUS_CAPACITY_TO_SMALLNot enough USB capacity at opening a pipe.
&819B0EUSB_RESULT_BUS_INVALID_PAYLOAD_SIZEMaximal data payload size for an endpoint must be one value of 2^x and 0<=x<=10. If not this error will be generated by usb_endpoint_register.
&819B0FUSB_RESULT_BUS_INVALID_TRANSFER_TYPEShows illegal transfer type at usb_endpoint_register. That means that you either selected an invalid transfer type or that the actual host controller is not supporting this type. In all other situations it shows an heavy internal error. Please inform developer about this.
&819B10USB_RESULT_BUS_INVALID_INTERNAL_1This error should never occur. Please contact Simtec Electronics for further assistance.
&819B11USB_RESULT_NOT_ENOUGH_MEMORYUnable to claim a piece of memory