Mercurial > public > hwos_code
diff 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 |
line wrap: on
line diff
--- a/src/external_flash.asm Mon May 18 21:25:56 2015 +0200 +++ b/src/external_flash.asm Tue May 26 12:38:17 2015 +0200 @@ -144,9 +144,14 @@ rcall ext_flash_byte_write ; Write the byte bra incf_ext_flash_address_p1 ; +1 and return + global write_byte_ext_flash_plus_nocnt ; No increase of ext_flash_dive_counter:3 +write_byte_ext_flash_plus_nocnt: + movwf temp1 ; store data + bra write_byte_ext_flash_plus2 + global write_byte_ext_flash_plus_nodel ; Does NOT delete 4kB Page when required -write_byte_ext_flash_plus_nodel: ; Write from WREG and increase address after write with banking at 0x200000 - movwf temp1 ; store data +write_byte_ext_flash_plus_nodel: ; Write from WREG and increase address after write with banking at 0x200000 + movwf temp1 ; store data bra write_byte_ext_flash_plus1 ; Ignore possible begin of 4kB page, there have been written 0xFF already global write_byte_ext_flash_plus ; Write from WREG and increase address after write with banking at 0x200000