Mercurial > public > hwos_code
comparison src/external_flash.asm @ 628:cd58f7fc86db
3.05 stable work
author | heinrichsweikamp |
---|---|
date | Thu, 19 Sep 2019 12:01:29 +0200 |
parents | c40025d8e750 |
children | 185ba2f91f59 |
comparison
equal
deleted
inserted
replaced
627:bf5fee575701 | 628:cd58f7fc86db |
---|---|
323 bsf flash_ncs ; CS=1 | 323 bsf flash_ncs ; CS=1 |
324 clrf ext_flash_address+0 | 324 clrf ext_flash_address+0 |
325 clrf ext_flash_address+1 | 325 clrf ext_flash_address+1 |
326 clrf ext_flash_address+2 | 326 clrf ext_flash_address+2 |
327 | 327 |
328 setf ext_flash_rw ; 256 * 12 kB = 3145728 bytes | 328 clrf ext_flash_rw ; 256 * 12 kB = 3145728 bytes |
329 ext_flash_erase_logbook_loop: | 329 ext_flash_erase_logbook_loop: |
330 rcall ext_flash_erase4kB ; 4kB | 330 rcall ext_flash_erase4kB ; 4kB |
331 rcall ext_flash_add_4kB ; increase ext_flash_address:3 by 4kB | 331 rcall ext_flash_add_4kB ; increase ext_flash_address:3 by 4kB |
332 rcall ext_flash_erase4kB ; 4kB | 332 rcall ext_flash_erase4kB ; 4kB |
333 rcall ext_flash_add_4kB ; increase ext_flash_address:3 by 4kB | 333 rcall ext_flash_add_4kB ; increase ext_flash_address:3 by 4kB |