fw/stlink
12 years agoFixed flash utility for STM32F4
unknown [Sat, 29 Oct 2011 22:00:26 +0000 (18:00 -0400)]
Fixed flash utility for STM32F4

Can write entire 1MB of flash

12 years ago[add] dac example
Fabien Le Mentec [Thu, 27 Oct 2011 15:58:13 +0000 (10:58 -0500)]
[add] dac example

12 years ago[update] tutorial, led blinking from flash
Fabien Le Mentec [Sun, 23 Oct 2011 13:31:40 +0000 (08:31 -0500)]
[update] tutorial, led blinking from flash

12 years ago[fixme] blink_flash example working. more initialization needed, use libstm32_discovery.
Fabien Le Mentec [Sun, 23 Oct 2011 13:23:38 +0000 (08:23 -0500)]
[fixme] blink_flash example working. more initialization needed, use  libstm32_discovery.

12 years ago[update] documentation, CHIBIOS
Fabien Le Mentec [Sun, 23 Oct 2011 08:26:55 +0000 (03:26 -0500)]
[update] documentation, CHIBIOS

12 years ago[update] factorize flash writing code. use core_id to identify.
Fabien Le Mentec [Sun, 23 Oct 2011 08:12:23 +0000 (03:12 -0500)]
[update] factorize flash writing code. use core_id to identify.

12 years ago[update] AUTHORS
Fabien Le Mentec [Sun, 23 Oct 2011 06:45:18 +0000 (01:45 -0500)]
[update] AUTHORS

12 years ago[update] disable flash write operation checking
Fabien Le Mentec [Sun, 23 Oct 2011 06:45:01 +0000 (01:45 -0500)]
[update] disable flash write operation checking

12 years agoMerge pull request #17 from csamuelson/master
texane [Sun, 23 Oct 2011 06:29:47 +0000 (23:29 -0700)]
Merge pull request #17 from csamuelson/master

Update Makefiles to compile on Ubuntu Oneiric

12 years agoMerge branch 'master' of github.com:csamuelson/stlink
Chris Samuelson [Sun, 23 Oct 2011 02:25:56 +0000 (21:25 -0500)]
Merge branch 'master' of github.com:csamuelson/stlink

12 years agoPlace -lusb-1.0 as the last of the linker options
Chris Samuelson [Sun, 23 Oct 2011 02:23:53 +0000 (21:23 -0500)]
Place -lusb-1.0 as the last of the linker options

12 years ago[update] retry write once on failure
Fabien Le Mentec [Sat, 22 Oct 2011 22:34:05 +0000 (17:34 -0500)]
[update] retry write once on failure

12 years ago[fix] stm32l flash write
Fabien Le Mentec [Sat, 22 Oct 2011 21:07:13 +0000 (16:07 -0500)]
[fix] stm32l flash write

12 years agoReplace all logging
Karl Palsson [Sat, 22 Oct 2011 20:31:11 +0000 (20:31 +0000)]
Replace all logging

I needed some sanity...

12 years agoflag out the only scsi specific code
Karl Palsson [Sat, 22 Oct 2011 19:09:31 +0000 (19:09 +0000)]
flag out the only scsi specific code

Also flag out some places where code appears unused.

12 years ago[update, wip] stm32l flash write, to be tested
Fabien Le Mentec [Sat, 22 Oct 2011 18:06:28 +0000 (13:06 -0500)]
[update, wip] stm32l flash write, to be tested

12 years agoRemove all #ifdefs for sg-utils.
Karl Palsson [Sat, 22 Oct 2011 18:05:24 +0000 (18:05 +0000)]
Remove all #ifdefs for sg-utils.

We're starting on integration from github.com/afaerber
So, instead of scanning all the usb devices, just open what we want.

12 years agoremove swallowing of ctrl-c
Karl Palsson [Sat, 22 Oct 2011 15:53:03 +0000 (15:53 +0000)]
remove swallowing of ctrl-c

No idea why this was added, but it's not necessary for anything I've found.

