I suspect there is not enough program space to support both PIO programs. In any case there should be an error message, not a hard lock.