Hi!
I've got some patches for the dsp5680xx.
number 0001 is missing, since it was only interface stuff (separate email)
i've forked to: git://repo.or.cz/openocd/dsp568013.git

//-------------------------------------------------------
# 0002-fix-flash-driver-size-sector-erase
The previous implementation of the driver used a nasty workaround for
byte/word addressing issue (openocd uses byte addressing, and this
target has 2 bytes per memory address) that consisted in lying about
the memory available and forcing the flashing procedure to stop if it
attempted to write to an invalid address.
Now the driver receives info from openocd in bytes and handles it in
an appropriate manner.

The chip supports individual flash sector erasing. this functionality
is now implemented.

//-------------------------------------------------------
0003-fix-read-speed-improved-by-queueing-commands
Queuing read commands in the read loop (which does make use of the
drscan data, and hence does not need to wait for the it) got reading
to go much master. still not fast, but significantly improved
(verify_image runs at ~1.8KiB/s, it used to be eternal).

//-------------------------------------------------------
0004-fix-read-for-verify_image
The tcl command verify_image now works correctly (openocd does the
interesting part, checksum_memory returns and error to get openocd to
take care of the CRC. core CRC not impemented yet.).

//-------------------------------------------------------
0005-cleanup-flash-module-command
Removed unused stuff and improved the speed of the functions that
execute commands on the dsp5680xx core's flash module (erase, write,
calculate checksums, verify erase).

//-------------------------------------------------------
0006-removed-unnecessary-actions-controls
Several functions checked stuff or did things that proved unnecessary
and/or redundant. they were removed.

//-------------------------------------------------------
0007-flash-speed-improved
Queued some commands used during flashing to improve the speed
(currently 12.443 KiB/s)

//-------------------------------------------------------
0008-cleanup-trailing-whitespaces
Cleanup: Removed some trailing whitespaces.

//-------------------------------------------------------
0009-fix-protection-behavior
The flash module on this target supports both protection and security.
protection refers to undesired core access, and security refers to
undesired external access (JTAG).
The previous implementation was not very clear about this.
Protection is not implemented, only security (completely locking
flash, preventing access to the code running (flash can be accessed
only after erasing it)).

any comments are more than welcome.
thanks!

-- 
Rodrigo.

Attachment: 0002-fix-flash-driver-size-sector-erase.patch
Description: Binary data

Attachment: 0003-fix-read-speed-improved-by-queueing-commands.patch
Description: Binary data

Attachment: 0004-fix-read-for-verify_image.patch
Description: Binary data

Attachment: 0005-cleanup-flash-module-command.patch
Description: Binary data

Attachment: 0006-removed-unnecessary-actions-controls.patch
Description: Binary data

Attachment: 0007-flash-speed-improved.patch
Description: Binary data

Attachment: 0008-cleanup-trailing-whitespaces.patch
Description: Binary data

Attachment: 0009-fix-protection-behavior.patch
Description: Binary data

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to