Is there some reason why you cast to u8*, instead of DFUStatus*?