OK, this time with mail title ;)

I created a libmsp40.so with the patch from the new sources
and tested it with mspdebug 

./mspdebug tilib -d /dev/ttyACM0

and this is the output I got:

MSPDebug version 0.18 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer <dlb...@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

MSP430_Initialize: /dev/ttyACM0
Firmware version is 30203002
MSP430_VCC: 3000 mV
MSP430_OpenDevice
MSP430_GetFoundDevice
Device: MSP430F5528 (id = 0x002e)
8 breakpoints available
MSP430_EEM_Init
...

You can see the firmware version as 30203002 which 
corresponds to the MSP430v3 lib which is now on the
web at TI. My FET was updated before so this step is
not executed here.

The patches on the tilib page were not used for this
build because the issues seem to be fixed. And, 
starting with this version, TI has added their own 
Makefile to the project.

I have changed some features of the Makefiles but
I didn't add the changes to the patch.

Here are the changes I made:
 
CXXFLAGS := -fPIC -m32

Removed the -m32 flag, because the library works on
64-Bit systems (but patch needed because of minor
errors)

DEFINES += -DNDEBUG

This is unchanged, just a note. This option activates
some additional debug output.

$(CXX) $(CXXFLAGS) -shared -Wl,-soname,$(OUTPUT) -o libMSP430.so $(OBJS) 
$(LIBDIRS) -Wl,-Bstatic $(LIBS) -Wl,-Bdynamic -lpthread

Changed -Bstatic to -Bdynamic for the boost libs (defined
in $(LIBS)). It works fine with dynamic linking and there
still is enough bloat inside the lib.

The new version of the MSP430v3 lib seems to make a lot
of things better. If you want to, give it a try.

Regards Hubert

-------- Original-Nachricht --------
> Datum: Mon, 09 Jan 2012 23:00:25 +0100
> Von: qbe...@gmx.de
> An: mspgcc-users@lists.sourceforge.net
> Betreff: [Mspgcc-users] Update of the

> Hi all,
> 
> I just checked the MSP430DLL as described here:
> 
> http://mspdebug.sourceforge.net/tilib.html
> 
> So I noticed that there was an update on the TI site 
> with new sources of the MSP430v3 lib and most of the 
> patches are not needed anymore.
> 
> The new version is named 30203002 and it seems to
> work fine on 32 bit systems but the problems on
> 64 bit machines still remain. I created a patch for
> the size_t problem which works with this latest version
> of the library. 
> 
> I have added the patch to the msp4linux project:
> 
> http://sourceforge.net/projects/msp4linux/files/
> 
> Add the patch
> 
> slac460a.patch.bz2
> 
> to the subdirectory
> 
> MSP430.DLLv3_OS_Package
> 
> and install it
> 
> patch -p1 < slac460a.patch
> 
> The result may be used as well with the mspdebug 
> project and with msp4linux (mspdb_v3).
> 
> 
> -- 
> NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!             
> Jetzt informieren: http://www.gmx.net/de/go/freephone
> 
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual 
> desktops for less than the cost of PCs and save 60% on VDI infrastructure 
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to