Now I understood. Then I can to program using ELF file only?
What is command for this?

Thanks.


2011/12/12 Peter Bigot <big...@acm.org>

> On Mon, Dec 12, 2011 at 11:29 AM, William Lopes
> <williamlopes....@gmail.com> wrote:
> > Well, I solved some problems, but now shows other.
> >
> > Running make -n:
> >
> > "Generating dependencies blink.d from blink.c"
> >> echo "Compiling blink.c"
> >> msp430-gcc -c -mmcu=msp430g2231 -g -Os -Wall -Wunused -IInclude
> -Iinclude
> >> -Ilib
> >>    -o blink.o blink.c
> >> echo "Linking blink.elf"
> >> msp430-gcc blink.o -mmcu=msp430g2231 -Wl,-Map=blink.map  -o blink.elf
> >> echo
> >> echo ">>>> Size of Firmware <<<<"
> >> msp430-size blink.elf
> >> echo
> >> msp430-objcopy -O ihex blink.elf blink.hex
> >> srec_cat -O blink.txt -TITXT blink.hex -I
> >>
> >>
> > Running make:
> >
> > "Compiling blink.c"
> >> "Linking blink.elf"
> >> ECHO is off.
> >> ">>>> Size of Firmware <<<<"
> >>    text    data     bss     dec     hex filename
> >>     130       0       0     130      82 blink.elf
> >> ECHO is off.
> >> process_begin: CreateProcess((null), srec_cat -O blink.txt -TITXT
> >> blink.hex -I,
> >> ...) failed.
> >> make (e=2): The system cannot find the file specified.
> >> gmake: *** [blink.txt] Error 2
> >>
> >
> > Above shows that not found txt file and I noticed that no was created
> too.
> >
> > What can to be?
>
> I'm not a windows user, but it looks like the makefile's trying to run
> the srec_cat program in order to create blink.txt, and can't find it.
>
> You may not need that, nor the conversion from elf to hex, depending
> on what you use to program the board.  mspdebug will happily program
> using the ELF version.
>
> Peter
>
> >
> >
> > 2011/12/12 Przemek Klosowski <przemek.klosow...@gmail.com>
> >
> >>
> >>
> >> On Mon, Dec 12, 2011 at 11:28 AM, William Lopes <
> >> williamlopes....@gmail.com> wrote:
> >>
> >>> Anyway thanks.
> >>>
> >>> I go hope somebody to help me then.
> >>>
> >>> Hugs.
> >>>
> >>> Perhaps run 'make -n' and copy (cut-and-paste) the commands that are
> >> executed, and post them to the mailing list, so we can see what exactly
> is
> >> going on?
> >>
> >>
> >
> >
> ------------------------------------------------------------------------------
> > Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> > Microsoft is holding a special Learn Windows Azure training event for
> > developers. It will provide a great way to learn Windows Azure and what
> it
> > provides. You can attend the event by watching it streamed LIVE online.
> > Learn more at http://p.sf.net/sfu/ms-windowsazure
> > _______________________________________________
> > Mspgcc-users mailing list
> > Mspgcc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
>
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to