Michael,
If srst wiring of your LPC812 board is correct, there might be another
reason that srst
is not pulsed: OpenOCD checks if target was examined and if not reset is
not issued
(this is IMHO wrong)
Please try http://openocd.zylin.com/2606
More serious problem is DP access failure.
As included lpc1xxx.cfg uses "adapter_nsrst_delay 200" try
http://openocd.zylin.com/2591
Also try http://openocd.zylin.com/2601
Please report results.
Tomas
On 25.3.2015 23:26, Michael Schwingen wrote:
On 22.03.2015 23:36, Michael Schwingen wrote:
(re-sending from correct account)
Hi,
I started working with an LPC812. Using a ST-Link V2 as SWD interface,
this seems to work, but I can't get reset working - it seems the reset
output is always active, so I decided to pull out my bus blaster.
I flashed the KT-Link CPLD configuration into the busblaster. It seems
to work fine in JTAG mode when connecting to an IXP425. However, when
connecting the LPC812, I get errors when starting OpenOCD (see attached
log).
This is with current git master (pulled yesterday).
Any hints where to look? Is FT2232+KTLINK or the LPC812 considered stable?
Some updates, after new hardware arrived on my table: I got a shiny
(extruded aluminum case) chinese ST-Link V2 clone, which I upgraded to
current firmware using the ST's STLink Utility. Also two STM32F103
target boards as a non-nucleo reference (the ST-Link V2 i used in my
original post was actually from a nucleo board, so probably V2.1).
The results are:
- Busblaster/KTLink works fine with a STM32F103 target, both with
"reset_config none" and with "reset_config srst_only". When selecting
srst_only, I can see a low-pulse on the reset line.
- The STLink V2 works just as well with a STM32F103 target, with both
reset configs, I see a low-pulse on reset when using that config.
- The STLINK works with the LPC812 with "reset_config none".
- The STLINK does not work with the LPC812 with "reset_config
srst_only", *no* reset pulse can be seen (reset line stays high =
inactive all the time), and OpenOCD complains that the target is not halted.
- Busblaster/KTLink does not work at all with the LPC812. Even when
selecting "reset_config srst_only", there is *no* reset pulse, the reset
line stays high all the time.
I have made new logs of the Busblaster/KTLink case - it looks the same
with both reset_configs, so I will attach only one.
cu
Michael
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel