bdiGDB for BDI2000 (PowerPC 7440/7450/86xx) User Manual 21© Copyright 1997-2015 by ABATRON AG Switzerland V 1.133.2.1 Part [INIT]The part [INIT] defines a list of commands which should be executed every time the target comes outof reset. The commands are used to get the target ready for loading the program file.WGPR register value Write value to the selected general purpose register.register the register number 0 .. 31value the value to write into the registerExample: WGPR 0 5WSPR register value Write value to the selected special purpose register.register the register numbervalue the value to write into the registerExample: WSPR 27 0x00001002 ; SRR1 : ME,RIWSR register value Write value to the selected segment register.register the register numbervalue the value to write into the registerExample: WSR 0 0x00001002 ; SR0 :WREG name value Write value to the selected CPU register by namename the register name (MSR,CR,PC,XER,LR,CTR, ...)value the value to write into the registerExample: WREG MSR 0x00001002DELAY value Delay for the selected time. A delay may be necessary to let the clock PLLlock again after a new clock rate is selected.value the delay time in milliseconds (1...30000)Example: DELAY 500 ; delay for 0.5 secondsWM8 address value Write a byte (8bit) to the selected memory place.address the memory addressvalue the value to write to the target memoryExample: WM8 0xFFFFFA21 0x04 ; SYPCR: watchdog disable ...WM16 address value Write a half word (16bit) to the selected memory place.address the memory addressvalue the value to write to the target memoryExample: WM16 0x02200200 0x0002 ; TBSCRWM32 address value Write a word (32bit) to the selected memory place.address the memory addressvalue the value to write to the target memoryExample: WM32 0x02200000 0x01632440 ; SIUMCR