FreeCalypso > hg > freecalypso-tools
changeset 629:0f70fe9395c4
fc-loadtool: bug in the new program-m0 CRC-32 verification
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 29 Feb 2020 09:10:39 +0000 |
parents | 9c5b0629e346 |
children | 8c6e7b7e701c |
files | loadtools/flprogsrec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/loadtools/flprogsrec.c Sat Feb 29 02:14:30 2020 +0000 +++ b/loadtools/flprogsrec.c Sat Feb 29 09:10:39 2020 +0000 @@ -287,7 +287,7 @@ return(-1); printf("Verifying CRC-32 of %u programmed region(s)\n", nregions); for (reg = 0, regp = regions; reg < nregions; reg++, regp++) { - rc = crc32_on_target((u_long) regp->start, + rc = crc32_on_target((u_long) (bi->base_addr + regp->start), (u_long) (regp->end - regp->start), &crc_from_target); if (rc < 0)