12 years agoMake the blink example build for all platforms.
Karl Palsson [Sat, 22 Oct 2011 15:46:19 +0000 (15:46 +0000)]
Make the blink example build for all platforms.

Less mucking around with make parameters, it's a tiny build.  Verified with a
VL and L board.

Removed the old obsolete bin file

12 years agoUpdate netbeans project config to reflect combined makefiles
Karl Palsson [Sat, 22 Oct 2011 15:22:24 +0000 (15:22 +0000)]
Update netbeans project config to reflect combined makefiles

12 years agoAdd option parsing and help
Karl Palsson [Sat, 22 Oct 2011 15:13:22 +0000 (15:13 +0000)]
Add option parsing and help

Supports setting the gdb listen port
Supports setting which version of stlink to use
Supports setting the device to use (in case autoprobing doesn't work)

12 years agoMerge branch 'master' of https://github.com/texane/stlink
Karl Palsson [Sat, 22 Oct 2011 02:11:50 +0000 (02:11 +0000)]
Merge branch 'master' of https://github.com/texane/stlink

12 years agoMerge upstream texane/master
Karl Palsson [Sat, 22 Oct 2011 02:11:04 +0000 (02:11 +0000)]
Merge upstream texane/master

12 years agoAdd debug flag by default, no need not to have it in the elf.
Karl Palsson [Sat, 22 Oct 2011 02:06:35 +0000 (02:06 +0000)]
Add debug flag by default, no need not to have it in the elf.

12 years agoFix character encodings of st provided files.
Karl Palsson [Sat, 22 Oct 2011 02:06:07 +0000 (02:06 +0000)]
Fix character encodings of st provided files.

12 years agoMerge branch 'master' into local/stm32l_flash
Fabien Le Mentec [Fri, 21 Oct 2011 09:28:45 +0000 (04:28 -0500)]
Merge branch 'master' into local/stm32l_flash

12 years ago[update] documentation
Fabien Le Mentec [Fri, 21 Oct 2011 09:28:24 +0000 (04:28 -0500)]
[update] documentation

12 years agoMerge branch 'master' into local/stm32l_flash
Fabien Le Mentec [Fri, 21 Oct 2011 09:23:50 +0000 (04:23 -0500)]
Merge branch 'master' into local/stm32l_flash

12 years ago[update] documentation
Fabien Le Mentec [Fri, 21 Oct 2011 07:59:05 +0000 (02:59 -0500)]
[update] documentation

12 years agoAllowed CONFIG_USE_LIBSG=0 to suppress STLink/V1 compilation
Ned Konz [Fri, 21 Oct 2011 02:21:43 +0000 (19:21 -0700)]
Allowed CONFIG_USE_LIBSG=0 to suppress STLink/V1 compilation

This will let people with Macintosh OS/X computers compile and use stlink with STLink/V2 devices, as libsg3 is not available for that platform.

12 years ago[fix] do not set socket timeout
Fabien Le Mentec [Thu, 20 Oct 2011 23:25:11 +0000 (18:25 -0500)]
[fix] do not set socket timeout

12 years ago[merge] patches from uwe
Fabien Le Mentec [Thu, 20 Oct 2011 21:43:21 +0000 (16:43 -0500)]
[merge] patches from uwe

12 years ago[fix] documentation
Fabien Le Mentec [Thu, 20 Oct 2011 21:39:23 +0000 (16:39 -0500)]
[fix] documentation

12 years ago[update] documentation
Fabien Le Mentec [Thu, 20 Oct 2011 05:38:50 +0000 (00:38 -0500)]
[update] documentation

12 years ago[update] AUTHORS
Fabien Le Mentec [Thu, 20 Oct 2011 05:32:03 +0000 (00:32 -0500)]
[update] AUTHORS

12 years agoMerge pull request #14 from bikeNomad/master
texane [Thu, 20 Oct 2011 05:15:54 +0000 (22:15 -0700)]
Merge pull request #14 from bikeNomad/master

Minor improvements to utilities and example makefile

12 years agoAdded usage prompt to flash utility
Ned Konz [Thu, 20 Oct 2011 01:55:56 +0000 (18:55 -0700)]
Added usage prompt to flash utility

12 years agoAdded multiple-board support to blink_flash Makefile
Ned Konz [Thu, 20 Oct 2011 01:55:29 +0000 (18:55 -0700)]
Added multiple-board support to blink_flash Makefile

12 years agoAdded rules for subdirectories
Ned Konz [Thu, 20 Oct 2011 01:39:57 +0000 (18:39 -0700)]
Added rules for subdirectories

12 years agoFixed compile of flash program
Ned Konz [Thu, 20 Oct 2011 01:39:26 +0000 (18:39 -0700)]
Fixed compile of flash program

12 years ago[merge] patches from uwe
Fabien Le Mentec [Wed, 19 Oct 2011 17:07:56 +0000 (12:07 -0500)]
[merge] patches from uwe

12 years ago[merge] karl/uwe_usb branch
Fabien Le Mentec [Tue, 18 Oct 2011 21:35:24 +0000 (16:35 -0500)]
[merge] karl/uwe_usb branch

12 years ago[merge] karl/uwe_usb branch
Fabien Le Mentec [Tue, 18 Oct 2011 21:27:36 +0000 (16:27 -0500)]
[merge] karl/uwe_usb branch

12 years ago[update] add macpod to AUTHORS. update documentation for the blink program.
Fabien Le Mentec [Tue, 18 Oct 2011 05:49:07 +0000 (00:49 -0500)]
[update] add macpod to AUTHORS. update documentation for the blink program.

12 years agoMerge branch 'master' of https://github.com/macpod/stlink
Fabien Le Mentec [Tue, 18 Oct 2011 05:42:32 +0000 (00:42 -0500)]
Merge branch 'master' of https://github.com/macpod/stlink

12 years ago[wip]
Fabien Le Mentec [Tue, 18 Oct 2011 05:41:26 +0000 (00:41 -0500)]
[wip]

12 years ago[update] .gitignore
Fabien Le Mentec [Tue, 18 Oct 2011 05:36:50 +0000 (00:36 -0500)]
[update] .gitignore

12 years agoUpdated SRAM blink files to work with STM32F4-Discovery board
Jeffrey Nelson [Tue, 18 Oct 2011 04:31:26 +0000 (00:31 -0400)]
Updated SRAM blink files to work with STM32F4-Discovery board

12 years ago[fix] read_mem32 needs to add +1 to len
Fabien Le Mentec [Mon, 17 Oct 2011 21:21:29 +0000 (16:21 -0500)]
[fix] read_mem32 needs to add +1 to len

12 years ago[update] TODO
Fabien Le Mentec [Mon, 17 Oct 2011 20:34:10 +0000 (15:34 -0500)]
[update] TODO

12 years ago[update] documentation
Fabien Le Mentec [Mon, 17 Oct 2011 20:06:23 +0000 (15:06 -0500)]
[update] documentation

12 years ago[fix] flash tool. not working for stm32l, ok with stm32vl
Fabien Le Mentec [Mon, 17 Oct 2011 19:52:57 +0000 (14:52 -0500)]
[fix] flash tool. not working for stm32l, ok with stm32vl

12 years ago[update] TODO
le mentec fabien [Mon, 17 Oct 2011 09:14:08 +0000 (04:14 -0500)]
[update] TODO

12 years ago[update] add read command to flash tool
le mentec fabien [Mon, 17 Oct 2011 09:00:02 +0000 (04:00 -0500)]
[update] add read command to flash tool

12 years ago[update] TODO
Fabien Le Mentec [Mon, 17 Oct 2011 05:45:30 +0000 (00:45 -0500)]
[update] TODO

12 years ago[add] blink_flash example
Fabien Le Mentec [Sun, 16 Oct 2011 22:38:27 +0000 (17:38 -0500)]
[add] blink_flash example

12 years ago[update] flash tool, missing SWD mode entering and core reset
Fabien Le Mentec [Sun, 16 Oct 2011 21:29:28 +0000 (16:29 -0500)]
[update] flash tool, missing SWD mode entering and core reset

12 years ago[fix] stlink_usb_read_mem32 len command field
Fabien Le Mentec [Sun, 16 Oct 2011 21:28:29 +0000 (16:28 -0500)]
[fix] stlink_usb_read_mem32 len command field

12 years ago[fix] stlinkv2 missing initialisation
Fabien Le Mentec [Sun, 16 Oct 2011 21:13:58 +0000 (16:13 -0500)]
[fix] stlinkv2 missing initialisation

12 years agoMerge branch 'master' of https://github.com/texane/stlink
Karl Palsson [Sun, 16 Oct 2011 20:54:06 +0000 (20:54 +0000)]
Merge branch 'master' of https://github.com/texane/stlink

Conflicts:
src/stlink-usb.c

12 years ago[fix] missing stlink_fwrite_flash decl
Fabien Le Mentec [Sun, 16 Oct 2011 20:36:53 +0000 (15:36 -0500)]
[fix] missing stlink_fwrite_flash decl

12 years ago[add] flash memory loader tool
Fabien Le Mentec [Sun, 16 Oct 2011 20:36:11 +0000 (15:36 -0500)]
[add] flash memory loader tool

12 years agoRemove some debug output
Uwe Bonnes [Thu, 13 Oct 2011 22:06:41 +0000 (00:06 +0200)]
Remove some debug output

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
12 years agoAssert size only if Q_BUF_LEN is smaller UINT16_MAX
Uwe Bonnes [Thu, 13 Oct 2011 22:03:06 +0000 (00:03 +0200)]
Assert size only if Q_BUF_LEN is smaller UINT16_MAX

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
12 years agoSize all USB receive operations
Uwe Bonnes [Thu, 13 Oct 2011 21:25:46 +0000 (23:25 +0200)]
Size all USB receive operations

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
12 years ago[add] TODO
Fabien Le Mentec [Sun, 16 Oct 2011 19:38:28 +0000 (14:38 -0500)]
[add] TODO

12 years ago[update] lcd example, minor
Fabien Le Mentec [Sun, 16 Oct 2011 16:26:52 +0000 (11:26 -0500)]
[update] lcd example, minor

12 years ago[fix] LCD GPIO mode must be alternate function
Fabien Le Mentec [Sun, 16 Oct 2011 16:21:59 +0000 (11:21 -0500)]
[fix] LCD GPIO mode must be alternate function

12 years ago[update] lcd example uses libstm32l_discovery
Fabien Le Mentec [Sun, 16 Oct 2011 16:05:46 +0000 (11:05 -0500)]
[update] lcd example uses libstm32l_discovery

12 years ago[update] documentation
Fabien Le Mentec [Sun, 16 Oct 2011 15:59:51 +0000 (10:59 -0500)]
[update] documentation

12 years ago[add] libstm32l_discovery from ST packages. build directory contains the necessary...
Fabien Le Mentec [Sun, 16 Oct 2011 15:54:03 +0000 (10:54 -0500)]
[add] libstm32l_discovery from ST packages. build directory contains the necessary to build

12 years ago[add, wip] example/lcd
Fabien Le Mentec [Sun, 16 Oct 2011 11:01:11 +0000 (06:01 -0500)]
[add, wip] example/lcd

12 years ago[update] documentation
Fabien Le Mentec [Sun, 16 Oct 2011 08:48:27 +0000 (03:48 -0500)]
[update] documentation

12 years ago[update] documentation
Fabien Le Mentec [Sun, 16 Oct 2011 08:24:45 +0000 (03:24 -0500)]
[update] documentation

12 years ago[update] blink does not use bootmode
Fabien Le Mentec [Sun, 16 Oct 2011 06:30:07 +0000 (01:30 -0500)]
[update] blink does not use bootmode

12 years ago[mv] blink source into example/blink
Fabien Le Mentec [Sun, 16 Oct 2011 06:28:57 +0000 (01:28 -0500)]
[mv] blink source into example/blink

12 years ago[update] documentation, libsg2 dependency
Fabien Le Mentec [Sat, 15 Oct 2011 22:25:11 +0000 (17:25 -0500)]
[update] documentation, libsg2 dependency

12 years ago[update] unused stlinkv2 commands
Fabien Le Mentec [Sat, 15 Oct 2011 22:21:35 +0000 (17:21 -0500)]
[update] unused stlinkv2 commands

12 years ago[update] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 22:20:56 +0000 (17:20 -0500)]
[update] documentation

