Thanks for your reply, but, no luck. And the loop script won't work
in cygwin ;-).
Bart
--- In lpc2000@yahoogroups.com, "digtalfreak" <digitalfreak@n...>
wrote:
>
> Make sure that there is no programm running in the flash. I also
> sometimes have problems using ocdlibremote when there is a working
> programm in flash that uses interupts. So make sure you are in
> bootloader mode (holding down P0.14 while reset or simply erase the
> flash and then reset).
>
> - do a reset (into bootlaoder mode)
> - start ocdlibremote
> - start insight/gdb
> - load programm
> - download programm (remote/tcp, localhost, 8888)
> - then use "continue" to run the programm, don't use run (that cut's
> of the ocdlib connection at my computer)
>
> I wrote a little batch that restarts ocdlibremote if it is shut down
> by connection loss.
>
> :LOOP
> ocdlibremote -c ARM7 -d WIGGLER -a 1 -s 1
> GOTO LOOP
>
>
>
> --- In lpc2000@yahoogroups.com, "theeuwke" <theeuwke@y...> wrote:
> >
> > --- In lpc2000@yahoogroups.com, "digtalfreak" <digitalfreak@n...>
> > wrote:
> > >
> > > Cut of the reset signal and try again.
> > > At my design it was a problem with the reset. OCDlibremote
should
> > work
> > > also with cut of nrst.
> > >
> > > --- In lpc2000@yahoogroups.com, "theeuwke" <theeuwke@y...>
wrote:
> > > >
> > > > Hi everybody again.
> > > >
> > > > I'v finally got the Ashling LPC2106 AND my custom 2292 board
> > working.
> > > > But... Only in Crosworks from Rowley??? (And it runs
perfectly).
> > I
> > > > configured the LPC2106 according to the Omilex schematics,
and
> > the
> > > > LPC2292 to the Omilex 2129 schematics. That seems to work,
but if
> > I
> > > > try the ocdremote I get most of the time "Cable disconnect"
and
> > some
> > > > times "Not in background". I use Leon's schematic, but use a
> > 74HC244N
> > > > and a BC547C. I tried all speeds.
> > > >
> > > > I am suspecting the Transistor, but it's just an ordinary NPN
> > > > transistor. On the scope I see the nRST pulled up and data on
> > TDI,
> > > > but there is no data getting out. Connecting TRST instead is
not
> > the
> > > > solution.
> > > >
> > > > Bart
> >
> > Ok, i've cut the reset now. Crossworks is working even on speed
> > divider 0 (maximum speed). With the ocdremote, data comes out of
the
> > processor now to, but still the "Not in background" error. In the
ocd
> > remote program for windows, it says "cannot get in debug mode".
I've
Show quoted textHide quoted text
> > made a picture with the scope of ocdremote+wiggler+lpc2292:
> > http://members.home.nl/bart.theeuwes/pics/wiggler.jpg
> > blue = clock
> > purple = TDI
> > green = TDO
> >
> > regards
> >
> > Bart