📄 bbu_help.s
字号:
DCB " ILCD [option]",0xD,0xA,0xA
DCB " option - If not used, the highest available resolution will be used.",0xD,0xA
DCB " If set to 1, the LCD will be initalized in QVGA format.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** ICAM ***** INITIALIZE THE CAMERA INTERFACE
;
1030 cmp r2, #103 ; Help for ICAM command?
bne %F1040 ; Nope
ldr r0, =BBU_HELP_ICAM ; Message address
b %F9000 ; Print it
BBU_HELP_ICAM DCB 0xA,0xD
DCB " ICAM - Initialize the camara interface.",0xD,0xA,0xA
DCB " ICAM [1]",0xD,0xA,0xA
DCB " If the ICAM command is used without any parameters the VGA camera on",0xD,0xA
DCB " the main board is initalized. If the the the ICAM 1 command is entered",0xD,0xA
DCB " BBU will atempt to initalize the camera on the 88W8686 Wi-Fi board.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** CAMV ***** CAMERA VIDEO ON/OFF CONTROL
;
1040 cmp r2, #104 ; Help for CAMV command?
bne %F1060 ; Nope
ldr r0, =BBU_HELP_CAMV ; Message address
b %F9000 ; Print it
BBU_HELP_CAMV DCB 0xA,0xD
DCB " CAMV - Turn camera video on/off.",0xD,0xA,0xA
DCB " The CAMV command turns the video mode of the camera on/off and sends the",0xD,0xA
DCB " video to the primary LCD.",0xD,0xA,0xA
DCB " CAMV control",0xD,0xA,0xA
DCB " control = 1 - Turns camera video on.",0xD,0xA
DCB " control = 0 - Turns camera video off.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** NAND_READ ***** READ DATA FROM NAND FLASH
;
1060 cmp r2, #106 ; Help for NAND_READ command?
bne %F1070 ; Nope
ldr r0, =BBU_HELP_NANDR ; Message address
b %F9000 ; Print it
BBU_HELP_NANDR DCB 0xA,0xD
DCB " NAND_READ - Read data from NAND flash.",0xD,0xA,0xA
DCB " NAND_READ [/b]nand_address,destination_address,byte_count",0xD,0xA,0xA
DCB " nand_address - Address in NAND where read is to start.",0xD,0xA
DCB " destination_address - Location where data is to be written.",0xD,0xA
DCB " byte_count - Number of bytes to transfer (page size = 0x800).",0xD,0xA,0xA
DCB " The /B option may be used by itself to display a list of bad blocks. At this",0xD,0xA
DCB " time only factory identified bad blocks are listed.",0xD,0xA,0xA
DCB " BBU will use bad block replacment when reading from NAND but only after the",0xD,0xA
DCB " NAND_READ /B command is issued to update BBU's local copy of the bad block",0xD,0xA
DCB " table.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** NAND_WRITE ***** WRITE DATA TO NAND FLASH
;
1070 cmp r2, #107 ; Help for NAND_WRITE command?
bne %F1110 ; Nope
ldr r0, =BBU_HELP_NANDW ; Message address
b %F9000 ; Print it
BBU_HELP_NANDW DCB 0xA,0xD
DCB " NAND_WRITE - Write data to NAND flash.",0xD,0xA,0xA
DCB " NAND_WRITE nand_address,source_address,byte_count",0xD,0xA,0xA
DCB " nand_address - Address in NAND where the write is to start.",0xD,0xA
DCB " destination_address - Source addressof the data to be written.",0xD,0xA
DCB " byte_count - Number of bytes to be written.",0xD,0xA,0xA
DCB " NOTE: To prevent writing to bad blocks, enter the NAND_READ /B command",0xD,0xA
DCB " first in order to load BBU's local copy of the bad block table.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** ENET ***** ENET REGISTER DUMP
;
1110 cmp r2, #111 ; Help for ENET command?
bne %F1120 ; Nope
ldr r0, =BBU_HELP_ENET ; Message address
b %F9000 ; Print it
BBU_HELP_ENET DCB 0xA,0xD
DCB " ENET - Initialize the Ethernet Interface.",0xD,0xA,0xA
DCB " The ENET command initializes the Ethernet interface, dumps the contents",0xD,0xA
DCB " of the bank registers and displays the MAC address of the device. This",0xD,0xA
DCB " command verifies communication between the processor chip and the LAN",0xD,0xA
DCB " chip but does not test the actual link to the outside world.",0xD,0xA,0xA
DCB " ENET (no parameters)",0xD,0xA,0xA,0
ALIGN 4
;
; ******************
; ** **
; ** LITERAL POOL ** LOCAL DATA STORAGE
; ** **
; ******************
;
LTORG
;
; ***** NAND_ERASE ***** ERASE A BLOCK OF NAND
;
1120 cmp r2, #112 ; Help for NAND_ERASE command?
bne %F1140 ; Nope
ldr r0, =BBU_HELP_NANDE ; Message address
b %F9000 ; Print it
BBU_HELP_NANDE DCB 0xA,0xD
DCB " NAND_ERASE - Erase 1 block of NAND memory.",0xD,0xA,0xA
DCB " NAND_ERASE start_address",0xD,0xA,0xA
DCB " start_address - An address within the block of NAND that is to be erased",0xD,0xA,0xA,0
ALIGN 4
;
; ***** TIME ***** TIME OF DAY COMMAND
;
1140 cmp r2, #114 ; Help for TIME command?
bne %F1150 ; Nope
ldr r0, =BBU_HELP_TIME ; Message address
b %F9000 ; Print it
BBU_HELP_TIME DCB 0xA,0xD
DCB " TIME - Displays a time/date clock on the primary LCD",0xD,0xA,0xA
DCB " The TIME command allows the user to set the current date and time into",0xD,0xA
DCB " the platform and will cause BBU to update the primary LCD with the date",0xD,0xA
DCB " and time at one second intervals.",0xD,0xA,0xA
DCB " TIME year,month,day,hour,minute,second",0xD,0xA,0xA
DCB " year = The current year as a four digit number.",0xD,0xA
DCB " month = The current month (1-12).",0xD,0xA
DCB " day = The current day (1-31).",0xD,0xA
DCB " hour = The current hour (0-23).",0xD,0xA
DCB " minute = The current minute (0-59).",0xD,0xA
DCB " second = The current second (0,59).",0xD,0xA,0xA
DCB " NOTE: There is no error checking of the values so invalid values may",0xD,0xA
DCB " produce unpredictable results!",0xD,0xA,0xA,0
ALIGN 4
;
; ***** BMPI ***** BITMAP IMAGE COMMAND
;
1150 cmp r2, #115 ; Help for BMPI command?
bne %F1180 ; Nope
ldr r0, =BBU_HELP_BMPI ; Message address
b %F9000 ; Print it
BBU_HELP_BMPI DCB 0xA,0xD
DCB " BMPI - Sends a BMP Image file to the LCD",0xD,0xA,0xA
DCB " The BMPI command reads a BMP file that has been downloaded to memory",0xD,0xA
DCB " and displays the image on the primary LCD display. For VGA displays",0xD,0xA
DCB " the image should be less than 320 x 640 pixels and for QVGA displays",0xD,0xA
DCB " the image should be less than 160 x 320 pixels. To automatically",0xD,0xA
DCB " display multiple images, see the SLIDE_SHOW command.",0xD,0xA,0xA
DCB " BMPI address",0xD,0xA,0xA
DCB " address = Starting address of the BMP file in memory.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** MACA ***** WRITE THE MAC ADDRESS
;
1180 cmp r2, #118 ; Help for MACA command?
bne %F1320 ; Nope
ldr r0, =BBU_HELP_MACA ; Message address
b %F9000 ; Print it
BBU_HELP_MACA DCB 0xA,0xD
DCB " MACA - Change the MAC address of the LAN chip",0xD,0xA,0xA
DCB " The MACA command is used to chage the MAC address associated with the LAN",0xD,0xA
DCB " chip. The MAC address should be set to the value indicated on a label",0xD,0xA
DCB " attached to the compact flash / LAN card.",0xD,0xA,0xA
DCB " MACA (no parameters)",0xD,0xA,0xA
DCB " The user will be prompted to enter the new MAC address.",0xD,0xA,0xA,0
ALIGN 4
;
; ******************
; ** **
; ** LITERAL POOL ** LOCAL DATA STORAGE
; ** **
; ******************
;
LTORG
;
; ***** DOWNLOAD ***** DOWNLOAD A FILE TO PLATFORM MEMORY
;
1320 cmp r2, #132 ; Help for DOWNLOAD command?
bne %F1330 ; Nope
ldr r0, =BBU_HELP_DOWN ; Message address
b %F9000 ; Print it
BBU_HELP_DOWN DCB 0xA,0xD
DCB " DOWNLOAD - Downloads data from the terminal emulator to memory.",0xD,0xA,0xA
DCB " The DOWNLOAD command can be used to download data to the platform memory",0xD,0xA
DCB " though the BBU UART port. Most often it is used to download BMP files",0xD,0xA
DCB " which can be displayed on the LCD. There is no error checking performed.",0xD,0xA
DCB " A baud rate of 38400 or less is suggested to minimize errors. The user",0xD,0xA
DCB " must enter SDOWN (all capital letters) after the file transfer is",0xD,0xA
DCB " complete to return to the BBU prompt.",0xD,0xA,0xA
DCB " NOTE: Be sure the file is sent in BINARY format to the platform.",0xD,0xA,0xA
DCB " DOWNLOAD address",0xD,0xA,0xA
DCB " address = address where data is to start in platform memory.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** UPLOAD ***** UPLOAD A FILE TO THE TERMINAL EMULATOR
;
1330 cmp r2, #133 ; Help for UPLOAD command?
bne %F1340 ; Nope
ldr r0, =BBU_HELP_UPLO ; Message address
b %F9000 ; Print it
BBU_HELP_UPLO DCB 0xA,0xD
DCB " UPLOAD - Uploads data from platform memory to the terminal emulator.",0xD,0xA,0xA
DCB " The UPLOAD command is used to transfer data from the platform's memory",0xD,0xA
DCB " to a data log file in the terminal emulator. Since BBU can not use the",0xD,0xA
DCB " UART to inform the user when the transfer is done, BBU notifies the user",0xD,0xA
DCB " by messages on the LCD screen.",0xD,0xA,0xA
DCB " NOTE: Be sure the file is received in BINARY format from the platform.",0xD,0xA,0xA
DCB " UPLOAD address,length",0xD,0xA,0xA
DCB " address = address where data starts in platform memory.",0xD,0xA
DCB " length = number of bytes to be transferred from memory.",0xD,0xA,0xA,0
ALIGN 4
;
; ***** SCREEN_SHOT ***** UPLOAD A FILE TO THE TERMINAL EMULATOR
;
1340 cmp r2, #134 ; Help for SCREEN_SHOT command?
bne %F1380 ; Nope
ldr r0, =BBU_HELP_SCRE ; Message address
b %F9000 ; Print it
BBU_HELP_SCRE DCB 0xA,0xD
DCB " SCREEN_SHOT - Generates a BMP file of the primary LCD screen contents.",0xD,0xA,0xA
DCB " The SCREEN_SHOT command is used to generate a BMP file of the primary",0xD,0xA
DCB " LCD screen contents that can then be UPLOADed to the terminal",0xD,0xA
DCB " emulator. BBU will display the file length to be used with the",0xD,0xA
DCB " UPLOAD command.",0xD,0xA,0xA
DCB " SCREEN_SHOT address",0xD,0xA,0xA
DCB " address = address where the BMP file is to be created.",0xD,0xA,0xA,0
ALIGN 4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -