lpc21isp version 1.91

Change between 1.86 and 1.91:

1.87   2012-12-18 Philip Munts
                  Added a section of code to ResetTarget() in lpc21isp.c to allow using Linux GPIO pin
                  to control reset and ISP.
1.88   2013-04-25 Torsten Lang, Uwe Schneider GmbH
                  Fixed answer evaluation
                  Added sector tables for LPC1833
                  XON/XOFF handling according to LPC manual
                  Changed COMMTIMEOUTS settings according to MS help
                  Changed waiting code from tick counting to system time usage
                  Set MM timers to 1ms resolution (otherwise waiting in the serial driver is limited to multiples of 10ms)
                  Send all commands with <CR><LF> according to NXP UM
                  Change answer evaluation to match at least LPC17xx and LPC18xx families (LPC17xx just mirrors the first character of
                    the LF sequence, LPC18xx mirrors the first character and adds an <LF> which then will lead to a <CR><LF><LF>
                    sequence, all other lines are terminated with <CR><LF> as documented)
                  Change answer formatting by filtering leading <LF> characters because they can be left over from a previous response
                  Store residual data of an answer (required for the J command which will deliver two words in case of the LPC18xx)
                  Expanded configuration table by second identification word and usage flag
                  Do a two stage scan in case that a device with two identification words is detected
1.89   2013-06-27 Martin Maurer
                  Thanks to Manuel and Henri for bugfixes and speed-ups
                  Bugfix: In case of LPC8XX, XON/XOFF handling must be switched off,
                  otherwise download gets broken, because XON/XOFF are filtered out...
1.90   2013-06-27 Martin Maurer
                  Add checksum calculation for LPC8XX
                  winmm function only available in MSVC, put ifdefs around
                  Workaround for lost characters of LPC8XX
1.91   2013-06-28 Torsten Lang, Uwe Schneider GmbH
                  Minor bugfix for the residual data handling
lpc21isp version 1.92
Fix compile error under Linux
lpc21isp version 1.94

Changes between 1.92 and 1.94:

1.93   2013-07-05 Andrew Pines
                  changed Makefile to exclude "-static" from CFLAGS when building for OS X
                  changed serial timeout for *nix to use select
                  added -boothold argument to assert ISP throughtout programming sequence
                  added support for -try<n> command line argument (was in help, didn't actually work)
1.94   2013-08-10 Martin Maurer
                  Add (assumed) part id values for LPC4333 and LPC4337
                  Correct table entries for all LPC43xx part id numbers
                  (missing flag for two word part ids and second word for LPC4333 and LPC4353)
                  Merge in optimization (thanks to Stefan) to skip empty sectors
                  Correct help output of "-boothold"
                  Add workaround table entry for LPC4357 and word1 equal to 0x0EF60000
                  Bugfix for wrong check of word0/word1 combination
                  Correct a lot entries in lpc property table of LPC18xx and LPC43xx

                  LPC18xx and LPC43xx: Add warning message, that wipe erases only bank A
Add possibility to use Travis CI
Remove clang, usage not supported in Makefile
lpc21isp version 1.95:

Add a lot of new chip ids for LPC1763, LPC11Exx, LPC11Uxx
(completely untested because I don't have these chips)
Corrected checking of 2 field chip ids (must be masked)
Corrected Makefile (-static)
Move while directory with files into a subdirectory
lpc21isp version 1.96:

Martin Maurer merged changes by Moses McKnight
Added devices: LPC1315, LPC1316, LPC1317, LPC1345, LPC1346, LPC1347
Add .gitignore file (MM: Removed *.layout)
Remove lpc21isp.depend
Martin Maurer merged bugfix by smartavionics:
- Wrong length in ReceiveComPort
- Enable SerialTimeoutTick
Martin Maurer merged bugfix by justyn:
- Fix the total sector size fields for 1114.../323 and 1114.../333
lpc21isp version 1.97:

Martin Maurer merged bugfix by imyller:
- Support for bad UARTs: added -writedelay command-line switch
Martin Maurer
Add some new chip ids for LPC11xx
Updated .gitignore file (Now with ignored *.layout)
Removed *.layout from lpc21isp project
Removed *.depend from lpc21isp project
Merged with upstream