- Check target state before MMU query
- Force sysbus access during runtime writes
- Restore original settings after access
Change-Id: Idf244be0425d5c1584d092e1c2693ad11c941d12
Signed-off-by: Huaqi Fang <578567190@qq.com>
- Only log error if target is not running or in debug running state.
- Refine logging for consistency across functions.
Change-Id: Ic1a8b0e379dca06f01786feb9aa9ef5892e1d789
Signed-off-by: Huaqi Fang <578567190@qq.com>
It can be used for reading/writing multiple non-contiguous
chunks of memory with minimum latency using sba method
based on a0a1aed80f
Change-Id: If52bf14875f36229e315970643d11983ae2e539d
Signed-off-by: Huaqi Fang <578567190@qq.com>
The following changes are added
Change-Id: I1c185d6017674c756871812effffd3ece7e43fc4
ci: split deploy_openocd job to deploy and link two jobs
- deploy job will only install openocd into share environment
- link job will link this version of openocd to latest
Change-Id: I9e6f524cb8237bbed146f50ebb8f342f7549ad4a
Signed-off-by: Huaqi Fang <578567190@qq.com>
ci: install openocd zip into share environment when deploy
Change-Id: I34726e72edc1db29c3bea5ca6aacb69c959d6d75
Signed-off-by: Huaqi Fang <578567190@qq.com>
ci: optimize deploy job and upload deploy zip into artifacts
Change-Id: I7f2e4182077acf193c3c4ab851643cf6ca6d6759
Signed-off-by: Huaqi Fang <578567190@qq.com>
ci: git submodule update should not use with --remote for ci repo update
see https://git-scm.com/book/en/v2/Git-Tools-Submodules
Change-Id: I38d57199f79b1eee6d312140d46fa0e8568dec9c
Signed-off-by: Huaqi Fang <578567190@qq.com>
In Nuclei RISC-V Processor, Vector Module can be configured to lite version
which vslide1down_vx instruction maybe not present, so we need to find other
ways to read and write vector registers, this commit is a workaround to do this.
Change-Id: I6e01666ec49d2876942b09b7e5d14c3fcc76854f
Signed-off-by: wangyanwen <wangyanwen@nucleisys.com>
init resethalt is used to halt the cpu when reset
Change-Id: I5c504599c10da204c0e9f933d33f61fe75ed033c
Signed-off-by: wangyanwen <wangyanwen@nucleisys.com>
- cm32m4xxr flash driver is for cm32m4xxr devices
- nuspi flash driver is for nuclei evalsoc devices
- custom flash driver is for customized flash driver
without modify openocd source code, see https://github.com/riscv-mcu/openflashloader
Change-Id: I86c4f0298707b5cfdfb77b6d8f4cbed3a189ddf0
Signed-off-by: wangyanwen <wangyanwen@nucleisys.com>
* Registers were not invalidated if the hart became unavailable.
* Improved logging in the case register invalidation involves loss of
information.
Change-Id: Icfb5e190dd6dcb1a97e4d314d802466cab7a01e4
Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
This changes will allow to unite read_memory/write_memory fucntions
to one access function
(1) Replaced read/write functions arguments with one structure
(2) Unified read_memory/write_memory function pointers
to be stored in same structure
Signed-off-by: Farid Khaydari <f.khaydari@syntacore.com>
this commit fixes a regression introduced in
ba8c1eef5a.
The regression was caused by removal of these lines:
```
- /* Register prefix: "csr_" or "custom_" */
- strcpy(name, reg_type);
- name[strlen(reg_type)] = '_';
```
causing all CSR names with custom names to be parsed as empty strings.
Add maskisr command support to Xtensa NX targets allowing masking
of interrupts during single stepping.
Change-Id: I3835479de8015f1a2842afd1aeab24829e385031
Signed-off-by: Henrik Mau <henrik.mau@analog.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8575
Reviewed-by: Ian Thompson <ianst@cadence.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
Use LOG_TARGET_xxx() for the remaining log messages.
Change-Id: If52e3935b57e4c39212ce6b5111ff65159de1373
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8580
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Use LOG_TARGET_xxx() for the remaining log messages.
Change-Id: I4b86b206d17dead0662388e827204b40a7d29edd
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8579
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Remove the prefix since it is redundant. While at it, also
get rid of the useless exclamation mark.
Change-Id: I8707342c602cea735c5a423b37ebe40a3aafb137
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8578
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Remove the prefix since it is redundant.
Change-Id: I9c23c0479ba40be24e471309e720060cd03763ee
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8577
Tested-by: jenkins
Reviewed-by: Ian Thompson <ianst@cadence.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Catch an invalid option like "--enable-buspirate=rubbish".
Also mention all valid values in the help text for those options.
Change-Id: Ib0fb8904132d07cc5cde421aa816ca6971a08769
Signed-off-by: R. Diez <rdiezmail-openocd@yahoo.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8540
Reviewed-by: R. Diez <rdiez-2006@rd10.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins