summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cortex_m3: change cortec_m3 reset_config behaviourSpencer Oliver2010-12-032-19/+2
| | | | | | | | | Currently the cmd 'cortex_m3 reset_config' will overide the default target's 'reset_config'. Chnage the behaviour to use the target 'reset_config' if configured and fallback if not. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* config: fix luminary jtag configSpencer Oliver2010-12-021-3/+0
| | | | | | | When this config was updated in commit e3773e3e3d1f1ee0dbb0b69e8babe8419784d1c1 the old jtag declaration was not removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* rename some target scripts to be consistent with the restFreddie Chopin2010-12-023-0/+0
| | | | | | Rename Atmel target scripts which had wrong name ("at91" missing for ARM7 AT91SAM7..., "at" missing for AVR ATmega...) Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
* profile: use 100Hz as a default sampling frequencyØyvind Harboe2010-12-011-2/+2
| | | | | | | | it's a lie that is somewhere in the vicinity of the truth. Certainly 64MHz confuses gprof and produces zero output and no error messages. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* lpc2900.c: Improve debug output for device probingRolf Meeser2010-12-011-1/+5
|
* lpc2900.c: Add support for new device LPC2926Rolf Meeser2010-12-011-1/+5
|
* LPC2900: Avoid false positive reprobing if first probing failsRolf Meeser2010-12-011-7/+11
|
* Some cosmetic fixes to the Lisa/L layout support functions.Piotr Esden-Tempski2010-11-301-5/+1
|
* Added support for the blinking leds on Floss-JTAG v0.3 and newer.Piotr Esden-Tempski2010-11-302-1/+58
|
* Updated Floss-JTAG config file to support v0.3 and newer. Also added ↵Piotr Esden-Tempski2010-11-302-1/+29
| | | | noeeprom version of the config file for older versions of Floss-JTAG.
* build: fix make install with jimtclSpencer Oliver2010-11-261-0/+0
| | | | | | | Update subproject jimtcl to fix issue with make install. see jimtcl commit 373b721510fd2d0754a41cc70a3b7cfd02e929bd Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: correct configure help messageSpencer Oliver2010-11-261-1/+1
| | | | | | | As we default to building jimtcl the help text should show that. No change in functionality or configure args required. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* FLASH/NOR: Rename spearsmi.c to stmsmi.cAntonio Borneo2010-11-232-1/+1
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: rename from spearsmi to stmsmiAntonio Borneo2010-11-235-89/+90
| | | | | | | STMicroelectronics controller SMI is not SPEAr specific. Rename it and change name to every symbol in the code. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* STR750: Add SMI interface supportAntonio Borneo2010-11-232-35/+55
| | | | | | | Modified spearsmi driver to include support for STR75x Added missing initialization in tcl file for STR750 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* NOR/SPEARSMI: fix segfaultAntonio Borneo2010-11-231-0/+1
| | | | | | | If flash chip is not listed in the table, or if no flash is connected, pointer must be properly initialized. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* Documentation: fix typoAntonio Borneo2010-11-231-1/+1
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* flash: iterating over an address range now handles multiple banksØyvind Harboe2010-11-221-1/+38
| | | | | | | e.g. flash erase_address now works across an address range that spans multiple flash chips. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* fastload: fix error handling upon running out of memoryØyvind Harboe2010-11-221-6/+16
| | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* build: remove AC_CONFIG_AUX_DIR macroSpencer Oliver2010-11-191-1/+0
| | | | | | This was used during testing and should have been removed. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: disable jimtcl lineeditSpencer Oliver2010-11-191-1/+1
| | | | | | | This is a recent jimtcl feature but it currently breaks mingw builds as this system does not have termios.h etc. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: fix subconfigure parameter issueSpencer Oliver2010-11-191-1/+1
| | | | | | | When passing CFLAGS for example through to the jimtcl subconfigure the quotes were not being preserved. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: update bootstrap commentsSpencer Oliver2010-11-191-5/+1
| | | | Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: prepend --with-jim-ext=nvp to jimtcl configureSpencer Oliver2010-11-193-1/+30
| | | | | | | This allows us to add options to jimtcl configure. The default autoconf AC_CONFIG_SUBDIRS does not currently support this. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: add autobuild jimtcl to configure scriptsSpencer Oliver2010-11-185-2/+33
| | | | | | | | | | Rather than having to configure/build jimtcl openocd will do this as part of its own build. To use an external jimtcl lib specify disable-internal-jimtcl to the configure step. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* build: add common.mkSpencer Oliver2010-11-1813-43/+19
| | | | | | | Rather than specifying common makefile variables move them all to a common.mk. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* FLASH/NOR: Remove useless file tms470.hAntonio Borneo2010-11-173-40/+15
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file str9xpec.hAntonio Borneo2010-11-173-79/+50
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file str9x.hAntonio Borneo2010-11-173-62/+35
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file str7x.hAntonio Borneo2010-11-173-110/+83
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file stm32x.hAntonio Borneo2010-11-173-101/+74
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file stellaris.hAntonio Borneo2010-11-173-109/+85
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file pic32mx.hAntonio Borneo2010-11-173-96/+65
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file lpc288x.hAntonio Borneo2010-11-173-39/+13
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file lpc2000.hAntonio Borneo2010-11-173-73/+45
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file avrf.hAntonio Borneo2010-11-173-41/+16
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* flash: fix bug with multiple back-to-back flash chipsØyvind Harboe2010-11-171-3/+7
| | | | | | | | | | | flash programming via flash write_image or gdb load would produce a bogus error message that the flash chip was to small. The solution is to limit the current flash programming run to the current chip. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* FLASH/NOR: Remove useless file at91sam7.hAntonio Borneo2010-11-173-118/+91
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file at91sam3.hAntonio Borneo2010-11-173-25/+2
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* FLASH/NOR: Remove useless file spearsmi.hAntonio Borneo2010-11-173-32/+8
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* NOR/SPEARSMI: Add comments about SPIAntonio Borneo2010-11-171-4/+22
| | | | | | | | | SMI interface hides the real SPI bus between SPEAr and external flash. Added comments to highlight the SPI operation, to help a future rework in SPI generic and SPEAr specific drivers. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* TCL/SPEAr: Added Serial flash in board fileAntonio Borneo2010-11-161-0/+4
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* NOR/SPEAr: Add support for Serial NORAntonio Borneo2010-11-165-0/+774
| | | | | | | | Add support and documentation for STMicroelectronics SPEAr Serial Memory Interface (SMI). Code tested on SPEAr3xx only. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
* httpd: retire this serverØyvind Harboe2010-11-1556-10051/+3
| | | | | | | | | | this never panned out and there are enough mistakes in the code that probably nobody used this. Use the tcl server and implement a standalone http app instead works fine. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* Add comments and tiny improvements to STM32 flash loader algorithmFreddie Chopin2010-11-152-34/+39
| | | | | | | | Add comments to assembly flash loader for STM32. Add tiny improvement in size of the algorithm (40 vs 48 bytes) and tiny speed improvement (~1.5%, as time is wasted on waiting for end of operation anyway). Signed-off-by: Freddie Chopin <freddie_chopin@op.pl>
* gdb: fix occasional crash when flash probe failedØyvind Harboe2010-11-151-3/+7
| | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* gdb: improve error message when gdb connect failsØyvind Harboe2010-11-111-1/+1
| | | | | | | | | | | | | gdb connect can fail when the flash has not been probed. During gdb connect, the flash layout is reported, but this can not be automatically detected for a target that is powered up and OpenOCD supports connecting to gdb server even if the target is powered down. The solution is to turn of the gdb_memory_map feature. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* cortex_m3: report detected error condition in pollØyvind Harboe2010-11-091-6/+13
| | | | | | | | | | | | If the CPU crashed at some point, poll will discover this. Previously the poll fn would clear the error and print a warning, rather than propagating the error. The new behavior is to report the error back up, but still clear the error. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* target: document that target_poll() will report and clear sticky errorsØyvind Harboe2010-11-091-0/+12
| | | | Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
* TCL scripts: replace "puts" with "echo"Antonio Borneo2010-11-0924-201/+201
| | | | Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>