mirror of
https://github.com/openocd-org/openocd.git
synced 2025-10-16 06:07:25 +08:00
Compare commits
7 Commits
v0.6.0-rc2
...
v0.6.0
Author | SHA1 | Date | |
---|---|---|---|
![]() |
370d02b857 | ||
![]() |
552e027f68 | ||
![]() |
e26ddb627b | ||
![]() |
8a197f0bbc | ||
![]() |
37f8f0bf9a | ||
![]() |
39f3501afb | ||
![]() |
9fbfb6103a |
@@ -1,5 +1,5 @@
|
|||||||
AC_PREREQ(2.60)
|
AC_PREREQ(2.60)
|
||||||
AC_INIT([openocd], [0.6.0-rc2],
|
AC_INIT([openocd], [0.6.0],
|
||||||
[OpenOCD Mailing List <openocd-devel@lists.sourceforge.net>])
|
[OpenOCD Mailing List <openocd-devel@lists.sourceforge.net>])
|
||||||
AC_CONFIG_SRCDIR([src/openocd.c])
|
AC_CONFIG_SRCDIR([src/openocd.c])
|
||||||
|
|
||||||
@@ -224,7 +224,7 @@ __EOF__
|
|||||||
# In case (1) and (2) we need to know where the package was unpacked.
|
# In case (1) and (2) we need to know where the package was unpacked.
|
||||||
|
|
||||||
AC_ARG_WITH(ftd2xx-win32-zipdir,
|
AC_ARG_WITH(ftd2xx-win32-zipdir,
|
||||||
AS_HELP_STRING([--with-ftd2xx-win32-zipdir],[Where (CYGWIN/MINGW) the zip file from ftdichip.com was unpacked <default=search>]),
|
AS_HELP_STRING([--with-ftd2xx-win32-zipdir],[Where (CYGWIN/MINGW) the zip file from ftdichip.com was unpacked (default=search)]),
|
||||||
[
|
[
|
||||||
# option present
|
# option present
|
||||||
if test -d $with_ftd2xx_win32_zipdir
|
if test -d $with_ftd2xx_win32_zipdir
|
||||||
@@ -237,7 +237,7 @@ AC_ARG_WITH(ftd2xx-win32-zipdir,
|
|||||||
], [true])
|
], [true])
|
||||||
|
|
||||||
AC_ARG_WITH(ftd2xx-linux-tardir,
|
AC_ARG_WITH(ftd2xx-linux-tardir,
|
||||||
AS_HELP_STRING([--with-ftd2xx-linux-tardir], [Where (Linux/Unix) the tar file from ftdichip.com was unpacked <default=search>]),
|
AS_HELP_STRING([--with-ftd2xx-linux-tardir], [Where (Linux/Unix) the tar file from ftdichip.com was unpacked (default=search)]),
|
||||||
[
|
[
|
||||||
# Option present
|
# Option present
|
||||||
if test $is_win32 = yes ; then
|
if test $is_win32 = yes ; then
|
||||||
@@ -254,7 +254,7 @@ AC_ARG_WITH(ftd2xx-linux-tardir,
|
|||||||
|
|
||||||
AC_ARG_WITH(ftd2xx-lib,
|
AC_ARG_WITH(ftd2xx-lib,
|
||||||
AS_HELP_STRING([--with-ftd2xx-lib],
|
AS_HELP_STRING([--with-ftd2xx-lib],
|
||||||
[Use static or shared ftd2xx libs on default static]),
|
[Use static or shared ftd2xx libs (default=static)]),
|
||||||
[
|
[
|
||||||
case "$withval" in
|
case "$withval" in
|
||||||
static)
|
static)
|
||||||
|
@@ -174,7 +174,7 @@ The OpenOCD web site provides the latest public news from the community:
|
|||||||
|
|
||||||
The user's guide you are now reading may not be the latest one
|
The user's guide you are now reading may not be the latest one
|
||||||
available. A version for more recent code may be available.
|
available. A version for more recent code may be available.
|
||||||
Its HTML form is published irregularly at:
|
Its HTML form is published regularly at:
|
||||||
|
|
||||||
@uref{http://openocd.sourceforge.net/doc/html/index.html}
|
@uref{http://openocd.sourceforge.net/doc/html/index.html}
|
||||||
|
|
||||||
@@ -192,6 +192,17 @@ instead of this forum.
|
|||||||
|
|
||||||
@uref{http://forum.sparkfun.com/viewforum.php?f=18}
|
@uref{http://forum.sparkfun.com/viewforum.php?f=18}
|
||||||
|
|
||||||
|
@section OpenOCD User's Mailing List
|
||||||
|
|
||||||
|
The OpenOCD User Mailing List provides the primary means of
|
||||||
|
communication between users:
|
||||||
|
|
||||||
|
@uref{https://lists.sourceforge.net/mailman/listinfo/openocd-user}
|
||||||
|
|
||||||
|
@section OpenOCD IRC
|
||||||
|
|
||||||
|
Support can also be found on irc:
|
||||||
|
@uref{irc://irc.freenode.net/openocd}
|
||||||
|
|
||||||
@node Developers
|
@node Developers
|
||||||
@chapter OpenOCD Developer Resources
|
@chapter OpenOCD Developer Resources
|
||||||
|
@@ -3018,7 +3018,7 @@ static int sam3_page_read(struct sam3_bank_private *pPrivate, unsigned pagenum,
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
adr = pagenum * pPrivate->page_size;
|
adr = pagenum * pPrivate->page_size;
|
||||||
adr += adr + pPrivate->base_address;
|
adr += pPrivate->base_address;
|
||||||
|
|
||||||
r = target_read_memory(pPrivate->pChip->target,
|
r = target_read_memory(pPrivate->pChip->target,
|
||||||
adr,
|
adr,
|
||||||
@@ -3126,7 +3126,7 @@ static int sam3_page_write(struct sam3_bank_private *pPrivate, unsigned pagenum,
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
adr = pagenum * pPrivate->page_size;
|
adr = pagenum * pPrivate->page_size;
|
||||||
adr += (adr + pPrivate->base_address);
|
adr += pPrivate->base_address;
|
||||||
|
|
||||||
/* Get flash mode register value */
|
/* Get flash mode register value */
|
||||||
r = target_read_u32(pPrivate->pChip->target, pPrivate->controller_address, &fmr);
|
r = target_read_u32(pPrivate->pChip->target, pPrivate->controller_address, &fmr);
|
||||||
|
@@ -249,6 +249,14 @@ static int stm32x_erase_options(struct flash_bank *bank)
|
|||||||
|
|
||||||
stm32x_info = bank->driver_priv;
|
stm32x_info = bank->driver_priv;
|
||||||
|
|
||||||
|
/* stlink is currently does not support 16bit
|
||||||
|
* read/writes. so we cannot write option bytes */
|
||||||
|
struct armv7m_common *armv7m = target_to_armv7m(target);
|
||||||
|
if (armv7m && armv7m->stlink) {
|
||||||
|
LOG_ERROR("Option bytes currently unsupported for stlink");
|
||||||
|
return ERROR_FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
/* read current options */
|
/* read current options */
|
||||||
stm32x_read_options(bank);
|
stm32x_read_options(bank);
|
||||||
|
|
||||||
|
@@ -1025,7 +1025,7 @@ static int cortex_m3_assert_reset(struct target *target)
|
|||||||
|
|
||||||
if (reset_config == CORTEX_M3_RESET_VECTRESET) {
|
if (reset_config == CORTEX_M3_RESET_VECTRESET) {
|
||||||
LOG_WARNING("Only resetting the Cortex-M3 core, use a reset-init event "
|
LOG_WARNING("Only resetting the Cortex-M3 core, use a reset-init event "
|
||||||
"handler to reset any peripherals");
|
"handler to reset any peripherals or configure hardware srst support.");
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user