Age | Commit message (Collapse) | Author | Files | Lines |
|
Remove unused file handle, and rename the only remaining one to make
more sense.
Close file descriptor if initialization fails.
Change-Id: I383567aaadb1aa59d86f814eba8bc65f24e91928
|
|
Change-Id: Ic90598b3dd4128dabb18ac4dc1285ca721a6a441
|
|
Add a comment in dbus_read
|
|
Rename dummy variable to be correct.
|
|
Change-Id: I7ff8bde4578c9ddd175c5cca370295c790cfbba7
|
|
Change-Id: Idda111377873a2236b5b91e4ffdabd2be384b47a
|
|
Select current hart before reading memory.
|
|
Use register names instead of numbers in warnings
|
|
Change-Id: I329404894227bb3cf563382e1adf0edda702543b
|
|
This avoids trying to read memory from the wrong hart, if the current
hart was changed by an earlier call (eg. to poll()).
Change-Id: I73da1e01c8d01d68f01ac7fdd6c548380a70cfd3
|
|
They confuse users otherwise.
Change-Id: I3bc491352f5384e36c54696a0ecbf11ac623dd83
|
|
This just comments the current behavior
|
|
Change-Id: Ie2295d30fd9dfeb7590f5e34d572497a93a3ce7b
|
|
Change-Id: I38720163eff292b2c24f25da4e25feb8245ff672
|
|
Issue #164
Change-Id: I083ba0d7df72a83a802297baa25753f8d274519a
|
|
Also changed a few asserts that could trigger due to broken hardware.
Fixes Issue #142.
Change-Id: Ia2b99baa82f30ebcb2fd7e4902f0e67046ce4ed2
|
|
As part of this I improved the memory read/write fatal error handling a
bit. Now at least we try to leave autoexec turned off, and will even
restore the temp registers if the situation isn't too hosed for that.
Partly addresses Issue #142
Change-Id: I79fe3f862f11c6d20441f39162423357e73a40c1
|
|
Change-Id: Ibc72945ac76513c84d62616c0210e6013b21f7ef
|
|
Change-Id: I2b23ac79639ed40e9d59db5c52ea2196df0349bc
|
|
Change-Id: Icec244b174cc0c67ab58961649a369db7f344824
|
|
Change-Id: I8f539c880ee5da864956f56943411b228d8a5812
|
|
Change-Id: Iadf7b2a926d6d5abc4c8daa2f5620886bcb09b31
|
|
Update debug_defines to the one used with spike.
|
|
Use %ll instead of %L in scanf.
|
|
Change-Id: I627c6ee557d98239227324c33f9b89f6280cbf93
|
|
Fix Windows build
|
|
I'm surprised this built with gcc before.
Fixes Issue #150.
Change-Id: I24d2957783c66ad53d5b532a4e930349a2059a97
|
|
This lets users tell OpenOCD which non-standard CSRs exist on their
target, that will also be accessible and whose existence will be
communicated to gdb.
Change-Id: I56163a9fcb84ad7ebe815ae74fbd9fcc208f5a9d
|
|
Also update encoding.h.
Change-Id: I275be7de0aa1af64d13ea191b9f4ff391cfb16dc
|
|
Change-Id: If198d10e16671b9868836e23386aaf8d4b05f317
|
|
Change-Id: I09989d4c0e102889ecb0eedbd3f4138f8b7bdb8c
|
|
Change-Id: Ia54f778152974164697b712c360918e17a127d95
|
|
Change-Id: I7a172d83055d8bd833e3349a5b22b47dd5f31f5c
|
|
Change-Id: I4e05eb091823b2e0fb481ca0b599072ba1ca70f2
|
|
Change-Id: I888680e73682582438a0de0496238867f1604754
|
|
Now we don't have to play tricks fooling other parts of our code that
might assert.
Change-Id: Ia574378e1f95ed62d297e6b2e852245e58c9ffc9
|
|
(It's really only 2 bits, but something wonky happens between gdb and
OpenOCD if I make it that size.)
Change-Id: I562a65cb0ebe5aa0edcc54c251d0fea0e26f9cb1
|
|
On HiFive1, FPRs show up with no name, and misa is 0x1105 instead of
0x40001105.
Change-Id: I4ee223c905ad7d860147014e7b6394668658c6ea
|
|
Change-Id: Iffa8fa5ff4b0a01abd30fa302b7087e2011337bf
|
|
Use the ABI ones for every register that we have one for.
Change-Id: I2a993abff416d2652dbe026b3fb498e144a5006f
|
|
Change-Id: I1a234ee07c417ba56da10a61fc2bdbdcc60490a8
|
|
Change-Id: I988c0c36f2de8157d76874a697b3c054773b787d
|
|
Also properly support (I think) D extension on RV32.
Change-Id: I2f0162d36e4c18c251f99b6943403cef30d17d29
|
|
Change-Id: I9599aacc256f6340795097732b6f8e8869c2099f
|
|
Mac build barfs on L, and the manpage says they're equivalent.
Hopefully fixes #147
Change-Id: I3aa57775731f3f5ceb03097cae2a9dc6fd426dcd
|
|
Now reading 64-bit FPRs on 32-bit harts using scratch memory might work.
Change-Id: Ie8c0fc689386c6e724ecab5e8c855e725fa8dd97
|
|
Fixes #138
Change-Id: I4d9b49762e318fe91f1561ed315829b43daefef4
|
|
Events reset-halt-pre, reset-halt-post, reset-wait-pre and
reset-wait-post are not used anywhere.
Change-Id: I9a0f94875b102d9b08f6c2fd9d73a9f05f8e8e79
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4285
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
|
|
Theese devices do not have a gap in sector numbering.
The driver translates sectors numbers 12 13... to 16 17... as used on dual
bank flash devices. Therefore erase of sector 12 and above fails with error
'stm32x device protected'
on F413/423.
Drop sector number translation for devices without has_large_mem flag.
Change-Id: I65531c0dfe02e2fd0f3d68f0615e0926e9901391
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4299
Tested-by: jenkins
Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
|
|
A protection block comprises two adjacent sectors in dual bank mode.
As there are 64 and 128kB sectors joined in blocks 2 and 8, block size
should be computed as a sum of sector sizes.
Change-Id: Ie915df8cf7ca232c4565d7e0c514c8933e71fdfe
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4271
Tested-by: jenkins
Reviewed-by: Andreas Bolsch <hyphen0break@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
|