aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-26Consistently name target var 't' in cortexm.Gareth McMullin
2015-03-26Send error reply and abandon target list on unhandled timeout.Gareth McMullin
2015-03-22Merge pull request #85 from gsmcmullin/exceptionsGareth McMullin
Cleaner exception handling.
2015-03-22Remove old platform specific error handling macros.Gareth McMullin
2015-03-22Clean up handling of lost targets using new exceptions mechanism.Gareth McMullin
2015-03-22Build with -Os for swlink.Gareth McMullin
2015-03-22Fix errors when building for non-native platforms.Gareth McMullin
2015-03-22Use controlled timeout on SW/JTAG DP transactions.Gareth McMullin
2015-03-22Handle timeout exceptions during scans and report to the user.Gareth McMullin
2015-03-22Raise timeout exception when target is in WFI.Gareth McMullin
Ignore the exception when polling for halt, and report the exception to the user if halting the target fails. Remove old allow_timeout flag in DP struct that's no longer needed.
2015-03-22Add exception handling mechanism and raise exception on low-level comms failure.Gareth McMullin
2015-03-22Move MIN macro to general.hGareth McMullin
2015-03-22Merge pull request #82 from gsmcmullin/flashstubsGareth McMullin
Generalise flash stub calls
2015-03-19Use for loop in STM32F1 stub and compile with -Os.Gareth McMullin
2015-03-19Add missing return type to stub_exit.Gareth McMullin
2015-03-19Rewrite STM32F4 stub in C and use new interface.Gareth McMullin
2015-03-19Allow stub to return an error code.Gareth McMullin
2015-03-19Rewrote stm32f1 stub in C and call with parameters in registers.Gareth McMullin
2015-03-19Add cortexm generic stub call, and use in stm32f1 driver.Gareth McMullin
2015-03-19Change STM32F1 driver to use generated stub.Gareth McMullin
2015-03-19Add a Makefile to build flash stubs.Gareth McMullin
2015-03-18Merge pull request #83 from gsmcmullin/samd_no_apGareth McMullin
samd: Remove low level ADIv5 calls an favour of target_mem_write.
2015-03-17Flatten samd_probe.Gareth McMullin
2015-03-17Whitespace.Gareth McMullin
2015-03-17samd: Simplified samd_flash_write further by always using manual writes.Richard Meadows
Tested on all three devices as listed at the top of samd.c
2015-03-17samd: Remove low level ADIv5 calls an favour of target_mem_write.Gareth McMullin
2015-03-17Check vasprintf return value.Gareth McMullin
2015-03-15Build for stlink with -Os.Gareth McMullin
2015-03-15Remove abstraction of adiv5_dp_write. Both implementations were identical.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-14adiv5: Encode APnDP into register definition.Gareth McMullin
Clean up magic numbers in adiv5 calls. Removed old adiv5_dp_write_ap and adiv5_dp_read_ap.
2015-03-14Use size_t for sizes in flash functions. Fix all sign compare warnings.Gareth McMullin
2015-03-13Fix pointer sign warnings and remove -Wno-pointer-sign.Gareth McMullin
2015-03-11stm32l0: cleanup includes.Gareth McMullin
2015-03-11stm32l0: Fix pointer/integer casting warnings.Gareth McMullin
2015-03-11Cleaned up printf/scanf for C99 integer types.Gareth McMullin
2015-03-11cdcacm: Fix DCD for second ACM interface.Gareth McMullin
2015-03-11Reassert DCD after DTR is written. Fixes #41.Gareth McMullin
2015-03-10upgrade: Build with -mno-ms-bitfields to fix struct packing on Windows.Gareth McMullin
2015-03-08Add .exe and blackmagic_upgrade to .gitignore.Gareth McMullin
2015-03-08upgrade: Rename target to blackmagic_upgrade and add a rule for .exe file.Gareth McMullin
2015-03-08upgrade: Ignore product strings, these changed over time.Gareth McMullin
2015-03-08uprade: Fix warning on pointer sign.Gareth McMullin
2015-03-08Merge pull request #75 from beewoolie/stm32lx-wholeGareth McMullin
STM32Lx target support.
2015-03-08Revisions on Gareth's comments.Marc Singer
o Implemented byte writes to EEPROM now that the emulator has a byte-wide target write. o Added comment describing the reason that mass erase doesn't work. o Removed all unused code. o Changed to Linux kernel indent style. o Changed to Linux kernel function to parenthesis style. o Stub generation doesn't use Perl, switched to sed. Also, only including the instructions instead of the source and the instructions. o Handling unaligned destination writes.
2015-03-08STM32L0x target support.Marc Singer
Target support for stm32l0's and stm32l1's including option bytes and data EEPROM. This module will superceed the previous stm32l1 driver. o Program flash write and erase. o Options modification and interpretive status. o Stubs for program flash writes and erases. Stubs are modestly faster than non-stub version. The stm32l0 will not execute stubs when the MCU has crashed. A monitor option may be used to force non-stub flash writes. o Stubs generated from C++ code and converted to arrays of half-words. o Writes to data EEPROM supoprted when loading segments. o EEPROM data monitor command to write words. o Stubs supported on stm32l1.
2015-03-07Removed hardware design files.Gareth McMullin
They moved to their own repository.
2015-03-07Quieten build system.Gareth McMullin
2015-03-07Move targets to make bin and hex files to toplevel makefile.Gareth McMullin