debian/0000755000000000000000000000000012206743055007172 5ustar debian/gbp.conf0000644000000000000000000000003612176562537010622 0ustar [DEFAULT] pristine-tar = True debian/source/0000755000000000000000000000000012176562537010504 5ustar debian/source/format0000644000000000000000000000001412176562537011712 0ustar 3.0 (quilt) debian/source/include-binaries0000644000000000000000000000073012176562537013644 0ustar obj-i486-linux-gnu/CMakeFiles/CMakeDetermineCompilerABI_C.bin obj-i486-linux-gnu/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin obj-i486-linux-gnu/CMakeFiles/CompilerIdC/a.out obj-i486-linux-gnu/CMakeFiles/CompilerIdCXX/a.out obj-i486-linux-gnu/CMakeFiles/lpc21isp.dir/adprog.c.o obj-i486-linux-gnu/CMakeFiles/lpc21isp.dir/lpc21isp.c.o obj-i486-linux-gnu/CMakeFiles/lpc21isp.dir/lpcprog.c.o obj-i486-linux-gnu/CMakeFiles/lpc21isp.dir/lpcterm.c.o obj-i486-linux-gnu/lpc21isp debian/lpc21isp.manpages0000644000000000000000000000002212176562537012350 0ustar debian/lpc21isp.1 debian/control0000644000000000000000000000122112203123561010560 0ustar Source: lpc21isp Section: devel Priority: extra Maintainer: Agustin Henze Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.4 Homepage: http://sourceforge.net/projects/lpc21isp/ Vcs-Git: git://anonscm.debian.org/collab-maint/lpc21isp.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/lpc21isp.git Package: lpc21isp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: In-circuit programming (ISP) of ARM and Cortex microcontrollers In-circuit programming (ISP) tool for the NXP(Philips) LPC1100/LPC1300/LPC1700/LPC2000 series ARM7/Cortex-M0/ Cortex-M3 microcontrollers. debian/lpc21isp.install0000644000000000000000000000002212203116003012171 0ustar lpc21isp /usr/bin debian/rules0000755000000000000000000000161012203123535010240 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n -e's/^Version: \(.*\)-[^-]\+/\1/p') VERSION_WITHOUT_POINT := $(shell echo $(UPSTREAM_VERSION) | tr -d ".") %: dh $@ override_dh_auto_clean: make clean override_dh_auto_build: cc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o lpc21isp lpc21isp.c adprog.c lpcprog.c lpcterm.c override_dh_installchangelogs: dh_installchangelogs debian/lpc21isp.changelog.upstream get-orig-source: @if [ ! -d "debian" ] ; then \ echo 'Run this from the top directory of the Debian source' >&2; \ exit 1; \ fi wget http://sourceforge.net/projects/lpc21isp/files/lpc21isp/$(UPSTREAM_VERSION)/lpc21isp_$(VERSION_WITHOUT_POINT).tar.gz/download -O ../lpc21isp_$(UPSTREAM_VERSION).orig.tar.gz; debian/changelog0000644000000000000000000000301312206742756011050 0ustar lpc21isp (1.94-2) unstable; urgency=low * Remove unnecessary patch * Use my debian account in the Maintainer field * Add get-orig-source target into debian/rules file -- Agustin Henze Mon, 26 Aug 2013 18:15:33 -0300 lpc21isp (1.94-1) unstable; urgency=low * Add debian/watch file * Imported Upstream version 1.94 * Now use dh instead of CDBS for building the package * Convert debian/copyright file to machine readable * Updated upstream changelog * Add get-orig-source target into debian/rules file -- Agustin Henze Thu, 15 Aug 2013 12:20:19 +0200 lpc21isp (1.85-2) unstable; urgency=low * Bumped Standard-Version to 3.9.4 (no changes required) * Fixed lintian warning about non-canonical vcs field. -- Agustin Henze Fri, 22 Mar 2013 18:36:17 -0300 lpc21isp (1.85-1) unstable; urgency=low * Imported Upstream version 1.85 * Added git-buildpackage config * Removed patch 02-macros_disabled_for_build_in_armhf_and_armelf, fixed in the upstream release. * Improved package description. * Added Vcs-git and Vcs-Browser fields * Added upstream changelog -- Agustin Henze Tue, 05 Feb 2013 22:02:51 -0300 lpc21isp (1.8.3-2) unstable; urgency=low * Fix FTBFS on armhf and armel: Disable weird macros. -- Agustin Henze Thu, 04 Aug 2012 16:11:20 -0300 lpc21isp (1.8.3-1) unstable; urgency=low * Initial release (Closes: #683679) -- Agustin Henze Thu, 02 Aug 2012 15:43:20 -0300 debian/lpc21isp.changelog.upstream0000644000000000000000000005440412202440557014343 0ustar 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 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 command line argument (was in help, didn't actually work) 1.92 2013-06-29 Martin Maurer Thanks to Phil for reporting Linux compile errors Update README 1.91 2013-06-28 Torsten Lang, Uwe Schneider GmbH Minor bugfix for the residual data handling 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.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.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 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 which then will lead to a sequence, all other lines are terminated with as documented) Change answer formatting by filtering leading 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.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.86 2012-12-14 diskrepairman Added devices: LPC1114/203 LPC1114/303 LPC1114/323 LPC1114/333 LPC1115/303 1.85 2012-12-13 Philip Munts Fixed conditional compilation logic in lpc21isp.h to allow compiling for ARM Linux. 1.84 2012-09-27 Philip Munts Added chip id's for more LPC11xx parts, per UM10398 Rev. 11 26 July 2012 1.83 2011-08-02 Martin Maurer Thanks to Conurus for detecting and fixing a bug with patching checksum (patching was too early, chip id was not yet available) (Re-)Added code to start downloaded via "G 0 T", when using LPC1xxx (Starting code at position 0 seems to work, compare to comment of version 1.70) Changed some occurances of Philips to NXP Added -static to Makefile (thanks to Camilo) Added support for LPC1311/01 and LPC1313/01 (they have separate identifiers) Correct flash size of LPC1342 to 16 KByte (thanks to Decio) Abort programming when unknown NXP chip id is detected 1.82 2011-06-25 Moses McKnight Corrected MaxCopySize for a number of the LPC11xx series Added support for several more LPC11xx and LPC11Cxx series 1.81 2011-03-30 Mario Ivancic As per message #517 from Thiadmer Riemersma, removed WaitForWatchDog and WatchDogSeconds in PhilipsDownload(). 1.80 2010-03-04 Philip Munts Added entries to LPCtypes[] in lpcprog.c for obsolete revisions of LPC2364/6/8/78. Added entry to LPCtypes[] in lpcprog.c for new LPC2387. 1.79 2010-02-19 Andrew Pines Added __APPLE__ flag to CFLAGS in Makefile to detect and handle OS X Added -Wall to Makefile to report warnings more comprehensively Added #define in lpc21isp.h to substitute strnicmp with strncasecmp (needed for Unix) Fixed a few format specifiers in lpcprog.c to eliminate some warnings 1.78 2010-02-16 Martin Maurer Corrected chip id of LPC1751 Added support for LPC1759, LPC1767 and LPC1769 1.77 2010-02-01 Martin Maurer Corrected chip id of LPC1342 and LPC1343 Added a new chip type for LPC11xx and LPC13xx microcontrollers Use higher area of RAM with LPC11xx and LPC13xx, because lower RAM is occupied by ISP Add code to lpcprog.c to read unique id, but not yet activate. Adapt block sizes for copying for each model of LPC11xx and LPC13xx 1.76 2010-02-01 Published test version without source code 1.75 2010-01-05 Martin Maurer Added support for LPC11xx devices (not tested at all) Changed Product in LPC_DEVICE_TYPE from number to string to distinguish new LPC11 devices Changed "unsigned" to "unsigned int" in LPC_DEVICE_TYPE 1.74 2009-09-14 Mario Ivancic Added support for multiple HEX files, besed on internal version 1.37B. NOTE: this feature is used in production in 1.37B but is not tested in this version. Added numeric debug level command line switch -debugn, n=[0-5] Added command line scitch -try n to specify nQuestionMarks limit. Default: 100 Merged in DoNotStart patch from cgommel_new Static functions declarations moved from lpc21isp.h to this file Modified LoadFile() to return error_code instead exit(1) Removed IspEnvironment.debug_level, all code uses global debug_level 1.73 2009-09-14 Martin Maurer Correct again (hopefully the last time) the CPUIDs for some LPC17xx devices (Now according to User Manual LPC17xx Version 00.07 (31 July 2009)) 1.72 2009-09-14 Martin Maurer Add support for LPC13xx devices 1.71 2009-07-19 Martin Maurer Added LPC17xx with CPUID starting with 0x26 (not according user manual) 1.70 2009-06-29 Martin Maurer Further improvement of LPC17xx support Workaround for booter (4.1) of LPC17xx, which does not echo all sent characters (0D,0A,...) ISP command GO seems to be broken: Sending 'G 196 T(0A)' Answer(Length=15): 'G 196 T(0A)0(0D)(0A)' leads to 'prefetch_abort_exception(0D)(0A)1FFF07A5' No solution known...need your help here... Manual workaround: Use DTR and RTS toggling to start application (e.g. 2 batch files) 1.69 2009-06-18 Martin Maurer Add support for LPC17xx devices 1.68 2009-05-17 Martin Maurer Merge in changes done by Bruno Quoitin (baudrate problem when __APPLE__ is used) Remove TABs from source code and replaced them with spaces 1.67 2009-04-19 SASANO Takayoshi Add OpenBSD support 1.66 2009-03-26 Vito Marolda Corrected interpretation of intel hex record 03 which is execution start address and not data segment address 1.65 2009-03-26 Vito Marolda Added pre-erasure of sector 0 to invalidate checksum before starting modification of the other sectors, so that the bootloader restarts if programming gets aborted while writing on a non-empty part. 1.64 2009-01-19 Steve Franks __FREEBSD__ changed to __FreeBSD__ at some point, plus other com port fixes 1.63 2008-11-23 Martin Maurer Changed to GNU Lesser General Public License 1.62 2008-11-19 Martin Maurer Added (untested) support for LPC2109 Added (untested) support for LPC2361 / LPC2362 Heavy update of part identification number of LPC23xx and LPC24xx Correct bug, that hex file must exist, when "-detectonly" is used Correct Makefile.vc: use /Fe instead of -o 1.61 2008-10-21 Fausto Marzoli (thanks to Geoffrey Wossum for the patches) Fix for compiling latest version under Linux and "ControlLinesSwapped" issue 1.60 2008-07-21 Martin Maurer Added uptodate part ids for LPC2458, LPC2468 and LPC2478 Add comment "obsolete" for older part ids for LPC2458 and LPC2468 Add ", " between compile date and time 1.59 2008-07-07 Peter Hayward Fixed freeze under Windows XP SP2 by removing redundant call to SetCommMask. 1.58 2008-05-10 Herbert Demmel dh2@demmel.com I had the special requirement to integrate the program into my own Windows software compiled with Borland C++ Builder 5. I had to do some minor changes for Borland (see defined __BORLANDC__) and modified to code slightly to have some simple callbacks for screen i/o (see define INTEGRATED_IN_WIN_APP). Please note that I do *not* check / modify the part for AnalogDevices !! Besides that I fixed some minor issues: added dcb.fOutxCtsFlow = FALSE and dcb.fOutxDsrFlow = FALSE (sometimes required) Now comparing one character less of answer to "Now launching ... code" command 1.57 2008-04-06 Mauricio Scaff Changed OpenSerialPort to work with MacOS Corrected the number of sectors in some 512K devices (28 instead of 27) Added support for LPC2387 and LPC2388 Defined BL error 19 (Code Protected) 1.56 2008-04-01 Steve Franks Integrate FreeBSD patch. Add support for swapping and/or inverting RTS & DTR 1.55 2008-03-03 Martin Maurer Thanks to Fausto Marzoli, bugfix for compiling latest version under Linux 1.54 2008-03-03 Martin Maurer Try to bring lpc21isp back to a useable state in Windows, Cygwin, Linux and Mac OS. Merged in changes by Erika Stefanini, which were done only for old version 1.49: Added device ids for revision B chips 1.53 2008-02-25 Changes by Michael Roth Get priority of debug messages with -control right 1.52 2008-01-22 Changes by Manuel Koeppen Made compileable again for linux and windows Fixed bug in ClearSerialPortBuffers (linux) 1.51 2007-11-20 Changes by Simon Ellwood Split into seperate files Made more modular so when used in an embedded mode only the required code is built 1.50 2007-10-31 Changes by Simon Ellwood Formated the code for readablity Fixed some c++ compiler issues 1.49 2007-10-16 New Option -halfduplex allow single wire using. Implemented and tested only for Windows. Data Resend implemented. 1.48 2007-04-20 Martin Maurer Thanks to Josef Wolf for preventing to overwrite over end of array 1.47 2007-02-27 Robert Adsett Raised timeout on AD send packet function. 1.46 2007-02-25 Martin Maurer Again corrected debug output: should solve output of (FFFFFFB5) instead of (B5) 1.45 2007-02-25 Martin Maurer Replace printf syntax of DumpString by a simple pointer to a string printf syntax is a nice thing, but it is not working :-( and therefore makes debugging much more difficult... Moved VERSION_STR to top of file to avoid possible cosmetical errors 1.44 2007-02-23 Yang Yang Added feature for LPC21: Verify the data in Flash after every writes to sector. To detect errors in writing to Flash ROM. 1.43 2007-01-29 Martin Maurer Moved keyboard handling routines to own subroutines, so they can be used during aborting synchronisation. Newest cygwin made problems, StringOscillator always contained '\0x0d' at the end, when calling lpc21isp from batch file 1.42 2007-01-28 Rob Probin Added -localecho command to allow local echoing in terminal mode for use where target does not echo back keystrokes. 1.41 2007-01-28 Jean-Marc Koller Modified Terminal() to disable ECHO with termios only once, instead of modifying and restoring termios in each getch and kbhit call (which caused a strange echo behaviour in MacOS X). 1.40 2007-01-22 Martin Maurer Correction of chip id of LPC2458 1.39 2007-01-12 Martin Maurer Added initial support for new processors LPC23xx and LPC24xx 1.38 2007-01-05 Ray Molenkamp Added feature for LPC21: Wipe entire device before programming to enable reflashing of chips with the lpc codeprotection feature enabled. 1.37 2006-10-03 Jeroen Domburg Added LPC2103 (and only the 2103, I can't find the IDs for 2101/2102) Corrected a loop which occured if the program completely fits in sector 0 1.36 2006-25-01 Cyril Holweck PhilipsDownload() will now return a unique error code for each error 1.35 2006-22-01 Cyril Holweck Added feature for LPC21: will start downloading at Sector 1 and upward, to finish with Sector 0, the one containing the checksum controling BSL entry 1.34 2006-10-01 Cyril Holweck: Made it compile again for lpc21isp Added const keyword to constant variables to make it better code for embeded target. (decrease RAM usage) Replaced all regular call to printf() by DebugPrintf() Removed call to scanf() (not much usefull and cost a lot to my target) 1.33 2006-10-01 Jean-Marc Koller: Added support for MacOS X (difference on how to set termios baudrate). 1.32 2005-12-02 Martin Maurer: Corrected missing control of RTS/DTR in case user selected -termonly and -control Small correction (typo in debug) 1.31 2005-11-13 Martin Maurer: Thanks to Frank Gutmann Updated number of sectors in device table for LPC2194, LPC2292 and LPC2294 1.30 2005-10-04 Rob Jansen: - forgot to change the version string in 1.29 - Wrong text in LoadFile corrected (printed text mentions record type 05, this should be 04 - Changed LoadFile to accept multiple record types 04 - Changed LoadFile to check on memory size, will not load more than x MB if linear extended address records are used 1.29 2005-09-14 Rob Jansen: Added functionality to download to RAM and run from there. In LoadFile() added record types 04 (Extended Linear Address Record) and 05 (Start Linear Address Record), added address offset (IspEnvironment->BinaryOffset) and start address (...->StartAddress). Changed PhilipsDownload to skip all Flash prepare/erase/copy commands. Note: Tested with VC7 only 1.28 2005-07-27 Anders Rosvall / Embedded Artists AB: Changed the reset timeout to 500 ms when entering the bootloader. Some external reset controllers have quite long timeout periods, so extening the timeout delay would be a good thing. 1.27 2005-06-29 Martin Maurer: Add LPC chip ID's (thanks to Robert from Philips) for missing LPC213x and upcoming new LPC214x chips (currently untested, because i don't have access to these chips, please give me feedback !) 1.26 2005-06-26 Martin Maurer: Correct check again: "G 0 A\r\n0\r\n" is cutted, because of reboot (error on running program, but reports CMD_SUCCESS) 1.25 2005-06-19 Martin Maurer: Setup more parameters in DCB, otherwise wrong code is downloaded (only Windows and Cygwin) when a previous program has changed these parameters Check exact string of "G 0 A\r\n0\r\n" instead of whole received buffer, to prevent checking of already received by program start (error on running program, but reports CMD_SUCCESS) Add ifdefs for all baudrates (needed only for high baudrate, which seem to be not available on Macs...) 1.24C 2005-06-11 Changes by Thiadmer Riemersma: added the device ID codes for chip types LPC2131 and LPC2132. 1.24B 2005-06-02 Changes by Thiadmer Riemersma: completed support for other chip types (LPC213x series and others). 1.23 2005-01-16 Build in automatic detection of LPC chiptype (needed for 256 KByte support) 1.22 2004-11-08 Changes from Cyril Holweck / Evgeny Sinelnikov Forgotten IspEnvironment-> and bugfixes if COMPILE_FOR_LINUX If COMPILE_FOR_LPC21, PhilipsDownload() 'acts as' main(): - it should not be static and should return int. - no sub-function can use exit() but only return () Use 'char' instead of 'byte' ;) 1.21 2004-11-08 Bugfix from Robert Adsett BinaryLength was not initialized 1.20 2004-11-07 Preparation for multiport booting (factory support) 1.19 2004-11-03 Changes by Robert Adsett Add support for Analog Devices. Separate file load from programming. Change from a debug on/off flag to debug level Remove if (debug) tests and replace with DebugPrintf statements. Change serial I/O and timing so that the system dependancies are isolated to a few portability functions. Add support for binary serial I/O. Add doxygen support. 1.18 2004-10-26 Changes by Cyril Holweck Added a "G 0 A\r\n" at end of programming to run code. 1.17 2004-10-21 Changes by Cyril Holweck Divide main, take out the real programming function, that can also be used by a target to copy its own code to another. 1.16 2004-10-09 Merged in bugfix / improvement by Sinelnikov Evgeny I found out that Linux and Windows serial port initialization are different with pinouts states. My board don't get reset signal at first cycle of DTR pinout moving. And I add this moving to initalization cycle. 1.15 2004-09-27 Temporary improvement by Cyril Holweck: Removed test (data echoed = data transmited) on the main data transfert, since this was the biggest failure reason and is covered by checksome anyway. Added COMPILE_FOR_LPC21, to have target dump it's own memory to stdout. 1.14 2004-07-07 Merged in improvement by Alex Holden: Remove little/big endian dependancy 1.13 2004-05-19 Merged in improvement by Charles Manning: Instead of exiting the wrong hex file size is corrected 1.12 2004-04-04 Add switch to enable logging terminal output to lpc21isp.log 1.11 2004-04-03 Small optimization for controlling reset line otherwise termonly starts LPC twice, free PC buffers 1.10 2004-04-03 Clear buffers before sending commands to LPC21xx, this prevents synchronizing errors when previously loaded program does a lot of output, so FIFO of PC runs full 1.09 2004-04-03 Redesign of upload routine Now always 180 byte blocks are uploaded, to prevent small junks in uuencoding 1.08 2004-04-01 Bugfix for upload problem 1.07 2004-03-14 Implement handling of control lines for easier booting 1.06 2004-03-09 Merged in bugfixes by Charles Manning: The '?' sychronisation does not reliably respond to the first '?'. I added some retries. The LPC2106 sometimes responds to the '?' by echoing them back. This sometimes causes an attempt to match "?Synchonized". Added code to strip off any leading '?'s. Timeouts were too long. Change from RTS/CTS to no flow control. Done because many/most people will use only 3-wire comms. Added some progress tracing. 1.05 2004-03-14 Implement printing of error codes as text / strings 1.04 2004-02-12 Merged in bugfixes by Soeren Gust 1.03 2004-01-25 Preparation to upload to public website 1.02 2004-01-10 Implemented conversion intel hex format -> binary 1.01 2004-01-10 Porting to Linux (at least compiling must work) 1.00 2004-01-08 Initial Version, tested for MSVC6/7 and GCC under Cygwin debian/copyright0000644000000000000000000000415612202523514011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lpc21isp Upstream-Contact: Martin Maurer Source: http://sourceforge.net/projects/lpc21isp/files/latest/download Files: * Copyright: (C) Martin Maurer 2003-2011, All rights reserved (C) 2004 Aeolus Development http://www.aeolusdevelopment.com License: LGPL-3 This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-3'. Files: debian/* Copyright: (C) 2012 Agustin Henze License: GPL-3 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/lpc21isp.10000644000000000000000000000527312202440661010711 0ustar .\" Manpage for lpc21isp. .\" Contact tin@sluc.org.ar to correct errors or typos. .TH man 1 "02 Aug 2012" "1.9.4" "lpc21isp man page" .\" -------------------------------------------------------------------- .SH NAME .\" -------------------------------------------------------------------- lpc21isp \- Is an in-circuit programming (ISP) tool for the NXP(Philips) microcontrollers .\" -------------------------------------------------------------------- .SH SYNOPSIS .\" -------------------------------------------------------------------- .SY lpc21isp .OP [Options] .OP file[ file[ ...]] .OP comport .OP baudrate .OP Oscillator_in_kHz .SY lpc21isp .OP \-bin .OP \-hex .OP \-term .OP \-termonly .OP \-localecho .OP \-detectonly .OP \-debug0 .OP \-debug3 .OP \-debug5 .OP \-donotstart .OP \-try .OP \-wipe .OP \-control .OP \-controlswap .OP \-controlinv .OP \-verify .OP \-logfile .OP \-halfduplex .OP \-ADARM .OP \-PHILIPSARM .\" -------------------------------------------------------------------- .SH DESCRIPTION .\" -------------------------------------------------------------------- lpc21isp is an in-circuit programming (ISP) tool for the NXP(Philips) LPC1100/LPC1300/LPC1700/LPC2000 series ARM7/Cortex-M0/Cortex-M3 microcontrollers. .\" -------------------------------------------------------------------- .SH OPTIONS .\" -------------------------------------------------------------------- .TP .B \-bin for uploading binary file . .TP .B \-hex for uploading file in intel hex format (default) . .TP .B \-term for starting terminal after upload . .TP .B \-termonly for starting terminal without an upload . .TP .B \-localecho for local echo in terminal . .TP .B \-detectonly detect only used LPC chiptype (PHILIPSARM only) . .TP .B \-debug0 for no debug . .TP .B \-debug3 for progress info only . .TP .B \-debug5 for full debug . .TP .B \-donotstart do not start MCU after download . .TP .B \-try try .BR n times to synchronise . .TP .B \-wipe Erase entire device before upload . .TP .B \-control for controlling RS232 lines for easier booting (Reset = DTR, EnableBootLoader = RTS) . .TP .B \-controlswap swap RS232 control lines (Reset = RTS, EnableBootLoader = DTR) . .TP .B \-controlinv Invert state of RTS & DTR (0=true/assert/set, 1=false/deassert/clear). . .TP .B \-verify Verify the data in Flash after every writes to sector. To detect errors in writing to Flash ROM . .TP .B \-logfile for enabling logging of terminal output to lpc21isp.log . .TP .B \-halfduplex use halfduplex serial communication (i.e. with K-Line) . .TP .B \-ADARM for downloading to an Analog Devices ARM microcontroller ADUC70xx . .TP .B \-PHILIPSARM for downloading to a microcontroller from NXP(Philips) LPC13xx/LPC17xx/LPC2000 family (default) . debian/compat0000644000000000000000000000000212176562537010402 0ustar 9 debian/watch0000644000000000000000000000043312176564112010224 0ustar version=3 opts=dversionmangle=s/\+dfsg\d*$//;s/^1\.8\.3$/1.83/,\ uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/;s/^(\d)(\d\d)$/$1.$2/ \ http://qa.debian.org/watch/sf.php/lpc21isp/lpc21isp[_\-](\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|jar)