The 247 and 249 do have different layouts, but I would have expected
mspdebug to write data to the addresses specified in the object file, but
perhaps it does something else.

If the object file is built for -mmcu=msp430x247, the text section should
start at 0x8000 and data at 0x1100.  If for -mmcu=msp430x249, the text is at
0x1100 and data at 0x0200.  Check this with msp430-objdump -s a.out.  If
that's right, it would seem to be an mspdebug issue.

Peter

On Fri, Oct 15, 2010 at 3:00 AM, Michiel Konstapel <[email protected]>wrote:

> Hi Daniel and others,
>
> I've been using mspdebug for flashing (mainly 2418s), which works great.
> However, when I try to program a 247, there seems to be a problem:
> flashing completes without errors, but the program doesn't run. Maybe it
> gets loaded to a wrong location? Anything I can do to help you debug it?
> The output looks perfectly fine:
>
> Trying to open UIF on /dev/ttyUSB0...
> Device: MSP430F249
> Erasing...
> Programming...
>
> It does identify the device as a 249, maybe causing it to assume a
> different memory layout?
>
> Kind regards,
> Michiel
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to