Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-11 Thread Oleksij Rempel
Am 10.02.19 um 17:25 schrieb Matthias Welwarsky: > On Sonntag, 10. Februar 2019 11:35:09 CET Oleksij Rempel wrote: >> Am 10.02.19 um 10:29 schrieb Daniel Glöckner: >>> On Sun, Feb 10, 2019 at 09:32:21AM +0100, Daniel Glöckner wrote: These are the cores that describe this feature in their TRM:

Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-10 Thread Matthias Welwarsky
On Sonntag, 10. Februar 2019 11:35:09 CET Oleksij Rempel wrote: > Am 10.02.19 um 10:29 schrieb Daniel Glöckner: > > On Sun, Feb 10, 2019 at 09:32:21AM +0100, Daniel Glöckner wrote: > >> These are the cores that describe this feature in their TRM: > >> http://infocenter.arm.com/help/topic/com.arm.do

Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-10 Thread Oleksij Rempel
Am 10.02.19 um 10:29 schrieb Daniel Glöckner: > On Sun, Feb 10, 2019 at 09:32:21AM +0100, Daniel Glöckner wrote: >> These are the cores that describe this feature in their TRM: >> http://infocenter.arm.com/help/topic/com.arm.doc.ddi0535c/CHDHEDFB.html >> http://infocenter.arm.com/help/topic/com.arm

Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-10 Thread Oleksij Rempel
Am 10.02.19 um 09:32 schrieb Daniel Glöckner: > On Sun, Feb 10, 2019 at 08:14:27AM +0100, Oleksij Rempel wrote: >> So, if it is possible, how is it working? It will be nice to integrate >> it in to OOCD. > > These are the cores that describe this feature in their TRM: > http://infocenter.arm.com/h

Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-10 Thread Daniel Glöckner
On Sun, Feb 10, 2019 at 09:32:21AM +0100, Daniel Glöckner wrote: > These are the cores that describe this feature in their TRM: > http://infocenter.arm.com/help/topic/com.arm.doc.ddi0535c/CHDHEDFB.html > http://infocenter.arm.com/help/topic/com.arm.doc.ddi0464f/CHDGECEI.html > http://infocenter.arm

Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-10 Thread Oleksij Rempel
Am 10.02.19 um 09:31 schrieb Matthias Welwarsky: > On Sonntag, 10. Februar 2019 08:14:27 CET Oleksij Rempel wrote: >> So, if it is possible, how is it working? It will be nice to integrate >> it in to OOCD. > > Depends on the debug features available on the SoC. I think ARM has some > methods des

Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-10 Thread Daniel Glöckner
On Sun, Feb 10, 2019 at 08:14:27AM +0100, Oleksij Rempel wrote: > So, if it is possible, how is it working? It will be nice to integrate > it in to OOCD. These are the cores that describe this feature in their TRM: http://infocenter.arm.com/help/topic/com.arm.doc.ddi0535c/CHDHEDFB.html http://info

Re: [OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-10 Thread Matthias Welwarsky
On Sonntag, 10. Februar 2019 08:14:27 CET Oleksij Rempel wrote: > So, if it is possible, how is it working? It will be nice to integrate > it in to OOCD. Depends on the debug features available on the SoC. I think ARM has some methods described in the TRMs for certain cores, but often it is a ven

[OpenOCD-devel] Accessing Cache and TLB Contents

2019-02-09 Thread Oleksij Rempel
Hi all, I found here a text passage, which let me think: it is possible to debug cache related issues: http://www2.lauterbach.com/pdf/debugger_arm.pdf "Reading cache and TLB (Translation Look-aside Buffer) contents is only possible if the debugger is allowed to debug in secure state. You get a ‘fu