12 years ago[update] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 22:15:50 +0000 (17:15 -0500)]
[update] documentation

12 years ago[update] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 22:14:12 +0000 (17:14 -0500)]
[update] documentation

12 years ago[update] port blink example to stm32l discovery
Fabien Le Mentec [Sat, 15 Oct 2011 22:10:15 +0000 (17:10 -0500)]
[update] port blink example to stm32l discovery

12 years ago[update] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 21:40:47 +0000 (16:40 -0500)]
[update] documentation

12 years ago[update] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 20:15:33 +0000 (15:15 -0500)]
[update] documentation

12 years ago[update] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 20:06:14 +0000 (15:06 -0500)]
[update] documentation

12 years ago[update] blinky entrypoint
Fabien Le Mentec [Sat, 15 Oct 2011 18:31:15 +0000 (13:31 -0500)]
[update] blinky entrypoint

12 years ago[fix] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 18:18:26 +0000 (13:18 -0500)]
[fix] documentation

12 years ago[update] documentation
Fabien Le Mentec [Sat, 15 Oct 2011 17:53:44 +0000 (12:53 -0500)]
[update] documentation

12 years ago[update] example/Makefile base text address
Fabien Le Mentec [Sat, 15 Oct 2011 17:31:21 +0000 (12:31 -0500)]
[update] example/Makefile base text address

