comparison CHANGES @ 667:2772cf8435b4

CHANGES: binary protocol for flash programming operations
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 19:43:10 +0000
parents 742c99c1ff52
children be641fa7b68d
comparison
equal deleted inserted replaced
666:51bcfb251b23 667:2772cf8435b4
3 * fc-loadtool memory dump commands (dump2bin and dump2srec) have been 3 * fc-loadtool memory dump commands (dump2bin and dump2srec) have been
4 reimplemented using loadagent's new BINDUMP command, sending the dump stream 4 reimplemented using loadagent's new BINDUMP command, sending the dump stream
5 from the target to the host in binary format instead of hex. This change 5 from the target to the host in binary format instead of hex. This change
6 speeds up the dump transfer time by a little over 2x. 6 speeds up the dump transfer time by a little over 2x.
7 7
8 * fc-loadtool flash programming commands (flash program-bin, program-m0 and
9 program-srec) have likewise been changed to use a new binary protocol,
10 producing some improvement in flash programming times, particularly when a
11 slow 115200 baud serial link has to be used.
12
8 * fc-xram uses the new binary protocol to transfer the user's XRAM image to the 13 * fc-xram uses the new binary protocol to transfer the user's XRAM image to the
9 target, producing a speed increase of 3.5x to 5x for the most common use 14 target, producing a speed increase of 3.5x to 5x for the most common use
10 cases. Also added CRC-32 verification of the downloaded RAM regions before 15 cases. Also added CRC-32 verification of the downloaded RAM regions before
11 jumping to the downloaded image. 16 jumping to the downloaded image.
17
18 * New version of loadagent has added support for the new binary protocols for
19 memory dumps, flash programming and XRAM loading.
12 20
13 * All loadtools programs: the step of feeding the IRAM code image to the 21 * All loadtools programs: the step of feeding the IRAM code image to the
14 Calypso boot ROM has been sped up by about 700 ms by grouping contiguous 22 Calypso boot ROM has been sped up by about 700 ms by grouping contiguous
15 S-record payloads into larger blocks (up to the boot ROM limit of 1014 bytes 23 S-record payloads into larger blocks (up to the boot ROM limit of 1014 bytes
16 per block) instead of sending each S-record payload (30 bytes typically) as 24 per block) instead of sending each S-record payload (30 bytes typically) as