Wykres commitów

1076 Commity (1165cf712713af48c61c4782ad5c9477c4574708)

Autor SHA1 Wiadomość Data
fabien.lementec 1f938b239d add STM32F769NI to working targets 2016-08-10 12:16:38 +02:00
texane 431b6116df Merge pull request #452 from Fabien-Chouteau/unhexify
Unhexify GDB monitor commands (qRcmd)
2016-08-09 18:50:56 +02:00
Fabien Chouteau 1f3aa3c648 Unhexify GDB monitor commands (qRcmd)
It improves readability and will allow parsing of more complex monitor
commands.
2016-08-09 17:35:12 +02:00
Jerry Jacobs 8fadfa918f Merge pull request #430 from andyg24/stop_mode_fix
Do a JTAG reset prior to reading CPU information, fixes #428 and #451.
2016-08-07 14:38:36 +02:00
Jerry Jacobs ee2681eceb Update README.md
Remove appveyor build badge
2016-08-03 20:59:21 +02:00
Jerry Jacobs a17b4079ca Reorganise aux files, add sg test to CMakeLists 2016-08-03 20:28:32 +02:00
Jerry Jacobs c3e208efba Merge pull request #434 from texane/deprecate_autotools
Deprecate autotools and fix versioning, build with MinGW
2016-08-03 20:10:47 +02:00
Jerry Jacobs 9aac78d184 Deprecate autotools 2016-08-03 20:02:50 +02:00
Jerry Jacobs 57cf59a869 cmake: Add proper detection of sys/mman.h. Fixes #450
Signed-off-by: Jerry Jacobs <jerry.jacobs@dualinventive.com>
2016-08-03 11:04:20 +02:00
texane df1522b7db Merge pull request #447 from toniokroeger/patch-1
Update udev path in README
2016-07-22 19:20:55 +02:00
toniokroeger cb7533394a Update udev path in README 2016-07-22 18:53:15 +02:00
texane 9ff2a460b0 Merge pull request #445 from lambourg/master
Fix gdb and flash support for the STM32F769I-Disco board.
2016-07-19 11:13:31 +02:00
Jerome Lambourg 3de5a54727 Fix gdb and flash support for the STM32F769I-Disco board. 2016-07-19 10:46:40 +02:00
texane 96554d9b9c Merge pull request #442 from bitdump/bug-fix-stm32f030-erase-error
Fix an erase error in stm32f030 device.
2016-06-25 08:03:36 +02:00
Chris c61f160d69 Fix an erase error in stm32f030 device.
I run into flashing error with stm32f030. With some
debugging I find out that the mass erase bit was dropped
when flash programming bit already set on FLASH_CR.
This cause erase and write error with my stm32f030
board.

Mass erase never need the programming bit. Turn off the
programming bit make stlink flash stm32f030 successfully.
2016-06-25 13:50:12 +08:00
texane 4341d635c3 Merge pull request #441 from dflogeras/stlinkv1_fix_f4
Fix a regression introduced in 71535104.
2016-06-22 07:24:03 +02:00
Dave Flogeras 471e7bbbd1 Fix a regression introduced in 71535104.
Since STLINK V1 cannot read voltage, and attempting to do so breaks the
USB communications, this patch will revert the behaviour to just blindly
doing 32-bit writes on these programmers.
2016-06-21 19:31:50 -03:00
texane 72fbf6a2c8 Fix zu missing on Windows toolchains. Use unsigned int casts instead. 2016-06-20 20:36:51 +02:00
Jerry Jacobs 3f7d0f9df3 Merge pull request #436 from texane/support_stm32f7x7x
Support stm32f7x7x, fixes #433
2016-06-18 20:24:58 +02:00
Jerry Jacobs 5a06869797 Add flash loader core id and chipid for STM32F767ZI with nucleo-144 2016-06-18 19:53:31 +02:00
Jerry Jacobs dfeb5a4e6f flash_loader.c: Add STLINK_CHIPID_STM32_F7XXXX 2016-06-18 19:40:27 +02:00
Jerry Jacobs 2563f43965 TravisCI: Revert clang cmake build for linux 2016-06-18 09:49:39 +02:00
Jerry Jacobs 1c04e4f546 TravisCI: Disable clang 3.8 builds (disabled apt repo), remove autotools 2016-06-18 09:46:54 +02:00
Jerry Jacobs 3daa3f15cc Initial support for STM32F7x7x, for nucleo-144, STM32F767ZI issue #433 2016-06-18 09:41:32 +02:00
Jerry Jacobs ef5101c0d4 Merge branch 'master' of github.com:texane/stlink
* 'master' of github.com:texane/stlink:
  Update README
