This program illustrates how to erase, write, and read FLASH memory from
application code written in C . This routine exercises the upper 128-
byte FLASH sector.
cpress usb 芯片Vender 處理固件。
The purpose of this software is to demonstrate how
to implement vendor specific commands.
The following vendor specific commands are implemented:
A0 Firmware Upload/Download
A2 EEProm Load
A3 External Ram Load
A4 Set I2C Addr
A5 Get IIC Type (1 byte or 2 byte EEPROM)
A6 Get Chip Rev
A8 Renumerate
bulk endpoint endless source/sink firmware.
EP2OUT will always accept a bulk OUT
EP4OUT will always accept a bulk OUT
EP6IN will always return a 512 byte packet. The packet contains an
incrementing byte starting at 0x02. Since EP6 always returns a 512
byte packet, this endpoint should never be accessed except with a
high-speed host controller.
EP8IN will continuously return the packet most recently written to
EP4OUT
This R2.9 revision of the CLID detector provides the TYPE 1 (on-hook, between first and second ring, or
before first ring) signal detection and returns the message raw byte data without parsing of particular fields
such as Message Type, Parameter(s) Type(s), etc. The decoding of the message meaning should be performed by the user application.主叫號碼識別CID算法for TI DSP
利用SyncML開發客戶端程序的中間件,J2ME版本。
This library is a collection of basic utilities for: object serialization
and persistence on the RMS, Logging and string manipulation.
This document describes the Funambol JavaME Common API library, which purpose is giving support and
providing basic functionalities to all the other components developed for the J2ME platform. These
functionalities are: a persistent data storage framework, a logging framework, a framework to read different
streams of byte, a thread monitoring system and a set of classes useful for data encoding and string
manipulation. This library may grow in future, as new functions will be seen as common to different J2ME
components.
The LZW compression class i mplemented as a fixed length code which you can specify, the huffman algorithm implementation encodes a byte into a variable length bit array. Both of them can work with streams
8051 Web Server project
See Makefile for build notes
Written for Keil C51 V5.1 compiler, notes:
It uses big endian order, which is the same as the
network byte order, unlike x86 systems.
Use OPTIMIZE(2)or higher so that automatic variables get shared
// between functions, to stay within the 256 bytes idata space
upsd_flash.c
These functions are provided to help you develop your initial code.
They are optimized for speed rather that size. As a result, you will
see very few nested function calls. If speed is not critical, you
can use function calls for common tasks (like dat polling after
writing a byte to Flash) The penalty is the extra processor
time to make the nested calls.
This little Program allows you to send commands to the CardReader (CT-BCS) or to the Card itself.
First you will be ask to what Port the Reader is connected (0=COM1, 1=COM2).
Then the Class-byte (CLA), Instruction-byte (INS), Parameter 1 (P1), Parameter 2 (P2).
If wou don愒 want to send Parameter 3 (P3) press Ctrl-d (^d).
If you enter a number then you have to the bytes of the Datafield.
After the last byte of the Datafield is entered the whole APDU is send the replay is displayed. After that you can send the next APDU.