aboutsummaryrefslogtreecommitdiff
path: root/src/lpc43xx.c
AgeCommit message (Collapse)Author
2015-03-28Consistently use 'target *t' for target var.Gareth McMullin
2015-03-15Replace adiv5_ap_mem* functions with inline wrappers to target mem*.Gareth McMullin
2015-03-15Consolidate target_mem_read* and target_mem_write* methods.Gareth McMullin
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-14Use size_t for sizes in flash functions. Fix all sign compare warnings.Gareth McMullin
2015-03-01Clean up includes everywhere.Gareth McMullin
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-02-28Add missing includes to fix warnings.Gareth McMullin
2014-09-16LPC43XX: Attempt to handle case of running WDT.Allen Ibara
If the WDT is running, it may reset while we are trying to flash. Since we can't disable it, we set a long period and attempt to pet it before each IAP call.
2014-07-30Style clean up.Gareth McMullin
2014-01-10LPC43XX: Force target to use internal clock.Allen Ibara
Without this, flash write timing might be incorrect.
2014-01-10LPC43XX: Make the chunk_offset logic more explicit.Allen Ibara
2014-01-10LPC: Cleanup regs_size (in bytes).Allen Ibara
Also use sizeof() to make it clear why we multiple and divide by 4.
2014-01-10LPC43XX: Remove type cast for erase functionAllen Ibara
2014-01-10LPC43XX: Add reset command to do a system reset (but not the debug).Allen Ibara
2014-01-10LPC43XX: Add mkboot target command; dont make banks bootable by default.Allen Ibara
This used to be done transparently in the write step, however that breaks the 'verify' command. This is also more flexible for cases where you want to write a flash bank without ever intending it to be bootable.
2014-01-10LPC43XX: Make sure to align target struct to word alignmentAllen Ibara
2013-06-17Fix warning about implicit cast.Gareth McMullin
2013-06-17Fix register array sizes.Gareth McMullin
2013-05-14Add support for burning flash on lpc4337.Allen Ibara
2012-11-03Probe function return bool, true if device identified.Gareth McMullin
Correctly identify LM3S3748.
2012-11-03Recognise LPC43xx dual core devices.Gareth McMullin