2016-06-10 15:12:30 +02:00
Jerry Jacobs 413790067e src/usb.c: Dont crash when libusb_open fails, check return value 2016-06-10 15:12:23 +02:00
Jerry Jacobs d67d39f237 Update README
Add notice about broken stlink firmware V2.J16.S0 on STM32 L1 Discovery board
2016-06-10 14:44:30 +02:00
andrey ac43cfdfef Do a JTAG reset prior to reading CPU information. This is needed
when a CPU is in deep sleep mode, and its debug interface is switched
off.
2016-06-07 09:21:14 -07:00
Jerry Jacobs ab1a149487 Merge pull request #426 from galexander1/errmsg
Add a useful error message instead of "[!] send_recv"
2016-06-05 20:37:16 +02:00
Greg Alexander 8924c51d9e Provide more detailed error messages when send_recv() fails. 2016-06-05 08:31:10 -04:00
texane 753dfab17d Merge pull request #424 from galexander1/novoltagef1
Don't read the target voltage on startup, because it crashes STM32F100.
2016-06-05 09:24:26 +02:00
Jerry Jacobs c0177ec387 Merge pull request #420 from stm32-template/warnings
WIP: Fix compiler warnings
2016-06-04 23:11:13 +02:00
Greg Alexander 3d438166ce Don't read the target voltage on startup, because it crashes STM32F100. 2016-06-04 15:50:33 -04:00
Jean-Marie Lemetayer 113f3e3507 Fix multiple warnings
- Replace 'typedef reg' by 'struct stlink_reg'
 - Prefix the 'sl' global variable with a 'g'
 - Rename 'j' -> 'k' and 'i' -> 'j' variables
 - Rename 'hex' variable into 'hextmp'
 - Fix unused parameter
 - Use a correct printf format for gsize
 - Use correct MAX macro
 - Use correct data casting
 - Do not use 'GTK_STOCK_*' anymore
 - Do not use 'gtk_tree_view_set_rules_hint'
 - Remove unused functions
 - Explicitly cast data type
 - Enable Werror
2016-06-02 17:41:15 +02:00
Jerry Jacobs f4991d80d4 Update README
Related to https://github.com/texane/stlink/issues/356
2016-05-26 17:12:20 +02:00
Jerry Jacobs 486cc10c70 Add forgotten tests/CMakeLists.txt 2016-05-21 00:28:14 +02:00
Jerry Jacobs f6229cae50 Fixup tests/usb.c to read from correct SRAM base, fixes #351 2016-05-21 00:23:23 +02:00
Jerry Jacobs d254b90521 Merge branch 'master' of github.com:texane/stlink
* 'master' of github.com:texane/stlink:
  travis: Add gcc-5 and clang-3.8 to matrix for linux cmake builds
2016-05-20 23:30:51 +02:00
Jerry Jacobs 43cbf73380 Further Refactor stlink.h into correct places and files, create backend.h 2016-05-20 23:30:44 +02:00
Jerry Jacobs e2a4fb37d4 Move USB defines into usb.h, move chip register defines into new reg.h 2016-05-20 23:30:36 +02:00
Jerry Jacobs 96ae9d0929 Merge pull request #421 from texane/travis-toolchains
travis: Add gcc-5 and clang-3.8 to matrix for linux cmake builds
2016-05-20 22:10:59 +02:00
Jerry Jacobs 74389ba7b8 travis: Add gcc-5 and clang-3.8 to matrix for linux cmake builds 2016-05-20 21:58:00 +02:00
Jerry Jacobs f8d711818d cmake: Search for static libusb-1.0 library on OSX and link with ObjC,CoreFoundation and IOKit frameworks 2016-05-20 20:36:41 +02:00
Jerry Jacobs 48a8ac59e1 Move STLINK_DEBUG_* defines into enum, move flash_loader code into seperate header and c file 2016-05-20 20:03:57 +02:00
Jerry Jacobs 893fa4f8da logging.h: Add helpers so the log macros can have just one argument, needed for compilation on visual studio 2016-05-20 18:12:41 +02:00
Jerry Jacobs 8da1467bb1 common.c: Add STLINK_CHIPID_STM32_F410 for correct flash loader selection 2016-05-20 17:51:27 +02:00
Jerry Jacobs 1507e34dd6 Merge pull request #419 from stm32-template/fix_warning
Fix const warning on struct stlink_chipid_params
2016-05-19 11:09:13 +02:00
Jean-Marie Lemetayer d83d7f7392 Fix const warning 2016-05-19 11:03:35 +02:00
Jerry Jacobs 9c635e419d chipid: Initial support for STM32F410 2016-05-19 09:03:18 +02:00
Jerry Jacobs ad3978720e Update README
Fix link to UweBonnes/wiki_fuer_alex
2016-05-17 20:19:30 +02:00