Datasheet
SBAS323G − JUNE 2004 − REVISED OCTOBER 2007
www.ti.com
39
Table 7. MSC121x Boot ROM Routines
ADDRESS ROUTINE C DECLARATIONS DESCRIPTION
FFD5 put_string void put_string (char code *string); Output string
FFD7 page_erase char page_erase (int faddr, char fdata, char fdm); Erase flash page
FFD9 write_flash Assembly only; DPTR = address, R5 = data Fast flash write
FFDB write_flash_chk char write_flash_chk (int faddr, char fdata, char fdm); Write flash byte, verify
FFDD write_flash_byte char write_flash_byte (int faddr, char fdata, char fdm); Write flash byte
FFDF faddr_data_read char faddr_data_read (char faddr); Read HW config byte from addr
FFE1 data_x_c_read char data_x_c_read (int faddr, char fdm); Read xdata or code byte
FFE3 tx_byte void tx_byte (char); Send byte to USART0
FFE5 tx_hex void tx_hex (char); Send hex value to USART0
FFE7 putok void putok (void); Send “OK” to USART0
FFE9 rx_byte char rx_byte (void); Read byte from USART0
FFEB rx_byte_echo char rx_byte_echo (void); Read and echo byte on USART0
FFED rx_hex_echo int rx_hex_echo (void); Read and echo hex on USART0
FFEF rx_hex_int_echo int rx_hex_int_echo (void); Read int as hex and echo: USART0
FFF1 rx_hex_rev_echo int rx_hex_rev_echo (void); Read int reversed as hex and echo: USART0
FFF3 autobaud void autobaud (void); Set baud with received CR
FFF5 putspace4 void putspace4 (void); Output 4 spaces to USART0
FFF7 putspace3 void putspace3 (void); Output 3 spaces to USART0
FFF9 putspace2 void putspace2 (void); Output 2 spaces to USART0
FFFB putspace1 void putspace1 (void); Output 1 space to USART0
FFFB putcr void putcr (void); Output CR, LF to USART0
F97D
(1)
cmd_parse void cmd_parser (void); See SBAA076
FD3B
(1)
monitor_isr void monitor_isr ( ) interrupt 6 Push registers and call cmd_parser
(1)
These addresses only relate to version 1.0 of the MSC1211/12/13/14 Boot ROM.