aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-06-28cortex_m3: add auto maskisrv0.5.0-rc1Spencer Oliver
This patch extends the cortex_m3 maskisr command by a new option 'auto'. The 'auto' option handles interrupts during stepping in a way they are processed but don't disturb the program flow during debugging. Before one had to choose to either enable or disable interrupts. The former steps into interrupt handlers when they trigger. This disturbs the flow during debugging, making it hard to follow some piece of code when interrupts occur often. When interrupts are disabled, the flow isn't disturbed but code relying on interrupt handlers to be processed will stop working. For example a delay function counting the number of timer interrupts will never complete, RTOS task switching will not occur and output I/O queues of interrupt driven I/O will stall or overflow. Using the 'maskisr' command also typically requires gdb hooks to be supplied by the user to switch interrupts off during the step and to enable them again afterward. The new 'auto' option of the 'maskisr' command solves the above problems. When set, the step command allows pending interrupt handlers to be executed before the step, then the step is taken with interrupts disabled and finally interrupts are enabled again. This way interrupt processing stays in the background without disturbing the flow of debugging. No gdb hooks are required. The 'auto' option is the default, since it's believed that handling interrupts in this way is suitable for most users. The principle used for interrupt handling could probably be used for other targets too. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-28cortex_m3: add BKPT_TYPE_BY_ADDR definePeter Horn
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-26Include ULINK driver in src/jtag/drivers/Makefile.amMartin Schmölzer
A new variable "nobase_dist_pkglib_DATA" is introduced to install the OpenULINK firmware image to $PREFIX/lib/openocd/OpenULINK/ulink_firmware.hex Also, the variable "EXTRA_DIST" is used to include the OpenULINK firmware source in the OpenOCD source distribution.
2011-06-26Include ULINK driver in src/Makefile.amMartin Schmölzer
2011-06-26Include ULINK driver in src/jtag/interfaces.cMartin Schmölzer
2011-06-26Add OpenULINK firmwareMartin Schmölzer
Build requires SDCC, the Small Device C Compiler.
2011-06-26Add source code for new ULINK driverMartin Schmölzer
2011-06-24Fix load_image for ELF with all p_paddr set to zeroDrasko DRASKOVIC
So far image_load command tries to load ELF binaries to address discovered by reading p_paddr member of a Program header of an ELF segment. However, ELF specifications says for p_paddr : ...Because System V ignores physical addressing for application programs, this member has unspecified contents for executable files and shared objects. ARM ELF specifiaction goes even further, demanding that this member be set to zero, using the p_vaddr as a segment load address. To avoid the cases to wrong addr where p_paddr is zero, we are now using p_vaddr to as a load destination in case that *all* p_paddr == 0. Basically, this patch re-implements the approach present in BDF's elf.c, which is used by GDB also (so that we can be consistent).
2011-06-17build: do not included generated files in distributionSpencer Oliver
We have to use this method as automake seems to ignore nodist_ on libs. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-17build: add missing files to make distSpencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-17build: add missing files from dist releaseSpencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-06-16ADAPTER: Fixed transport selection mechanism to support transports other ↵Tomek CEDRO
than jtag (if defined).
2011-06-16OPENOCD: Renamed ambiguous main2() into openocd_thread() to show possible ↵Tomek CEDRO
solution for thread support in future.
2011-06-13transport: move files over to transport folderØyvind Harboe
as we introduce swd and jtag as two transports, we want to start up with a new transport folder to organize the code a bit.
2011-06-12doxy moreRodrigo L. Rosa
2011-06-12doxy & cleanupRodrigo L. Rosa
2011-06-12fix protection behaviorRodrigo L. Rosa
2011-06-12cleanup trailing whitespacesRodrigo L. Rosa
2011-06-12flash speed improvedRodrigo L. Rosa
2011-06-12removed unnecessary actions/controlsRodrigo L. Rosa
2011-06-12cleanup flash module commandRodrigo L. Rosa
2011-06-12fix read for verify_imageRodrigo L. Rosa
2011-06-12fix read speed improved by queueing commandsRodrigo L. Rosa
2011-06-12fix flash driver size, sector eraseRodrigo L. Rosa
2011-06-12Added minimodule (ftdi) interfaceRodrigo L. Rosa
2011-06-07Silence -O3 warningØyvind Harboe
2011-06-07Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - leftover ↵Freddie Chopin
changes
2011-06-05mips: add nor flash write from memory blockStefan Mahr
2011-06-04crc check on flashed dataRodrigo L. Rosa
2011-06-04code cleanupRodrigo L. Rosa
2011-06-04Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - dubious fixesFreddie Chopin
2011-06-04Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixesFreddie Chopin
2011-06-01mips: fixup fastdataStefan Mahr
fixup fastdata
2011-06-01mips: fix some more endian madnessStefan Mahr
2011-05-29mips: fix swapping if running on big endian hostStefan Mahr
2011-05-28Fixed values for Samung NAND chipsDamjan Marion
2011-05-28Improve NAND flash detectionDamjan Marion
Detect based on both manufacturer id and chip id if manufacturer id is defined in table
2011-05-28Reorganize NAND flash tableDamjan Marion
- added manufacturer field - name moved to the end for better text alignment
2011-05-28mips: fix swapping if openocd is running on big endian hostStefan Mahr
2011-05-25Report actual current threadAlan Bowman
2011-05-25Add eCos/Cortex RTOS supportAlan Bowman
2011-05-25add support for spansion flash on mindspeed c300 eval boardStefan Mahr
Signed-off-by: Stefan Mahr <stefan.mahr@sphairon.com>
2011-05-23dsp5680xx: whitespace cleanupSpencer Oliver
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-05-23Fix build issue under cygwinSpencer Oliver
cygwin does not define sleep, so use our internal win32 version. caused by commit 9d4aec6bda90ad39a140747ea270c6a09dd26440 Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
2011-05-19flashing speed improved using queued jtag. error propagation improved.Rodrigo L. Rosa
2011-05-18Get register value if it's invalid in cache.Jie Zhang
2011-05-18Corrected test for invalid current_threadidAlan Bowman
2011-05-18flash support (only full erase/write) for 568013 and 568037Rodrigo L. Rosa
2011-05-18partial support for 568013 and 568037, target integration.Rodrigo L. Rosa
2011-05-14Correct stacking direction and use of address offsetAlan Bowman