summaryrefslogtreecommitdiff
path: root/src/flash
Commit message (Collapse)AuthorAgeFilesLines
...
* - stellaris flash driver changed warning to infontfreak2008-05-281-4/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@695 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - moved flash erase_check target code to target.cntfreak2008-05-274-209/+56
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@694 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* flash_write will attempt to pad image sectionsntfreak2008-05-271-8/+28
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@693 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - corrected error with stm32 page calculationntfreak2008-05-261-1/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@686 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added stellaris flash mass_erase commandntfreak2008-05-241-80/+132
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@682 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - update sectors on stm32x mass erasentfreak2008-05-241-0/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@681 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - removed compiler warningsntfreak2008-05-241-15/+4
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@679 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - add support for newer high density stm32 partsntfreak2008-05-232-30/+53
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@674 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Edgar Grimberg fixes some memory handling issues andoharboe2008-05-202-11/+28
| | | | | | a problem with arm7_9_debug_entry not executing a code path upon crashes. git-svn-id: svn://svn.berlios.de/openocd/trunk@669 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added new device to luminary flash driverntfreak2008-04-301-2/+35
| | | | | | - only use SYSRESETREQ on affected luminary parts git-svn-id: svn://svn.berlios.de/openocd/trunk@630 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - stm32x default to 128k if flash size failed.ntfreak2008-04-291-1/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@627 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - luminary flash now loader polls when finishedntfreak2008-04-261-7/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@622 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - change str9 flash controller to read array after a level 1 protectntfreak2008-04-261-0/+7
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@619 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Close dangling file handleoharboe2008-04-241-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@616 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added svn props for newly added filesntfreak2008-04-2414-1534/+1532
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@615 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy's on chip flash loaderoharboe2008-04-2316-1/+1538
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@612 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Andre Renaud support for the am29sl800db CFI flash chip (id: 0x0004, 0x226b).oharboe2008-04-233-0/+20
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@603 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - set lpc288x[ch] svn file propsntfreak2008-04-212-606/+606
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@599 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - set erase flag on sectorntfreak2008-04-201-4/+6
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@598 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Karl RobinSod <karl.robinsod@gmail.com> added lpc288x support. Some work ↵oharboe2008-04-204-2/+610
| | | | | | remaining, committing for test/collaboration purposes. git-svn-id: svn://svn.berlios.de/openocd/trunk@597 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - flash.c change stricmp to strcmpntfreak2008-04-191-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@595 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* retired auto_erase, added optional erase arg to flash write_image.oharboe2008-04-191-25/+18
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@593 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Flash auto-erase is disabled by defaultdrath2008-04-181-2/+3
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@592 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Enabled auto erase, gdb memory map and gdb flash programming by default.oharboe2008-04-181-1/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - split str71x driver into banksntfreak2008-04-146-196/+147
| | | | | | | - support new str91x/str9xpec devices - update target scripts and docs for changes git-svn-id: svn://svn.berlios.de/openocd/trunk@577 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - single core context used, removed debug context as thought unnecessary.ntfreak2008-04-102-2/+0
| | | | | | | | | - DCRDR now used to access special core registers - info is currently omitted from the cortex_m3 TRM ARM have told me this is the preferred access method and the docs will be updated soon. - now checks for User Thread Mode and Thread mode when halted. - removed repeated function declarations from command.c - cortex_m3_prepare_reset_halt removed, updated cortex_m3_assert_reset to suit git-svn-id: svn://svn.berlios.de/openocd/trunk@558 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Edwin Olson found bug & tested fix for flash write_image for stellaris.oharboe2008-04-081-0/+11
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@550 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* added a couple of LOG_ERROR() messages to improve logfile.oharboe2008-04-083-2/+10
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@548 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - reverted some of the changes that possibly broke arm926ejs. Waitingoharboe2008-04-042-14/+11
| | | | | | | | for a bit more info before I can tell with confidence whether or not this would have any effect. - worked on error propagation and output for flash git-svn-id: svn://svn.berlios.de/openocd/trunk@539 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - Work on fixing erase check. Many implementations are plain broken.oharboe2008-04-034-195/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | Wrote a default flash erase check fn which uses CFI's target algorithm w/fallback to memory reads. - "flash info" no longer prints erase status as it is stale. - "flash erase_check" now prints erase status. erase check can take a *long* time. Work in progress - arm7/9 with seperate srst & trst now supports reset init/halt after a power outage. arm7/9 no longer makes any assumptions about state of target when reset is asserted. - fixes for srst & trst capable arm7/9 with reset init/halt - prepare_reset_halt retired. This code needs to be inside assert_reset anyway - haven't been able to get stm32 write algorithm to work. Fallback flash write does work. Haven't found a version of openocd trunk where this works. - added target_free_all_working_areas_restore() which can let be of restoring backups. This is needed when asserting reset as the target must be assumed to be an unknown state. Added some comments to working areas API - str9 reset script fixes - some guidelines - fixed dangling callbacks upon reset timeout git-svn-id: svn://svn.berlios.de/openocd/trunk@536 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* fix flash info - now reports erased state properlyoharboe2008-04-025-97/+57
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@534 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fixes for jtag_khz committed.oharboe2008-04-011-0/+116
| | | | | | - wip, flash fillw/h/b. For testing purposes. git-svn-id: svn://svn.berlios.de/openocd/trunk@531 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - rename log functions to stop conflicts under win32 (wingdi)ntfreak2008-03-2517-382/+382
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@523 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix warnings during configure cause by ecosboard. default to no, if host ↵drath2008-03-171-87/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | cpu isn't arm. - fix generic bitbang code to allow scans to end in Shift-[ID]R - several CFI fixes (thanks to Michael Schwingen): - buffer overflow when converting target code in cfi_intel_write_block - cfi_fix_code_endian needs the number of words, not bytes, as size argument. - Spansion flash write was completely broken on big-endian targets - I borrowed mechanisms from the intel driver, and moved some common code into the cfi_command_val helper function. There is still more common code that might be cleaned up. - the buffer size check in cfi_write was broken for spansion flashes, where cfi_write_words is not implemented. cfi_write_words is no only called if the flash does have a buffer size >1. - "flash info" printed CFI status information for non-CFI flashes, which is confusing. It now only prints those when a real CFI flash is detected. git-svn-id: svn://svn.berlios.de/openocd/trunk@517 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Michael Bruck: fix warningoharboe2008-03-091-0/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@479 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Michael Bruck: fixed warningsoharboe2008-03-074-12/+19
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@471 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - correct spelling typo in stm32x flash driverntfreak2008-03-071-1/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@467 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy: memory leak in at91sam7 flash driver, possible incorrect ↵oharboe2008-03-055-156/+117
| | | | | | | | pointer conversion in gpnvm command handling, uninitialized buffer issue in handle_flash_info_command in flash.c, some formatting. git-svn-id: svn://svn.berlios.de/openocd/trunk@446 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Bogus error message in GDB removedoharboe2008-03-042-0/+12
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@443 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Uwe Hermann tightned up comments, etc. to follow OpenOCD policyoharboe2008-03-023-24/+26
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@431 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Uwe Hermann: oharboe2008-02-2913-89/+160
| | | | | | | Small cosmetic fixes in the license header to make them all look the same, fix some typos, update README. git-svn-id: svn://svn.berlios.de/openocd/trunk@396 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - image.c and fileio.c now uses logging to propagate error strings.oharboe2008-02-293-6/+0
| | | | | | | | More precise, less code. - removed unused code in fileio.c - Windows should now find debug_handler.bin git-svn-id: svn://svn.berlios.de/openocd/trunk@390 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy: clarify error messagesoharboe2008-02-291-2/+2
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@387 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy - cleanup error messagesoharboe2008-02-281-37/+14
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Pavel Chromy cleaned up checks for halted, error messages, etc.oharboe2008-02-2812-99/+186
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@374 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - added svn propsntfreak2008-02-282-582/+582
| | | | | | - fixed mixed line endings on flash.c, log.c, gdb_server.c git-svn-id: svn://svn.berlios.de/openocd/trunk@371 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* lingering change for eCos flash driveroharboe2008-02-281-1/+5
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@366 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* eCos flash driver.oharboe2008-02-283-1/+484
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@365 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* - fix line-endingsdrath2008-02-283-352/+352
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@362 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Uwe Hermann fixed some warnings.oharboe2008-02-283-355/+352
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@360 b42882b7-edfa-0310-969c-e2dbd0fdcd60