printf("\n Data size: %d Bytes = ", ntohl(hdr->ih_size));
print_size(ntohl(hdr->ih_size), "\n");
- printf(" Load address: %08X\n Entry point: %08X\n", ntohl(hdr->ih_load), ntohl(hdr->ih_ep));
+ printf(" Load address: 0x%08X\n Entry point: 0x%08X\n", ntohl(hdr->ih_load), ntohl(hdr->ih_ep));
if(hdr->ih_type == IH_TYPE_MULTI){
int i;
return(1);
}
- puts("** Notice: you should always make a backup of your device\n entire FLASH content before making any changes\n\n");
+ puts("** Notice:\n you should always make a backup of your device\n entire FLASH content before making any changes\n\n");
memcpy((void *)data_pointer, (void *)(CFG_FLASH_BASE + OFFSET_MAC_DATA_BLOCK), OFFSET_MAC_DATA_BLOCK_LENGTH);