Other Parts Discussed in Thread: BQSTUDIO, EV2400,
Hi,
i have two questions:
In the TRM it states about entering ROMMode with ManfCommand 0x0F00, to exit one should "use 0x08 to ManufacturerAcess() to return". What is meant by this? All ManufacturerAccess Command are words, how should it transmit this 0x08? 0x0008 would be the command for StaticChemDFSignature...
Second question is about writing to Dataflash. Another user already asked exactly what I want to know, but unfortunately the answer was not made public... Here is the user's question which is also mine:
The only example given in the TRM is 17.2.59 Data Flash Access() 0x4000–0x5FFF...
However, this doesn't seem to match the SMBus spec? As per theSMBus spec, block reads and block writes include a "byte count" as the first byte in the received or transmitted transaction. Please confirm that the 78350's SMBus does not comply, and that no byte count is included in the block transactions.
But the TRM says
"Write to DF example:
Assuming: data1 locates at address 0x4000 and data2 locates at address 0x4002.
Both data1 and data2 are U2 type.
To update data1 and data2, send a SMBus block write with command = 0x44 block = starting address + DF data block
= 0x00 + 0x40 + data1_LowByte + data1_HighByte + data2_LowByte + data2_HighByte
To read the DF, send an SMBus block write to the ManufacturerBlockAccess(), followed by the starting
address; then send an SMBus block read to the ManufacturerBlockAccess().
The return data contains the starting address, followed by 32 bytes of DF data in Little Endian.
Read from DF example:
Taking the same assuming from the read DF example, to read DF,
a. Send SMBus write block with command 0x44, block = 0x00 + 0x40
b. Send SMBus read block with command 0x44
The returned block
= a starting address + 32 bytes of DF dat
= 0x00 + 0x40 + data1_LowByte + data1_HighByte + data2_LowByte + data2_HighByte.... data32_LowByte +
data32_HighByte
Thanks in advance!