David Brandt
2639bdbe23
Add NXP LPC82x support
2016-06-21 10:33:34 +02:00
Gareth McMullin
ca17de6243
lpc11xx: Correctly detect LPC8xx devices.
2015-04-11 17:23:01 -07:00
Gareth McMullin
3d8b34f180
lpc: split out common code and rewrite to use new interface.
2015-04-11 16:05:40 -07:00
Gareth McMullin
cd5d569d38
lpc: Reduce differences between lpc11xx and lpc43xx code.
2015-04-11 16:05:40 -07:00
Gareth McMullin
9f271d5cd7
Consistently use 'target *t' for target var.
2015-03-28 20:47:17 -07:00
Gareth McMullin
2bf54f9a72
Replace adiv5_ap_mem* functions with inline wrappers to target mem*.
2015-03-15 16:02:09 -07:00
Gareth McMullin
ee3af96a73
Consolidate target_mem_read* and target_mem_write* methods.
...
There are now only mem_read and mem_write, that must
handle all alignments. These methods return void, errors must be
checked with target_check_error.
2015-03-15 14:31:57 -07:00
Gareth McMullin
6f5b1873d7
Use size_t for sizes in flash functions. Fix all sign compare warnings.
2015-03-14 15:18:22 -07:00
Gareth McMullin
4d4813de87
Clean up includes everywhere.
...
All source files include general.h first and before anything else.
This inlcludes platform.h and platform_support.h
No header file needs to include to include any of these, but should include
any others needed for it's own declarations.
2015-03-01 22:16:04 -08:00
Gareth McMullin
3daf5d7e11
Merge branch 'lpc11xx-flash' of https://github.com/John-Titor/blackmagic into John-Titor-lpc11xx-flash
...
Conflicts:
src/lpc11xx.c
2014-07-30 16:45:55 +12:00
Gareth McMullin
5d61575ce6
Merge remote-tracking branch 'origin/lpc8xx'
...
Conflicts:
src/lpc11xx.c
2014-07-30 14:11:10 +12:00
none
3543e560af
Fix lpc11xx magic number programming when chunks overlap
...
In the case where the vectors are in a separate section smaller than
the chunksize, the lpc11xx magic number calculation could generate an
incorrect value.
2014-06-10 21:23:17 -07:00
Jared Boone
096e1b32c6
Add support for LPC11U14 (tested) and related U-series microcontrollers (untested).
2014-03-08 19:07:50 +13:00
Gareth McMullin
cbb85b6a45
LPC812 support
2014-03-08 18:58:39 +13:00
Richard Eoin Meadows
e5624a7e6d
Added support for the LPC1115FBD48/303 (ID determined experimentally)
2014-01-29 08:02:04 +08:00
Gareth McMullin
ac0fc8216a
Merge pull request #35 from burgrp/upstream
...
Fix in checksum calculation condition
2014-01-23 10:52:09 -08:00
Pavel Burgr
ce17cc2e2b
Fix in checksum calculation condition
2014-01-22 10:35:35 +01:00
Allen Ibara
487252150f
LPC: Cleanup regs_size (in bytes).
...
Also use sizeof() to make it clear why we multiple and divide by 4.
2014-01-10 13:24:25 -08:00
Richard Eoin Meadows
b8f9a2ed4b
Bugfix: Always apply the vector table magic number correctly.
...
Previously when the flash write length was less than the Chunk size the 2nd chunk write would re-calculate and apply an incorrect magic number
2013-10-05 13:14:03 +08:00
Gareth McMullin
c05b7a1f63
Rename lpc11xx driver.
2013-06-17 16:06:03 +12:00