XC5K_REG_PRODUCT_ID
error = xc5k_read_2(xc, XC5K_REG_PRODUCT_ID, &product_id);
if (xc5k_read_2(xc, XC5K_REG_PRODUCT_ID, &product_id))