[OpenOCD-devel] Review of jtag_vpi fixes

2019-11-25 Thread Jan Matyáš
Hello, could you please help me finish the review & approval of: http://openocd.zylin.com/#/c/5177/ (jtag_vpi: multiple improvements) All the review findings so far have been addressed. I would not want these important fixes in jtag_vpi to slip through the cracks. Thank you, Jan ___

[OpenOCD-devel] Request for review and for merge

2019-11-25 Thread Antonio Borneo
Hi all, there are several of my patches that I would like to get reviewed and/or merged. I have tried to categorize them below by importance. Thanks, Antonio Bug fixes already with +1: - http://openocd.zylin.com/5322 - http://openocd.zylin.com/5310 - http://openocd.zylin.com/5234 Bug fixes not r

[OpenOCD-devel] [PATCH]: fa51c49 armv8_opcodes: use T32 instructions when the PE is in AArch32 state

2019-11-25 Thread gerrit
This is an automated email from Gerrit. Tarek BOCHKATI (tarek.bouchk...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5346 -- gerrit commit fa51c49f8df2edac1a12092f7c14e6f3778072aa Author: Tarek BOCHKATI Date: Mon Nov 25 18:41:55 2019 +010

[OpenOCD-devel] [PATCH]: ad91ba3 armv7m: add a TCP channel to stream captured trace

2019-11-25 Thread gerrit
This is an automated email from Gerrit. Tarek BOCHKATI (tarek.bouchk...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5345 -- gerrit commit ad91ba36b48b5a7d1bc93cb8ac61b4bf76a0c650 Author: Tarek BOCHKATI Date: Mon Nov 25 15:34:14 2019 +010

Re: [OpenOCD-devel] LPC1226: unknown part error on flashing or GDB access

2019-11-25 Thread Paul Fertser
Hey Jānis, On Mon, Nov 25, 2019 at 02:32:32PM +0200, Jānis Šmēdiņš wrote: > I thought LPC1226 was supported, but when I try debugging the target with > GDB or use 'program' command it crashes with saying: > Error: BUG: unknown Part ID encountered: 0x3660002b Yes, it doesn't seem to be supported b

[OpenOCD-devel] [openocd:tickets] #259 stlink-3 fail to read 1 byte alignment RAM

2019-11-25 Thread Pawel via OpenOCD-devel
In my case it fails at 256 I also have to disconnect stlink. - for (size_t i = 0; i < 1024; i++) { res = api->read_mem(handle, RAM_START, 1, i, buf); if (res < 0) { LOG_ERROR("fail at %d with error %d", i, res); break; } } -

[OpenOCD-devel] [openocd:tickets] #259 stlink-3 fail to read 1 byte alignment RAM

2019-11-25 Thread Antonio Borneo via OpenOCD-devel
Tested on ST-Link V3 with latest FW from ST website Reading 255 byte or less works. Reading 256 bytes makes ST-Link hang. I need to disconnect it from my PC to get it working again Can you please check if it is the same on your side? A quick and dirty workaround seams to change in src/jtag/driver

[OpenOCD-devel] [openocd:tickets] #259 stlink-3 fail to read 1 byte alignment RAM

2019-11-25 Thread Pawel via OpenOCD-devel
I checked stlink 2.1 and here everytning is OK --- ** [tickets:#259] stlink-3 fail to read 1 byte alignment RAM** **Status:** new **Milestone:** 0.9.0 **Labels:** stlink **Created:** Mon Nov 25, 2019 01:44 PM UTC by Pawel **Last Updated:** Mon Nov 25, 2019 01:45 PM UTC **Owner:** nobody Hi a

[OpenOCD-devel] [openocd:tickets] #259 stlink-3 fail to read 1 byte alignment RAM

2019-11-25 Thread Pawel via OpenOCD-devel
--- ** [tickets:#259] stlink-3 fail to read 1 byte alignment RAM** **Status:** new **Milestone:** 0.9.0 **Labels:** stlink **Created:** Mon Nov 25, 2019 01:44 PM UTC by Pawel **Last Updated:** Mon Nov 25, 2019 01:44 PM UTC **Owner:** nobody Hi all, I have a problem with reading from RAM wh

[OpenOCD-devel] LPC1226: unknown part error on flashing or GDB access

2019-11-25 Thread Jānis Šmēdiņš
Hello guys, I thought LPC1226 was supported, but when I try debugging the target with GDB or use 'program' command it crashes with saying: Error: BUG: unknown Part ID encountered: 0x3660002b However it does work with basic functionality: I can halt, access memory, write to RAM and peripheral

[OpenOCD-devel] how to compile openocd executable to a shared library

2019-11-25 Thread Attila Csosz
How to compile openocd executabel to a shared library? I'm working with mingw so I'd like to compile openocd.dll. I tried but not works. 1. Tried adding '-shared' to LDFLAGS in configure call: configure failed at conftest 2. Configured normal and edited Makefile manually, added '-shared' to LDFL