Wykres commitów

327 Commity (081eae3087ac42127262452aee1808aa3d0b8abc)

Autor SHA1 Wiadomość Data
Karl Palsson d019d3fc4f Turn down default logging level.
And remove dead/duplicate code that is included in the opening of the device
2011-11-14 04:11:10 +00:00
Karl Palsson e509310406 Start up stlinkv1 faster.
Now that we're not using sg, and we've told the kernel to ignore the device in
usb-mass storage, we don't need to close and wait 5 seconds.  We can just
immediately issue the command to switch modes.
2011-11-14 03:52:19 +00:00
Karl Palsson a76c9ccfb3 Remove lots of dead code and superfluous trace
Lots of the debug code is far too verbose for anything but usb tracing.
Likewise, remove all the old scsi code that was simply ifdefd out.
2011-11-14 03:47:47 +00:00
Karl Palsson 55dd45cb49 Note that many of these "examples" are busted 2011-11-14 03:24:12 +00:00
Chris Samuelson 48931eb4c5 STM32F4 discovery_demo Makefile needed correct capitalization for Linux 2011-11-13 21:20:30 -06:00
Karl Palsson 93da0169c0 Remove confusing distclean/clean dichotomy
in the top level, make clean cleans all stlink code.
in an application level, it only cleans that application
2011-11-14 03:03:07 +00:00
Karl Palsson 2600d78b7c Start to keep an uptodate list of what's been tested in what combinations 2011-11-14 02:59:38 +00:00
Karl Palsson b48420e394 Don't refetch the chip id on every single page erase.
And update some of the logging to be a bit tidier
2011-11-14 02:51:16 +00:00
Karl Palsson a7c80d038f Fix linking with new names 2011-11-14 02:47:44 +00:00
Karl Palsson a7d14c7d4e Adding original source of vl factory demo
It compiles, but I've got bugs preventing me from running this yet :(
2011-11-14 02:47:44 +00:00
Karl Palsson fd1e3f5f2e Build libraries for stm32l1xx and stm32f10x
These libraries IGNORE assert_param.  Maybe later.
2011-11-14 02:47:44 +00:00
Karl Palsson 518fe1b0d0 Fix compile error with new libraries 2011-11-14 02:47:44 +00:00
Karl Palsson d69cad8849 Rename board specific demos as appropriate 2011-11-14 02:47:44 +00:00
Karl Palsson 3ec53a0d34 Rename 32L specific examples 2011-11-14 02:47:44 +00:00
Karl Palsson 29cf5d590c Restructure libs source to support multi platform
The "libstm32l_discovery" was actually the ST std periph library, plus the
CMSIS core files.  Renamed it as such, and restructured the directories and
naming to make this easier to contain the std periph drivers for more than
just one board.

Verified with the LCD demo makefile, and loading it in sram again.
2011-11-14 02:47:44 +00:00
Karl Palsson 77f2d8b76c Don't try reading device params in bad USB modes.
You cannot read device params when we're not in debug mode and trying to will fill the USB buffer with garbage, and you will have to
unplug and replug and start again.  (which will fail, because, you're in the
wrong mode... :)
2011-11-14 02:25:31 +00:00
Karl Palsson 3c6f2f5231 Fix flash writing for VL cores.
The change from run->step breaks the VL cores.  Need to double check that this
still works for L cores.  The whole flash writing needs to be better
abstracted.

