Commit Graph

2407 Commits

Author SHA1 Message Date
Mike Smith 8babb37472 Add a prototype for the F4 probe routine to silence a warning 2011-11-25 17:04:47 -08:00
Mike Smith fa7ae87e25 Mention the CCM (CPU-only RAM) in the F4. 2011-11-25 17:04:23 -08:00
Gareth McMullin f06bded8dd linux: Set SO_REUSEADDR on gdb server socket.
Renamed HOST environment variable to PROBE_HOST.

Thanks to Michael Smith for the patch.
2011-11-25 22:55:07 +13:00
Gareth McMullin d73ac40ef1 Added preliminary support for the STM32F4. 2011-11-12 19:15:52 +13:00
Gareth McMullin 6a6b52bf54 Fixed python scripts for programming target to work on 64-bit machines. 2011-11-12 13:47:50 +13:00
Gareth McMullin 7b13bae8dc Don't send anything on USB if not configured or DTR is released. 2011-11-12 13:46:16 +13:00
Gareth McMullin 33e1352c34 Merge branch 'master' of github.com:gsmcmullin/blackmagic 2011-10-30 13:43:33 +13:00
Gareth McMullin d85a399559 Updated to build with new libopenstm32 with f1/f2 split. 2011-10-30 13:42:27 +13:00
Gareth McMullin adabaa7592 Halt and detach target if host releases DTR.
Port reads 0x04 (EOF) when DTR is released.  GDB loop detaches from
target if EOF is read.
Fixes bug 3307433.
2011-07-02 20:47:39 +12:00
Gareth McMullin bd779aa618 Defined and used register definitions for DWT. 2011-04-27 21:57:35 +12:00
Gareth McMullin 40eeb1788b Defined and used register names for flash beakpoints. 2011-04-27 21:57:35 +12:00
Gareth McMullin be91386c0a Minor changes to allow a build for Windows hosts with libftdi. 2011-03-29 20:01:15 +13:00
Gareth McMullin c9ea16312b Added more ARM7TDMI functions. Still not usable. 2011-03-12 21:03:42 +13:00
Gareth McMullin c062e60059 cm3_reset polls for reset to complete. cm3_fault_unwind checks FORCED in HFSR. 2011-03-12 13:57:32 +13:00
Gareth McMullin 4c75ac524b Started halt/resume for ARM7TDMI. 2011-03-11 00:02:08 +13:00
Gareth McMullin fcdbf8efc8 Added a skeleton of an ARM7TDMI driver. No support yet. 2011-03-09 19:03:41 +13:00
Gareth McMullin a6f2117d1d Further cleanup of adiv5* 2011-03-08 22:15:35 +13:00
Gareth McMullin b8462dd1f2 Removed useless abstraction of low-level AP access functions. 2011-03-07 07:12:14 +13:00
Gareth McMullin 91815f2d23 Cleaned up some magic numbers in adiv5* 2011-03-05 23:43:03 +13:00
Gareth McMullin a139aae479 Cleaned up more magic numbers in cortexm3.c 2011-03-02 21:34:36 +13:00
Gareth McMullin c648d7c9e2 Cleaned out some magic numbers in cortexm3.c 2011-03-02 19:28:47 +13:00
Gareth McMullin c43e392f8c cm3_fault_unwind: Adjust stack pointer after reading registers. 2011-02-23 18:14:44 +13:00
Gareth McMullin c9774944de Removed debugging output in cm3_fault_unwind(). 2011-02-21 21:04:57 +13:00
Gareth McMullin 32cabac0f3 Stack is now unwound on hardfault. 2011-02-21 20:57:56 +13:00
Gareth McMullin 0dfdc25bb2 Added git info to version output.
Fixed memory leak in SWD mode.
2011-02-18 13:50:21 +13:00
Gareth McMullin 660e861725 Force SRST high. Hopefully fixes target getting stuck in reset. 2011-02-17 18:00:03 +13:00
Piotr Esden-Tempski e28edc0899 Removed redundant linker parameters. 2011-02-16 20:47:56 -08:00
Piotr Esden-Tempski c8d1b8d0cc Cleaned up CFLAGS and LDFLAGS as well as targets to use the correct flags. Now blackmagic will compile also on a multilib compiler. 2011-02-16 20:24:26 -08:00
Gareth McMullin 8b65e8e259 Fixed dfu.py to work with PyUSB 1.0. 2011-02-17 16:48:15 +13:00
Gareth McMullin b36242d021 CDC-ACM now asserts DCD to allow opening tty devs in BSD/MacOS.
Cleaned up compiler warnings.
2011-02-17 15:06:27 +13:00
Gareth McMullin f08914ec1f Fixed DFU_DETACH request handling when usb-uart is excluded. 2011-02-16 09:04:06 +13:00
Gareth McMullin f9a7cd9c6e Fixed interface number of DFU when UART isn't included. 2011-02-12 22:24:37 +13:00
Gareth McMullin 7de78bbd6c Added Flash programming stubs. 2011-02-12 22:09:38 +13:00
Gareth McMullin df5c3d06d5 Added extra ACM interface for serial emulation using USART1. 2011-02-12 22:06:53 +13:00
Gareth McMullin f293cc4bc1 Improved Linux/libftdi platform support.
Tested with Floss-JTAG.  SWD working.
2011-02-10 15:24:54 +13:00
Gareth McMullin d1cf80db33 Updated README, added HACKING. 2011-02-09 16:56:42 +13:00
Gareth McMullin 4b105beb61 Fixed printed copyright notices in scripts.
hexprog.py now defaults to target 1.
2011-02-09 12:06:50 +13:00
Gareth McMullin 9833245898 Added some missing values and footprints to schematic. 2011-02-09 12:02:00 +13:00
Gareth McMullin 8628babbb0 Linux jtagtap and swdptap now clean up before re-initialising. 2011-02-07 13:38:13 +13:00
Gareth McMullin 5cc8ff5404 Made Linux jtagtap_init() more verbose on errors. 2011-02-07 13:08:45 +13:00
Piotr Esden-Tempski bb0981b22f Changed CFLAGS and LDFLAGS setting to allow exporting of additional parameters in the calling shell. 2011-02-06 15:09:07 -08:00
Gareth McMullin 79182edc44 Replaced some binary constants with hex. 2011-02-07 12:01:29 +13:00
Gareth McMullin a6f84018f6 Fixed debug output of Linux swdptap_bit_in() 2011-02-07 11:32:30 +13:00
Gareth McMullin fd2a204623 Added README and COPYING 2011-02-07 11:01:10 +13:00
Gareth McMullin 5d747a52ce Restored old Linux platform and added untested SWDP support. 2011-02-07 11:00:10 +13:00
Gareth McMullin c8ef57a7b5 Removed rotten and broken LMI flash algorithm. 2011-02-07 08:45:52 +13:00
Gareth McMullin 981a906898 Changed some uint32_t to unsigned long to remove warnings. 2011-02-07 08:32:33 +13:00
Gareth McMullin 5788445ab2 Changed to use sprintf/sscanf by default.
Overridden by STM32 platform.h to use newling siprintf/siscanf.
2011-02-06 19:36:01 +13:00
Gareth McMullin 8aefe82df0 Named PCB layout. 2011-02-06 18:58:15 +13:00
Gareth McMullin 3eafc1883b Added copyright notice to pcb layout. 2011-02-06 18:52:37 +13:00