
22. Development tools
A96G166/A96A166/A96S166 User’s manual
230
Figure 134. E-Gang4 and E-Gang6 (for Mass Production)
22.4
Flash programming
Program memory of A96G166/A96A166/A96S166 is a flash type. This flash ROM is accessed
through four pins such as DSCL, DSDA, VDD, and VSS in serial data format. For more information
about flash memory programming, please refer to Chapter 19 Memory programming.
Table 64 introduces each pin and corresponding I/O status.
Table 64. Pins for Flash Programming
Pin name
Main chip
pin name
During programming
I/O
Description
DSCL
P01
I
Serial clock pin. Input only pin.
DSDA
P00
I/O
Serial data pin. Output port when reading and input port
when programming. Can be assigned as input/push-pull
output port.
VDD, VSS VDD, VSS
―
Logic power supply pin.
22.4.1
On-board programming
A31G32x need only four signal lines including VDD and VSS pins for programming flash ROM with
serial protocol. Therefore the on-board programming is possible if the programming signal lines are
considered when the PCB of application board is designed.