On 26.03.2015 00:07, Andreas Fritiofson wrote:
>
>
> On Wed, Mar 25, 2015 at 11:26 PM, Michael Schwingen
> <mich...@schwingen.org <mailto:mich...@schwingen.org>> wrote:
>
>     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.
>
>  
>
>     - 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.
>
>
> Well, I guess the obvious explanation would be that the reset line is
> either shorted high or broken on your LPC812 setup. But of course
> you've already checked that...
Nope - I hadn't, because on my previous attempts with the nucleo as
stlink, I had the LPC812 in reset continuously when connecting the line.

So, thanks for pointing out this possible problem - I just checked, and
the line is connected correctly (this is the target half of an LPC812
LPCXpresso board, with the useless lpc-link part cut off). When I pull
the pin on the connector low, the target is indeed in reset (the flashed
program stops and re-starts when releasing the line).

Even if I connect the SRESET output from the Busblaster-KTLink only to a
pullup and not to the target, the reset line stays high all the time
when trying to connect.

Now I am not sure if I *need* SRESET for the LPC812, but no signal when
I request "reset_config srst_only" at least looks a bit buggy to me.

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

Reply via email to