Pin # | Channel | Assignment |
01 | 1 | VREF+ |
02 | 1 | GND |
03 | 1 | UBP BUS |
04 | 1 | No Connect |
05 | 1 | VIN+ |
06 | 1 | No Connect |
07 | 1 | No Connect |
08 | 1 | No Connect |
09 | 1 | VIN- |
Event name | Event meaning |
GUBPNACK | Negative Acknowledgment |
GUBPTXFAILLIMIT | Transmit "Fail" Limit Reached |
GUBPTXFAILECHO | Unable to see echo of Transmitted Message |
GUBPCHSMERR | Checksum Error |
GUBPLENERR | Incorrect Message Length |
GUBPTIMEOUT | Unable to Transmit Message |
GUBPUARTERR | UART Error |
GUBPRESET | Card (HC08) has been reset |
IOCTL name | Function | Data field length/purpose |
GUBPGETINTERBYTE | Get Interbyte Gap | 2 data bytes returned |
GUBPSETINTERBYTE | Set Interbyte Gap | 2 data bytes |
GUBPGETNACKMODE | Get NACK Mode | 2 data bytes returned |
GUBPSETNACKMODE | Set NACK Mode | 2 data bytes |
GUBPGETRETRYDELAY | Get Retry Delay Time | 1 data byte returned |
GUBPSETRETRYDELAY | Set Retry Delay Time | 1 data byte |
GRESETHC08 | Reset Card (HC080) | 0 data bytes |
GTESTHC08COP | Test the COP (Computer Operating Properly) module | 0 data bytes |
GRESETHC08 causes the driver to perform a hard reset of the HC08 on the UBP card. A GUBPRESET event is reported while the card's firmware is restarting.If the main loop of the card's firmware takes more than 16.83 milliseconds between any two passes, the HC08's watchdog expires and resets the processor. A GUBPRESET event is reported while the card's firmware is restarting.
GTESTHC08COP prevents the watchdog timer from being reset in the firmware's main loop. If everything is working properly, a GUBPRESET event will be reported within 16.38 milliseconds when the watchdog timer expires.
The card can be made to send a NACK under program control by setting the least significant bit in the Status field of the Data Header for either a CMD_CARD_TX command or an FT_DATA frame and sending it to the card. The driver ignores the header and data fields and causes the card to place a NACK on the bus.