CmdMemCrc

Aus MCS Wiki AVR
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

Action

Compute a CRC-32 for memory.

 

 

Syntax

CmdMemCrc ptr, num, result

 

 

Remarks

ptr

Starting address of the memory block

num

Number of bytes in the source memory block

result

Output parameter; written with the CRC-32 after command execution. The completion of this function is

detected when the value of REG_CMD_READ is equal to REG_CMD_WRITE.

 

 

 

 

Example

' Pseudocode
 
' To compute the CRC-32 of the first 1K byte of FT800 memory, first record the value 
' of REG_CMD_WRITE, execute the command, wait for completion, then read the 32-bit value at result.
 
x = Rd16(REG_CMD_WRITE)
CmdMemCrc 0, 1024, 0
Print Rd32(RAM_CMD + x + 12)
Languages   English  
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sprache
Datenbankfehler – MCS Wiki AVR

Datenbankfehler

Wechseln zu: Navigation, Suche
Es ist ein Datenbankfehler aufgetreten. Der Grund kann ein Programmierfehler sein. Die letzte Datenbankabfrage lautete:
(Die SQL-Datenbankabfrage ist verborgen.)
aus der Funktion „“. Die Datenbank meldete den Fehler „1020: Record has changed since last read in table 'avr_page' (localhost)“.
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sprache