Nathael Pajani [Sat, 16 Feb 2019 13:16:40 +0000 (14:16 +0100)]
Replace french "octet" with "byte"

Nathael Pajani [Sat, 16 Feb 2019 13:15:56 +0000 (14:15 +0100)]
Add some trace and final completion message

Nathael Pajani [Sat, 16 Feb 2019 11:59:23 +0000 (12:59 +0100)]
Update device table
- Add support for LPC822
- Add support for LPC1224FBD48/121 and LPC1226FBD48/301 variants of LPC12XX
- align existing fields to allow bigger flash and RAM sizes

Senthil Kumaresan [Fri, 15 Feb 2019 15:56:12 +0000 (10:56 -0500)]
Added support for LPC54114 chipset in lpctools_parts.def

Signed-off-by: Nathael Pajani <nathael.pajani@ed3l.fr>
Nathael Pajani [Sat, 16 Feb 2019 10:02:16 +0000 (11:02 +0100)]
Add comments to help differentiate the use of serial buffer flush functions

Nathael Pajani [Sat, 16 Feb 2019 09:41:26 +0000 (10:41 +0100)]
Update clean rule in makefile to clean all targets

Cyprien Laplace [Sat, 5 Aug 2017 20:15:18 +0000 (16:15 -0400)]
Flush serial port input first

There can be few characters in the serial port buffer. Draining
them before attempting synchronization avoids synchronization
issues.

Cyprien Laplace [Sun, 15 Feb 2015 23:39:17 +0000 (18:39 -0500)]
Fix isp_serial_write() in case of non-complete write

On OS X, the write() to the serial port only sends 1024 bytes, and then
returns an EAGAIN error. Now we use the same wit mechanism than on read,
to send the rest of the data once port is ready.

Cyprien Laplace [Sun, 15 Feb 2015 22:03:21 +0000 (17:03 -0500)]
fix for Mac OS X

Two small fixes to let lpcprog work on OS X Yosemite:
- initialize errno to 0 before strtoul() and errno testing
- pad the parts structure as OSX seems to align the size of the
  structure on 64-bit boundary, which made it think there were 10
  values to read instead of 9

Nathael Pajani [Tue, 10 Mar 2015 20:46:34 +0000 (21:46 +0100)]
Move to version 1.07

Nathael Pajani [Tue, 10 Mar 2015 20:46:23 +0000 (21:46 +0100)]
Add lpc_binary_check tool

Nathael Pajani [Tue, 10 Mar 2015 20:44:49 +0000 (21:44 +0100)]
Display the values in the right order, according to the text.

Nathael Pajani [Tue, 10 Mar 2015 20:44:19 +0000 (21:44 +0100)]
Small fixes in comments and README file

Nathael Pajani [Tue, 10 Mar 2015 20:43:21 +0000 (21:43 +0100)]
Adding CRP Checking.

