Improved flash memory programming method; increased speed by a factor of 3.
authorscottlivingston <scottlivingston@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sat, 24 Apr 2010 23:45:31 +0000 (23:45 +0000)
committerscottlivingston <scottlivingston@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Sat, 24 Apr 2010 23:45:31 +0000 (23:45 +0000)
commitd7ae4372f26d54de020ccef936a0a7901808bd23
treeb74fab47d84de4a858d5865b07372cead80b4df4
parent1f8e984b38e60a3b2aa0609864f05250cc8df673
Improved flash memory programming method; increased speed by a factor of 3.

For example, for a dsPIC33F program that has a text segment
of 2347 instructions,
the old method requires about 126 seconds to program the MCU,
whereas the new method requires only 42 seconds.

This has been tested with dsPIC33FJ128GP710 and dsPIC33FJ128GP708 chips
using a GoodFET30 board.

Additionally, an extra and unnecessary "goto 0x200" instruction was removed
from several locations of the PIC programmer code (client and firmware app).

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@464 12e2690d-a6be-4b82-a7b7-67c4a43b65c8
client/goodfet.pic
firmware/apps/pic/dspic33f.c