Lots more informational debug.
2011-11-14 01:25:56 +00:00
texane 16d9f91c8c Merge pull request #25 from jnosky/master
Examples directory update for stm32f4
2011-11-12 23:22:44 -08:00
jnosky 3d3287aa95 Added note about STM32F4 flash support 2011-11-12 17:02:18 -05:00
jnosky 126c1cb026 Add STM32F4 discovery board demo and make file 2011-11-12 16:48:49 -05:00
jnosky fd49cd72b9 Added IO_Toggle demo and make file 2011-11-12 16:48:23 -05:00
jnosky ce6b40855b Added STM32F4xx Std Periph driver source and make file 2011-11-12 16:41:46 -05:00
jnosky f5316111c0 Removed binaries 2011-11-12 16:38:17 -05:00
jnosky 2f65f44249 Added IO_Toggle demo sources and make file 2011-11-12 16:22:49 -05:00
jnosky 51e5999583 Added STM32F4 discovery demo sources and make file 2011-11-12 16:22:03 -05:00
jnosky af0b374152 Added USB Device library sources 2011-11-12 16:21:04 -05:00
jnosky ec7a84c540 Added USB Host library sources 2011-11-12 16:20:02 -05:00
jnosky 428744bbe3 Added STM32F4xx StdPeriph Driver sources 2011-11-12 16:19:17 -05:00
jnosky c2fa32ce2b Added USB OTG Driver sources 2011-11-12 16:17:43 -05:00
jnosky 4856df1aad Added STM32F4-Discovery utilities 2011-11-12 16:17:03 -05:00
jnosky 6b26cc09ad Added my email 2011-11-12 16:16:15 -05:00
Karl Palsson 0c587eedfd Read chip and core id in device param loading.
Instead of expecting everyone to read it every time they need to check it.
Just assume it's always there.
2011-11-12 20:45:41 +00:00
Karl Palsson 5a5d36fdc3 Move all the flash size mapping from gdb server into core.
All the device params like flash size and page size should all be in the core open routines, not
_only_ in the gdbserver.  (This should stop it from ending up duplicated in the core, and get rid of
some of the hacks that were turning up.  All of this is chip specific!)
2011-11-12 20:36:43 +00:00
Fabien Le Mentec 0ff09f90ce [merge] merge jnosky/master 2011-11-12 02:25:02 -06:00
Fabien Le Mentec 13c0da3bcc Merge branch 'jnosky/master' 2011-11-12 01:49:08 -06:00
Karl Palsson 6cc3375151 Merge branch 'master' of github.com:karlp/stlink 2011-11-11 22:59:44 +00:00
Karl Palsson e9a205ff98 Finish removing sg-utils dependencies.
The code deps were removed, but the flags stayed in some makefiles.
2011-11-11 15:38:09 +00:00
Karl Palsson 5ac2c52296 Merge pull request #1 from PetteriAimonen/master
Here is a fix for the register bug :)
2011-11-11 07:30:21 -08:00
jnosky b32eb29a80 Changed chip detection method
Future plan to detect chip ID rather than core ID
2011-11-10 20:15:06 -05:00
jnosky d6ab5b0c3f Temp fix to work with F4 up to 64k of flash, changed chip detection
Can debug with up to 64k flash on the F4
2011-11-10 20:12:29 -05:00
jnosky 43974f34ad Added the IO_Toggle and discovery demo samples including a working make
Can now build and flash these these samples
2011-11-10 20:09:20 -05:00
jnosky bd8b822e97 Added all the F4 libraries to the project
Allows the F4 discovery examples to be built
2011-11-10 20:06:27 -05:00
Petteri Aimonen fb9d6399a7 Fixed a bug that caused gdb to display wrong registers when using stlink ver 1. 2011-11-10 21:38:16 +02:00
Fabien Le Mentec e714623a30 [merge] Ned Konz, Fixed spelling and added files to .gitignore 2011-11-09 00:25:55 -06:00
texane b18f735802 Merge pull request #21 from bravikov/master
[fix] parsing command line and sg autodetection
2011-11-07 22:13:05 -08:00
Dmitry Bravikov 72104c9816 [fix] parsing command line and sg autodetection 2011-11-08 09:41:43 +06:00
Fabien Le Mentec 55bd816703 [update] add bravikov@gmail.com to AUTHORS 2011-11-06 12:22:59 -06:00
Dmitry Bravikov c85c172c63 Parsing the arguments of command line 2011-11-06 23:26:12 +06:00
Karl Palsson c98c487fa5 Merge branch 'master' of https://github.com/texane/stlink
Conflicts:
	Makefile
	doc/tutorial/tutorial.pdf
	example/blink/Makefile
	flash/main.c
	src/stlink-common.c
	src/stlink-usb.c

Mostly whitespace conflicts it seems.
2011-11-04 02:51:15 +00:00
Karl Palsson 52b626bd16 netbeans project update for flash utility 2011-11-04 02:31:17 +00:00