12 years ago[add] doc/tutorial.tex,pdf
Fabien Le Mentec [Sat, 15 Oct 2011 17:30:33 +0000 (12:30 -0500)]
[add] doc/tutorial.tex,pdf

12 years ago[add] acknowledgments
Fabien Le Mentec [Fri, 14 Oct 2011 22:22:31 +0000 (17:22 -0500)]
[add] acknowledgments

12 years ago[mv] stm32l into toremove
Fabien Le Mentec [Fri, 14 Oct 2011 22:11:18 +0000 (17:11 -0500)]
[mv] stm32l into toremove

12 years ago[update] README
Fabien Le Mentec [Fri, 14 Oct 2011 22:05:14 +0000 (17:05 -0500)]
[update] README

12 years ago[delete] INSTALL. refer to README
Fabien Le Mentec [Fri, 14 Oct 2011 21:56:14 +0000 (16:56 -0500)]
[delete] INSTALL. refer to README

12 years ago[fix] GDB port fixed to 4242 until better command line parsing. leave DFU mode.
Fabien Le Mentec [Fri, 14 Oct 2011 21:08:44 +0000 (16:08 -0500)]
[fix] GDB port fixed to 4242 until better command line parsing. leave DFU mode.

12 years ago[fix] GDB listening port, temporary. needs better command line parsing.
Fabien Le Mentec [Fri, 14 Oct 2011 20:55:17 +0000 (15:55 -0500)]
[fix] GDB listening port, temporary. needs better command line parsing.

12 years ago[fix] remove invalid free
Fabien Le Mentec [Fri, 14 Oct 2011 20:47:08 +0000 (15:47 -0500)]
[fix] remove invalid free

12 years ago[fix] missing parse_version in sg transport layer
Fabien Le Mentec [Fri, 14 Oct 2011 20:38:54 +0000 (15:38 -0500)]
[fix] missing parse_version in sg transport layer

12 years ago[fix] gdb-server unused variable
Fabien Le Mentec [Fri, 14 Oct 2011 20:02:06 +0000 (15:02 -0500)]
[fix] gdb-server unused variable

12 years ago[fix] warnings
Fabien Le Mentec [Fri, 14 Oct 2011 19:51:16 +0000 (14:51 -0500)]
[fix] warnings