comparison src/external_flash.asm @ 279:62c7af4795b0

bugfix wrong profile length in header
author heinrichsweikamp
date Tue, 26 May 2015 12:38:17 +0200
parents dfac47ac2e1d
children eb758a5b44eb
comparison
equal deleted inserted replaced
278:dfac47ac2e1d 279:62c7af4795b0
142 write_byte_ext_flash_plus_h1: 142 write_byte_ext_flash_plus_h1:
143 movf temp1,W 143 movf temp1,W
144 rcall ext_flash_byte_write ; Write the byte 144 rcall ext_flash_byte_write ; Write the byte
145 bra incf_ext_flash_address_p1 ; +1 and return 145 bra incf_ext_flash_address_p1 ; +1 and return
146 146
147 global write_byte_ext_flash_plus_nocnt ; No increase of ext_flash_dive_counter:3
148 write_byte_ext_flash_plus_nocnt:
149 movwf temp1 ; store data
150 bra write_byte_ext_flash_plus2
151
147 global write_byte_ext_flash_plus_nodel ; Does NOT delete 4kB Page when required 152 global write_byte_ext_flash_plus_nodel ; Does NOT delete 4kB Page when required
148 write_byte_ext_flash_plus_nodel: ; Write from WREG and increase address after write with banking at 0x200000 153 write_byte_ext_flash_plus_nodel: ; Write from WREG and increase address after write with banking at 0x200000
149 movwf temp1 ; store data 154 movwf temp1 ; store data
150 bra write_byte_ext_flash_plus1 ; Ignore possible begin of 4kB page, there have been written 0xFF already 155 bra write_byte_ext_flash_plus1 ; Ignore possible begin of 4kB page, there have been written 0xFF already
151 156
152 global write_byte_ext_flash_plus ; Write from WREG and increase address after write with banking at 0x200000 157 global write_byte_ext_flash_plus ; Write from WREG and increase address after write with banking at 0x200000
153 write_byte_ext_flash_plus: 158 write_byte_ext_flash_plus:
154 movwf temp1 ; store data 159 movwf temp1 ; store data