On Sun, Sep 16, 2012 at 05:01:22PM -0500, Peter Bigot wrote:
> On Sun, Sep 16, 2012 at 3:36 PM, Daniel Beer <dlb...@gmail.com> wrote:
> > I wouldn't have thought this was the right thing to do, but then it's up
> > to the library to decide. Does the "run" command work without you having
> > to press the reset button?
> 
> Yes, if I start mspdebug and enter commands manually, "run" works.  My
> normal practice is to program with a command line invocation, as
> above, from a make target; in that case it appears the device is held
> in reset even after the program exits.  Whether that's new behavior in
> firmware 3.4.2.5, or a result of the way I built the tilib shared
> library, I don't know.

Reset should definitely be released on exit. This is probably fixable,
so I'll add it to my list.

> It doesn't appear possible to pass multiple commands on the command
> line, or I'd just do 'prog app.elf; run'.

It is possible if they're separate arguments:

    mspdebug <driver options> 'prog app.elf' 'run'

Although that wouldn't be very helpful in this case, because "run" will
wait for you to halt it with Ctrl+C or a breakpoint.

- Daniel

-- 
Daniel Beer <dlb...@gmail.com>    www.dlbeer.co.nz
IRC: inittab (Freenode)    PGP key: 2048D/160A553B

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to