fprintf(stderr,"Flash memory ID invalid (0x%.8x). ",flash_id);
fprintf(stderr,"Flash memory ID invalid (0x%.8x). ",flash_id);
fprintf(stderr,"You are probably running an old version of the bootloader\n");
fprintf(stderr,"You are probably running an old version of the bootloader\n");
...
@@ -328,17 +335,17 @@ static int program_flash(struct bitstream *bitstream,
...
@@ -328,17 +335,17 @@ static int program_flash(struct bitstream *bitstream,
printf("Flash ID: 0x%.7x, OK\n",flash_id);
printf("Flash ID: 0x%.7x, OK\n",flash_id);
if(fpga_bootloader_flash){
if(fpga_bootloader_flash){
charconfirm[1024];
charconfirm[1024];
printf("\nWARNING! You're about to update the SVEC bootloader. \nIf this operation fails (due to incorrect bitstream or power loss), the card "
"can be only recovered through JTAG.\n\n");
printf("\nWARNING! You're about to update the SVEC bootloader. \nIf this operation fails (due to incorrect bitstream or power loss), the card can be only recovered through JTAG.\n\n");
printf("Type 'yes' to continue or Ctrl-C to exit the program: ");
printf("Type 'yes' to continue or Ctrl-C to exit the program: ");