nathael Pajani [Wed, 9 Jul 2014 12:12:00 +0000 (14:12 +0200)]
Moving to version 1.06 for a spelling mistake :(

nathael Pajani [Wed, 9 Jul 2014 12:06:44 +0000 (14:06 +0200)]
oups, should engrave this one in my keyboard's plastic frame.

nathael Pajani [Tue, 8 Jul 2014 19:25:38 +0000 (21:25 +0200)]
Many small modifications for integration into Debian

Nathael Pajani [Wed, 2 Jul 2014 07:50:12 +0000 (09:50 +0200)]
Much better makefile (from my point of view at least)

Nathael Pajani [Thu, 17 Apr 2014 08:18:07 +0000 (10:18 +0200)]
Adding definition for LPC11A04UK

Nathael Pajani [Thu, 3 Oct 2013 21:44:38 +0000 (23:44 +0200)]
Fix read for parts not using uuencode data transfer.
Make it version 1.04

Nathael Pajani [Thu, 3 Oct 2013 14:03:46 +0000 (16:03 +0200)]
Also skip uudecode for reading when the LPC does not uuencode data.

Nathael Pajani [Thu, 3 Oct 2013 13:26:42 +0000 (15:26 +0200)]
change version number

Nathael Pajani [Thu, 3 Oct 2013 13:26:29 +0000 (15:26 +0200)]
add ctags generated file and binaries to gitignore file

Nathael Pajani [Thu, 3 Oct 2013 13:17:15 +0000 (15:17 +0200)]
Support LPC81X which do not need uuencode
Adding parameter to parts definition file to do so.

Nathael Pajani [Thu, 3 Oct 2013 13:15:03 +0000 (15:15 +0200)]
Fix boot code revision display (put major/minor in right order)

Nathael Pajani [Thu, 3 Oct 2013 13:13:26 +0000 (15:13 +0200)]
Adding git ignore file

Nathael Pajani [Wed, 28 Aug 2013 11:42:46 +0000 (13:42 +0200)]
First version of lpcprog man page

Nathael Pajani [Wed, 28 Aug 2013 11:41:55 +0000 (13:41 +0200)]
Change the order for LPC parts file lookup.

Nathael Pajani [Sun, 21 Jul 2013 23:21:24 +0000 (01:21 +0200)]
Adding default LPC parts definition file

Nathael Pajani [Sun, 21 Jul 2013 23:20:42 +0000 (01:20 +0200)]
Changed ttyUSB1 to ttyUSB0 in regression test files
Added a few tests

Nathael Pajani [Sun, 21 Jul 2013 23:19:36 +0000 (01:19 +0200)]
Read parts description from config file

Nathael Pajani [Sun, 21 Jul 2013 23:18:25 +0000 (01:18 +0200)]
Use options (short or long) for serial device name and command

Nathael Pajani [Sun, 21 Jul 2013 23:14:22 +0000 (01:14 +0200)]
Fixed mrproper rule

Nathael Pajani [Sun, 21 Jul 2013 23:12:17 +0000 (01:12 +0200)]
Change the behavior for user code computation.
New default is to compute the code, with option to turn computation off.

Also fixed option string for freq argument (added ':' as it requires one)

Nathael Pajani [Sun, 21 Jul 2013 23:06:32 +0000 (01:06 +0200)]
Add comment for parameter

Nathael Pajani [Fri, 1 Mar 2013 13:49:30 +0000 (14:49 +0100)]
Adding readme and licence files

Nathael Pajani [Fri, 1 Mar 2013 13:49:14 +0000 (14:49 +0100)]
Changing PROG_NAME and VERSION defines.

Nathael Pajani [Fri, 1 Mar 2013 13:48:40 +0000 (14:48 +0100)]
Changing files header comments to remove mentions of LPC1114

Nathael Pajani [Fri, 1 Mar 2013 13:47:04 +0000 (14:47 +0100)]
Changing binary names in non regression test files

Nathael Pajani [Fri, 1 Mar 2013 13:46:32 +0000 (14:46 +0100)]
Changing binary names

Nathael Pajani [Fri, 1 Mar 2013 09:25:33 +0000 (10:25 +0100)]
Removed explicit rules and added dependencies.

Nathael Pajani [Fri, 1 Mar 2013 08:55:09 +0000 (09:55 +0100)]
Added support for LPC1224 Devices

Nathael Pajani [Fri, 1 Mar 2013 08:54:42 +0000 (09:54 +0100)]
Augmented delay before blank check result reading for slow devices.

Nathael Pajani [Sun, 26 Aug 2012 19:34:22 +0000 (21:34 +0200)]
Right settings for LPC1764

Nathael Pajani [Sat, 25 Aug 2012 20:46:33 +0000 (22:46 +0200)]
comment modification, tried to make it more explicit

Nathael Pajani [Sat, 25 Aug 2012 20:46:08 +0000 (22:46 +0200)]
Adding LPC1764FBD100 chip support

Nathael Pajani [Sat, 25 Aug 2012 20:45:41 +0000 (22:45 +0200)]
Modifications to drop input buffer content rather than trying to read the axact amount of data.

Nathael Pajani [Mon, 21 May 2012 22:43:57 +0000 (00:43 +0200)]
check was not meant for check of flash, but for check of user code.
corrected and implemented

Nathael Pajani [Mon, 21 May 2012 22:43:03 +0000 (00:43 +0200)]
Change return values

Nathael Pajani [Mon, 21 May 2012 22:41:54 +0000 (00:41 +0200)]
Correct options for getopt_long

Nathael Pajani [Mon, 21 May 2012 22:41:21 +0000 (00:41 +0200)]
Wipe is done in flash_target
Maybe we should keep it here ...

Nathael Pajani [Mon, 21 May 2012 17:13:32 +0000 (19:13 +0200)]
Adding flash_target support to prog

Nathael Pajani [Mon, 21 May 2012 17:13:05 +0000 (19:13 +0200)]
Adding isp_file_to_buff to isp_utils library (regression tests not done)

Nathael Pajani [Mon, 21 May 2012 17:12:09 +0000 (19:12 +0200)]
Adding erase flash support to prog

Nathael Pajani [Mon, 21 May 2012 17:10:13 +0000 (19:10 +0200)]
Adding quiet arg to isp_send_cmd_sectors

Nathael Pajani [Fri, 18 May 2012 23:47:38 +0000 (01:47 +0200)]
Add non-regression tests for prog

Nathael Pajani [Fri, 18 May 2012 23:47:21 +0000 (01:47 +0200)]
First attempt to support start prog, do not know if it is working
(Got no way to test for sure)

Nathael Pajani [Fri, 18 May 2012 23:45:30 +0000 (01:45 +0200)]
Modified to use new helper functions

Nathael Pajani [Fri, 18 May 2012 23:44:19 +0000 (01:44 +0200)]
Parts structure updated

Nathael Pajani [Fri, 18 May 2012 23:43:22 +0000 (01:43 +0200)]
Splitting isp commands in two parts (creating a new file) to allow
easier re-use of the functions.

Nathael Pajani [Fri, 18 May 2012 23:41:52 +0000 (01:41 +0200)]
Removing trailing spaces

Nathael Pajani [Fri, 18 May 2012 23:41:31 +0000 (01:41 +0200)]
Removing trailing tabs

Nathael Pajani [Fri, 18 May 2012 23:40:49 +0000 (01:40 +0200)]
Removing trailing spaces

Nathael Pajani [Fri, 18 May 2012 23:38:07 +0000 (01:38 +0200)]
Adding utility function : write buffer to file

Nathael Pajani [Thu, 17 May 2012 00:09:18 +0000 (02:09 +0200)]
no sync command, removing from help message

Nathael Pajani [Thu, 17 May 2012 00:01:26 +0000 (02:01 +0200)]
Creating new tool to ease programming, enabling one command programming
for supported parts

Nathael Pajani [Wed, 16 May 2012 23:57:38 +0000 (01:57 +0200)]
Add quiet mode to some parts to remove error messages when trying to
re-connect

Nathael Pajani [Wed, 16 May 2012 22:27:46 +0000 (00:27 +0200)]
Changed a few function headers and moved some code to ease
creation of the flash tool.

Nathael Pajani [Wed, 16 May 2012 22:22:47 +0000 (00:22 +0200)]
Adding clean rule to Makefile

Nathael Pajani [Mon, 14 May 2012 23:29:30 +0000 (01:29 +0200)]
Adding file with commands for non-regretion testing.
No test suit and no testing of output, just a bunch of commands
with very few indications.

Nathael Pajani [Mon, 14 May 2012 23:27:17 +0000 (01:27 +0200)]
Added support for write to ram, with the limitation of writting
of full file, no matter what the file size and the ram size is.

Also created a few helper functions to make a (very) little bit
more readable.

Nathael Pajani [Mon, 14 May 2012 23:21:32 +0000 (01:21 +0200)]
Added timeout (fixed, 500ms) to read commands

nathael Pajani [Thu, 19 Apr 2012 21:33:17 +0000 (23:33 +0200)]
Adding uuencode function

Nathael Pajani [Mon, 16 Apr 2012 17:16:33 +0000 (19:16 +0200)]
Adding copy-ram-to-flash support

Nathael Pajani [Mon, 16 Apr 2012 17:16:08 +0000 (19:16 +0200)]
Fixing return codes

Nathael Pajani [Mon, 16 Apr 2012 17:15:03 +0000 (19:15 +0200)]
Fixing lookup of command name in table

Nathael Pajani [Mon, 16 Apr 2012 14:27:37 +0000 (16:27 +0200)]
Adding support for commands prepare-for-write, go, erase, and compare.
Modified blank-check to factorise some code for sector related commands.

Nathael Pajani [Sun, 15 Apr 2012 23:23:16 +0000 (01:23 +0200)]
Adding support for blank-check command

Nathael Pajani [Sun, 15 Apr 2012 21:37:47 +0000 (23:37 +0200)]
Fixing return code of isp_handle_command()

Nathael Pajani [Sun, 15 Apr 2012 21:36:17 +0000 (23:36 +0200)]
Adding read-memory command support

Nathael Pajani [Sun, 15 Apr 2012 21:35:54 +0000 (23:35 +0200)]
Adding uudecode function

Nathael Pajani [Sun, 15 Apr 2012 21:30:57 +0000 (23:30 +0200)]
Adding author and licence information

Nathael Pajani [Sun, 15 Apr 2012 21:26:35 +0000 (23:26 +0200)]
isp_dump bug correction

Nathael Pajani [Fri, 13 Apr 2012 04:08:18 +0000 (06:08 +0200)]
Added unlock memory command.

Nathael Pajani [Fri, 13 Apr 2012 03:47:07 +0000 (05:47 +0200)]
Synchro now OK, simple read commands (no arguments) working.

Nathael Pajani [Thu, 12 Apr 2012 14:02:42 +0000 (16:02 +0200)]
Starting command handling

Nathael Pajani [Thu, 12 Apr 2012 13:40:28 +0000 (15:40 +0200)]
moving serial utility functions to isp_utils.c

Nathael Pajani [Thu, 12 Apr 2012 13:24:17 +0000 (15:24 +0200)]
Synchro with LPC1114F/302 is working

Nathael Pajani [Thu, 12 Apr 2012 11:43:36 +0000 (13:43 +0200)]
Working on serial utility functions, working on command line arguments

Nathael Pajani [Wed, 11 Apr 2012 21:35:12 +0000 (23:35 +0200)]
adding hexdump-like dump utility function for debugging purpose

nathael Pajani [Sat, 31 Mar 2012 19:46:47 +0000 (21:46 +0200)]
Adding first version of ISP tool for LPC11xx.