IBM 4840-563 System Reference - Page 74

Update mode details, General command format, nnxxxxiiccddss

Page 74 highlights

Function (return status) Get Configuration (return status) Start Update Mode Commit Configuration Custom Configuration Enable/Disable Start Command Mode Start Functional Mode Success Response Fail Response ".:nn0000117F" "." "X" "." "X" "." "X" "." "X" "." "X" All changes to the configuration word are stored in RAM until a Commit Configuration command is sent. A commit configuration command stores the configuration word into flash where it is retrieved the next time power is restored. General command format: :nnxxxxiiccddss : beginning of command marker nn number of command bytes beyond the id byte in hexadecimal. xxxx 16 bit Don't care address bytes not used for MSR control commands. ii Command id byte, should be "11" for MSR commands. cc Hexadecimal format MSR command ID byte. dd 0 to 16 bytes of data in hexadecimal format. ss hexadecimal format checksum byte. The sum of this number and all the other bytes in the command after the beginning of the command marker should equal zero. If the sum of all the bytes in the command is not zero or if the command is not a valid command then the MSR returns 'X'. a '.' is returned for successful commands. Commands requiring return data return either a '.' followed by a return data string or 'X'. Update mode details The code update command interface is to comply with the in circuit programming specification described in Philips Semiconductors application note AN461 2002 Jun 24 for the Philips 89C51Rx2 device. In general the microcontroller program will enter the in circuit programming code when a start update mode command is sent. An example would be if SurePOS 500 Model XX3 Technical Reference, v 1.3 81 Page 74 of

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

SurePOS 500 Model XX3 Technical Reference, v 1.3
Page 74 of
Function
Success Response
Fail Response
(return status)
Get Configuration
(return status)
“.:nn0000117F<b1><b2><b3><b4><b5
><revision string[11]><ss>”
“X”
Start Update Mode
“.”
“X”
Commit
Configuration
“.”
“X”
Custom
Configuration
Enable/Disable
“.”
“X”
Start Command
Mode
“.”
“X”
Start Functional
Mode
“.”
“X”
All changes to the configuration word are stored in RAM until a Commit Configuration command is sent.
A
commit configuration command stores the configuration word into flash where it is retrieved the next time
power is restored.
General command format:
:nnxxxxiiccddss
:
beginning of command marker
nn
number of command bytes beyond the id byte in hexadecimal.
xxxx
16 bit Don’t care address bytes not used for MSR control commands.
ii
Command id byte, should be “11” for MSR commands.
cc
Hexadecimal format MSR command ID byte.
dd
0 to 16 bytes of data in hexadecimal format.
ss
hexadecimal format checksum byte.
The sum of this number and all the other bytes in the command
after the beginning of the command marker should equal zero.
If the sum of all the bytes in the command is not zero or if the command is not a valid command then the MSR returns
‘X’. a ‘.’ is returned for successful commands. Commands requiring return data return either a ‘.’ followed by
a return data string or ‘X’.
Update mode details
The code update command interface is to comply with the in circuit programming specification described in Philips
Semiconductors application note AN461 2002 Jun 24 for the Philips 89C51Rx2 device.
In general the microcontroller
program will enter the in circuit programming code when a start update mode command is sent. An example would be if
81