Hardware Reference
In-Depth Information
bra bulkIN_manu
movlw ','
movwf BULKIN
call ResponseByte
; STRING_PRODUCT
movlw 0x20
movff WREG,EEADR
;pointer to string
call ReadEepromInc
movff EEDATA,DescriptorPointer ;first byte is the length of the string
bulkIN_prod
call ReadEepromInc
movff EEDATA,BULKIN
call ResponseByte
decfsz DescriptorPointer,F
bra bulkIN_prod
movlw ','
movwf BULKIN
call ResponseByte
; STRING_SERIAL NUMBER
movlw 0x40
movff WREG,EEADR
;pointer to string
call ReadEepromInc
movff EEDATA,DescriptorPointer ;first byte is the length of the string
bulkIN_serial
call ReadEepromInc
movff EEDATA,BULKIN
call ResponseByte
decfsz DescriptorPointer,F
bra bulkIN_serial
movlw ','
movwf BULKIN
call ResponseByte
; STRING_FIRMWARE
movlw 0x60
movff WREG,EEADR
;pointer to string
call ReadEepromInc
movff EEDATA,DescriptorPointer ;first byte is the length of the string
bulkIN_firm
call ReadEepromInc
movff EEDATA,BULKIN
call ResponseByte
decfsz DescriptorPointer,F
bra bulkIN_firm
; close with semicolon
movlw ';'
movwf BULKIN
call
ResponseByte
; set MAV
movlw 0xFF
movwf MAV_FLAG
return
Search WWH ::




Custom Search