![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This package contains a simple test of tests for various elements of the SmartBoard hardware, which is a simple baseboard designed for easy embedding. It is able to run both a semi-automatic test suite as well as allow interactive testing.
Dependencies: EthernetNetIf NTPClient_NetServices mbed
This program is most of what you need to test your SmartBoard baseboard hardware. It provides a means to test the following:
- Two channels of CAN (with a loopback cable)
- RS-232 Ports
- Analog inputs
- PWM outputs
- Ethernet port
- Real time clock
- micro SD
- USB Host port
USBHostLite/usbhost_err.h@4:ca93a8d4874d, 2011-03-31 (annotated)
- Committer:
- WiredHome
- Date:
- Thu Mar 31 11:22:00 2011 +0000
- Revision:
- 4:ca93a8d4874d
Minor revisions to the help text
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
WiredHome | 4:ca93a8d4874d | 1 | /* |
WiredHome | 4:ca93a8d4874d | 2 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 3 | * NXP USB Host Stack |
WiredHome | 4:ca93a8d4874d | 4 | * |
WiredHome | 4:ca93a8d4874d | 5 | * (c) Copyright 2008, NXP SemiConductors |
WiredHome | 4:ca93a8d4874d | 6 | * (c) Copyright 2008, OnChip Technologies LLC |
WiredHome | 4:ca93a8d4874d | 7 | * All Rights Reserved |
WiredHome | 4:ca93a8d4874d | 8 | * |
WiredHome | 4:ca93a8d4874d | 9 | * www.nxp.com |
WiredHome | 4:ca93a8d4874d | 10 | * www.onchiptech.com |
WiredHome | 4:ca93a8d4874d | 11 | * |
WiredHome | 4:ca93a8d4874d | 12 | * File : usbhost_err.h |
WiredHome | 4:ca93a8d4874d | 13 | * Programmer(s) : Ravikanth.P |
WiredHome | 4:ca93a8d4874d | 14 | * Version : |
WiredHome | 4:ca93a8d4874d | 15 | * |
WiredHome | 4:ca93a8d4874d | 16 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 17 | */ |
WiredHome | 4:ca93a8d4874d | 18 | |
WiredHome | 4:ca93a8d4874d | 19 | #ifndef USBHOST_ERR_H |
WiredHome | 4:ca93a8d4874d | 20 | #define USBHOST_ERR_H |
WiredHome | 4:ca93a8d4874d | 21 | |
WiredHome | 4:ca93a8d4874d | 22 | |
WiredHome | 4:ca93a8d4874d | 23 | /* |
WiredHome | 4:ca93a8d4874d | 24 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 25 | * GENERAL DEFINITIONS |
WiredHome | 4:ca93a8d4874d | 26 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 27 | */ |
WiredHome | 4:ca93a8d4874d | 28 | |
WiredHome | 4:ca93a8d4874d | 29 | #define OK 0 |
WiredHome | 4:ca93a8d4874d | 30 | #define MATCH_FOUND 0 |
WiredHome | 4:ca93a8d4874d | 31 | |
WiredHome | 4:ca93a8d4874d | 32 | /* |
WiredHome | 4:ca93a8d4874d | 33 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 34 | * HOST CONTROLLER SPECIFIC ERROR CODES |
WiredHome | 4:ca93a8d4874d | 35 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 36 | */ |
WiredHome | 4:ca93a8d4874d | 37 | |
WiredHome | 4:ca93a8d4874d | 38 | #define ERR_TD_FAIL -1 |
WiredHome | 4:ca93a8d4874d | 39 | |
WiredHome | 4:ca93a8d4874d | 40 | /* |
WiredHome | 4:ca93a8d4874d | 41 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 42 | * MASS STORAGE SPECIFIC ERROR CODES |
WiredHome | 4:ca93a8d4874d | 43 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 44 | */ |
WiredHome | 4:ca93a8d4874d | 45 | |
WiredHome | 4:ca93a8d4874d | 46 | #define ERR_MS_CMD_FAILED -10 |
WiredHome | 4:ca93a8d4874d | 47 | #define ERR_BAD_CONFIGURATION -11 |
WiredHome | 4:ca93a8d4874d | 48 | #define ERR_NO_MS_INTERFACE -12 |
WiredHome | 4:ca93a8d4874d | 49 | |
WiredHome | 4:ca93a8d4874d | 50 | /* |
WiredHome | 4:ca93a8d4874d | 51 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 52 | * FAT SPECIFIC ERROR CODES |
WiredHome | 4:ca93a8d4874d | 53 | ************************************************************************************************************** |
WiredHome | 4:ca93a8d4874d | 54 | */ |
WiredHome | 4:ca93a8d4874d | 55 | |
WiredHome | 4:ca93a8d4874d | 56 | #define MATCH_NOT_FOUND -20 |
WiredHome | 4:ca93a8d4874d | 57 | #define ERR_FAT_NOT_SUPPORTED -21 |
WiredHome | 4:ca93a8d4874d | 58 | #define ERR_OPEN_LIMIT_REACHED -22 |
WiredHome | 4:ca93a8d4874d | 59 | #define ERR_INVALID_BOOT_SIG -23 |
WiredHome | 4:ca93a8d4874d | 60 | #define ERR_INVALID_BOOT_SEC -24 |
WiredHome | 4:ca93a8d4874d | 61 | #define ERR_ROOT_DIR_FULL -25 |
WiredHome | 4:ca93a8d4874d | 62 | |
WiredHome | 4:ca93a8d4874d | 63 | #endif |