Download Command 0xFF - Special Byte Edit and Download Command

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Download Command 0xFF - Special Byte Edit and Download Command

NEAL SINGH
Administrator

This command has the potential to be used as the edit tool to change any setting in the memory Map.

&

There is another possible use for it and that is it could be the only command used to program all the data into the Memory Map and not use

the Command Address Map Index for doing the Setup.

This command would bypass that process and directly put data in the right locations and it might make sense use this for the Setup process.

NB: The Command Address Map Index will still be required by the uC to know where to load the specific setup data, like Uart setup and Pump and Tagging Types etc.

 

Download Command 0xFF – Special  Byte Edit and Download Command

Field Name

Description

Example

Byte Address

This any location that allows data to the edited at a specific location. This is useful to change is a config setting without downloading the entire  Download Command structure.

0x0130BC

Length

This can be 1 to 50 bytes

0x01

Data

The actual data

e.g. Byte change to disable Tagging

 

 

 

Below a sample of the comms from the Web to the M/C

STX

[1] Hex

SiteID[3]

Hex

Packet Type[2] Hex

Payload length [1]

Hex

Payload

 

CRC [1]

Hex

ETX

[1]

Hex

0x32

0x04FD00

0x02

0xnn

0x0130BC |0x01|0x000000

XX

0x33