fix backwards NULL check
Merge branch 'mem_select' into blank_check
Merge branch 'blank_check' into flash_block_addr
fix end address error
bugfix in programming device, incr. start byte