AnsweredAssumed Answered

About safeload parameter Format?help me!!!

Question asked by ymwlike on Nov 8, 2012
Latest reply on Jan 14, 2013 by JJoseph

First of all, please allow me to say I'm sorry, because my English is not very good.Therefore, the expression may be a bit incorrect。

I have Some doubt in SigmaStudio_for_SHARC_HostControllerGuide.pdf  ?

A. Packetize Data for Communication

nReturn = Packetize(&aSPIPacket[0], &aInBuf[0], nDataSizeBytes, nCmd, nInstNum, bFullPack);

aInBuf[]: Input payload data.

I did not find the explanation of the payload data。

How format payload data?

Here is the one listens USBi Safeload Parameter data

0x0000000,0xF4190BE6,0xA5015AFE,0x00000003,0xc0000000,0x0000000C,0xB5138AE0,0x00000000,0xF1D20E2D

A total of nine 32bit data

0x00000000:is targetAddress?

0xF4190BE6:SS_CMD_BEGIN

0xA5015AFE:SS_CMD_PARAM_SAFE

0x00000003:the total length of the payload

0xc0000000:payload data

0x0000000C:address

0xB5138AE0:what meaning?How to calculate

0x00000000:targetAddress

0xF1D20E2D:SS_CMD_END

I hope to get your help, thank you!

Outcomes