IDT88K8483 Integrated Device Technology, IDT88K8483 Datasheet - Page 63

no-image

IDT88K8483

Manufacturer Part Number
IDT88K8483
Description
Spi-4 Exchange Document Issue 1.0
Manufacturer
Integrated Device Technology
Datasheet
Example for download sequence
IDT IDT88K8483
An example pseudo code of how the download sequence is implemented is shown below
DOWNLOAD {
Write RST=0x1
Read EP_STATE
IF(EP_STATE == 1) {
}
//
}
While( !EOF) {
I_FIFO is in
}
//
While(IFIFO_STATUS != 0) && (time < Wait_time)) {
IF(time == Wait_time)
//
End of IF Ep_State loop
else {
//
End of while !EOF loop
Write I_FIFO = 32 bytes Binary data or less than 32 if EOF is encountered
Write Length = Binary data length written to I_FIFO
return “Wait time error”
End of While STATUS loop
}
Microprocessor Mailbox Input FIFO Data Register (p. 90)
//
//
RST field is in
Field is in
//
Writing to the Length register causes the embedded processor to download from the I_FIFO mailbox.
ReadReg 0x16
ReadReg 0x14
//
WriteReg 0x10
(
IFIFO_STATUS
Read binary data until end of file is encountered
(
EP_READY
Result
1 1
0
Result
Start
Embedded Processor State Register (p. 92)
(
DATA
Global Software Reset Register (p. 90)
)
)
)
1
0
(Download is successful)
Firmware download flowchart
No
//
//
Field is in
No
Length field is in
63 of 162
Is 32 bytes written?
0x7
Or EOF reached
Is EOF reached
ReadReg 0x16
WriteReg 0x11
Microprocessor Mailbox Input FIFO Status Register (p. 91)
(
Result
LENGTH
End
Yes
Microprocessor Mailbox Input FIFO Length Register (p. 90)
Yes
)
!=0x7
(Download is not successful)
Start
October 20, 2006

Related parts for IDT88K8483