iii
4-2-8. Simple Debugging........................................................................................ 4-16
4-2-9. Evaluating USB Equipment .........................................................................4-16
4-3. USB Bits and Pieces ..................................................................................4-17
4-3-1. Device Controller Specifications..................................................................4-17
4-3-2. Overview of ML60851C Operation ..............................................................4-17
4-3-3. Connecting Microcontroller to USB Controller.............................................4-18
4-3-4. Special USB Considerations........................................................................ 4-19
4-3-5. Building a Product........................................................................................4-20
4-3-6. Vendor and Product IDs ..............................................................................4-20
4-3-7. Other Tools Necessary................................................................................ 4-20
4-3-8. Note on Porting............................................................................................4-21
4-3-9. Limitations....................................................................................................4-22
4-4. Port 7 LED2 Control ...................................................................................4-22
4-4-1. Port 7 Registers ...........................................................................................4-22
4-4-2. Changing LED2 Color..................................................................................4-23
4-5. Standard I/O over Serial Link.....................................................................4-26
4-5-1. JOB60851 Board Standard I/O....................................................................4-26
4-5-2. Serial Port ....................................................................................................4-27
4-5-3. read() and write() Functions......................................................................... 4-29
4-5-4. Standard I/O Examples................................................................................4-31
4-5-5. Debugging with Standard I/O.......................................................................4-32