<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-2090</id>
	<title>Nabble - MSP430 gcc - Users</title>
	<updated>2009-11-30T04:09:31Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/MSP430-gcc---Users-f2090.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MSP430-gcc---Users-f2090.html" />
	<subtitle type="html">Using the not-yet-official GCC port for the Texas Instruments MSP430 family of microcontrollers.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26573704</id>
	<title>Re: Problem with sprintf and snprintf in a msp430x2617</title>
	<published>2009-11-30T04:09:31Z</published>
	<updated>2009-11-30T04:09:31Z</updated>
	<author>
		<name>JMGross</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;After reading your message once again, I stumbled over the words &amp;quot;debugbuf keeps the same information as if '...' was a null string&amp;quot;
&lt;br&gt;IMHO if the format string is a null string, the destination buffer should contain a null string too and not 'keep the same' (except if it was a null string before already).
&lt;br&gt;&lt;br&gt;Anyway, if you just want to compy your constant text into debugbuf (this is what your code actually does), you can simply use strcpy() instead. Faster, smaller and much less stack usage. :)
&lt;br&gt;&lt;br&gt;JMGross
&lt;br&gt;&lt;br&gt;----- Ursprüngliche Nachricht -----
&lt;br&gt;Von: Jordi Soucheiron
&lt;br&gt;An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573704&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mspgcc-users@...&lt;/a&gt;
&lt;br&gt;Gesendet am: 24 Nov 2009 13:54:25
&lt;br&gt;Betreff: [Mspgcc-users] Problem with sprintf and snprintf in a msp430x2617
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;I've been trying to fix a problem with my build of mspgcc but I got
&lt;br&gt;out of ideas to fix it. Some time ago I used a build from july 2008
&lt;br&gt;and everithing worked just fine, now I've switched to the last cvs
&lt;br&gt;version and I've found out that sprintf for some reason doesn't write
&lt;br&gt;to the destiny. I've tryed to exec this (this line is from the output
&lt;br&gt;of a nesc precompiler):
&lt;br&gt;&amp;nbsp; &amp;nbsp; snprintf(debugbuf, 256, &amp;quot; &amp;nbsp;+ &amp;nbsp;Accelerometer Started\n&amp;quot;);
&lt;br&gt;But instead of moving the string to the debugbuf keeps the same
&lt;br&gt;information just as if &amp;quot; &amp;nbsp;+ &amp;nbsp;Accelerometer Started\n&amp;quot; was a null
&lt;br&gt;string.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573704&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-sprintf-and-snprintf-in-a-msp430x2617-tp26495697p26573704.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26573618</id>
	<title>Re: Problem with sprintf and snprintf in a msp430x2617</title>
	<published>2009-11-30T04:02:38Z</published>
	<updated>2009-11-30T04:02:38Z</updated>
	<author>
		<name>JMGross</name>
	</author>
	<content type="html">&lt;br&gt;I just checked on my system (windows build from 12/08) and everything seems to be okay.
&lt;br&gt;The source code for the printf function hasn't changed for 6 years.
&lt;br&gt;The compiler seems to generate the proper call sequence. Fine.
&lt;br&gt;&lt;br&gt;But I noticed that the spaces in your code snipped are followed by an 0xa0 'shift-space'. Is this intentional?
&lt;br&gt;Maybe the library code does what it should but your code handling the result chokes on the 0xa0?
&lt;br&gt;&lt;br&gt;Also, the s(n)printf function use static variables while working, so the code is not reentrant. You may not use it from within an ISR as this would mess up the output from the main loop.
&lt;br&gt;&lt;br&gt;JMGross
&lt;br&gt;&lt;br&gt;----- Ursprüngliche Nachricht -----
&lt;br&gt;Von: Jordi Soucheiron
&lt;br&gt;&lt;br&gt;&amp;gt;    snprintf(debugbuf, 256, &amp;quot;  +  Accelerometer Started\n&amp;quot;);
&lt;br&gt;&amp;gt; But instead of moving the string to the debugbuf keeps the same
&lt;br&gt;&amp;gt; information just as if &amp;quot;  +  Accelerometer Started\n&amp;quot; was a null
&lt;br&gt;&amp;gt; string.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26573618&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-sprintf-and-snprintf-in-a-msp430x2617-tp26495697p26573618.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26571485</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-29T23:44:12Z</published>
	<updated>2009-11-29T23:44:12Z</updated>
	<author>
		<name>Gerald Lutter-2</name>
	</author>
	<content type="html">Hi Bernie,
&lt;br&gt;&lt;br&gt;we have created our headers based on the datasheet from texas instruments.
&lt;br&gt;That means we don't define structs to configure a component. Instead we only
&lt;br&gt;define the addresses according to their name inside the datasheet. After
&lt;br&gt;reading your symbols it looks like you are using hungarian notation for your
&lt;br&gt;code. You simply have to define the structs you are using to configure the
&lt;br&gt;USB component and define a corresponding variable at the right place and
&lt;br&gt;your code will compile.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Gerald 
&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: Bernard Mentink [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571485&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmentink@...&lt;/a&gt;] 
&lt;br&gt;Gesendet: Mittwoch, 25. November 2009 07:57
&lt;br&gt;An: GCC for MSP430 - &lt;a href=&quot;http://mspgcc.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mspgcc.sf.net&lt;/a&gt;&lt;br&gt;Betreff: Re: [Mspgcc-users] msp430x5529 support
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 1:09 AM, Gerald Lutter
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571485&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;g.lutter@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we have updated our script on the webpage. It downloads the patches 
&lt;br&gt;&amp;gt; automatically and builds a new toolchain with it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Gerald
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Hi again Gerald,
&lt;br&gt;&lt;br&gt;Every thing compiles except for the following symbols (Code Composer link
&lt;br&gt;file .. ) I can't seem to find any equivalent symbols in the USB.h file ..
&lt;br&gt;&lt;br&gt;It maybe that they are additional symbols introduced by the USB stack. If
&lt;br&gt;that is the case can you give be some instruction on how I can introduce
&lt;br&gt;them ..
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br&gt;---------------------------------- Missing Symbols
&lt;br&gt;-----------------------------
&lt;br&gt;&lt;br&gt;tSetupPacket = 0x2380;
&lt;br&gt;&lt;br&gt;tEndPoint0DescriptorBlock = 0x0920;
&lt;br&gt;&lt;br&gt;tInputEndPointDescriptorBlock = 0x23C8;
&lt;br&gt;&lt;br&gt;tOutputEndPointDescriptorBlock = 0x2388;
&lt;br&gt;&lt;br&gt;abIEP0Buffer = 0x2378;
&lt;br&gt;&lt;br&gt;abOEP0Buffer = 0x2370;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp1 = 0x1C00;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp1 = 0x1C40;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp81 = 0x1C80;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp81 = 0x1CC0;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp2 = 0x1D00;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp2 = 0x1D40;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp82 = 0x1D80;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp82 = 0x1DC0;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp3 = 0x1E00;
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26571485&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26571485.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26548324</id>
	<title>MSP430-JTAG-TINY programmer</title>
	<published>2009-11-27T13:51:33Z</published>
	<updated>2009-11-27T13:51:33Z</updated>
	<author>
		<name>Rick Jenkins-2</name>
	</author>
	<content type="html">Has anyone any experience with using the Olimex MSP430-JTAG-TINY programmer 
&lt;br&gt;under Linux? Any tips on how to get it going would be greatly appreciated.
&lt;br&gt;-- 
&lt;br&gt;Rick Jenkins &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26548324&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rick@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Hartman Technica &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.hartmantech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hartmantech.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Phone +1 (403) 230-1987
&lt;br&gt;221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26548324&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/MSP430-JTAG-TINY-programmer-tp26548324p26548324.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26538952</id>
	<title>Re: Problem with sprintf and snprintf in a msp430x2617</title>
	<published>2009-11-26T23:46:57Z</published>
	<updated>2009-11-26T23:46:57Z</updated>
	<author>
		<name>Jordi Soucheiron</name>
	</author>
	<content type="html">I've just tried with 255 with the same result than 256.
&lt;br&gt;&lt;br&gt;2009/11/26 Jordi Soucheiron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538952&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'll try it tomorrow, but anyway if I use sprintf(debugbuf, &amp;quot;  +
&lt;br&gt;&amp;gt; Accelerometer Started\n&amp;quot;); the behaviour is the same. Tomorrow I'll
&lt;br&gt;&amp;gt; try to use 255 anyway, just in case.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/26 Przemek Klosowski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538952&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;przemek.klosowski@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; On Thu, Nov 26, 2009 at 3:42 AM, Jordi Soucheiron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538952&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;    snprintf(debugbuf, 256, &amp;quot;  +  Accelerometer Started\n&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; But instead of moving the string to the debugbuf keeps the same
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; information just as if &amp;quot;  +  Accelerometer Started\n&amp;quot; was a null
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; string.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Just on a lark---does the behavior change when you use 255 instead of 256 as
&lt;br&gt;&amp;gt;&amp;gt; the maximum size in the snprintf() call? If that was the case, perhaps the
&lt;br&gt;&amp;gt;&amp;gt; compiler treats that variable (which normally should be of the type size_t)
&lt;br&gt;&amp;gt;&amp;gt; as uint8_t, truncating it to zero, which, if true, would explain the
&lt;br&gt;&amp;gt;&amp;gt; behavior you see.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Mspgcc-users mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538952&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jordi Soucheiron
&lt;br&gt;&amp;gt; Software Engineer
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DEXMA
&lt;br&gt;&amp;gt; Parc Tecnològic la Salle
&lt;br&gt;&amp;gt; Sant Joan de la Salle, 42
&lt;br&gt;&amp;gt; 08022 Barcelona
&lt;br&gt;&amp;gt; t/f: [+34] 93 181 01 95
&lt;br&gt;&amp;gt; www.dexmatech.com
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538952&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jordi Soucheiron
&lt;br&gt;Software Engineer
&lt;br&gt;&lt;br&gt;DEXMA
&lt;br&gt;Parc Tecnològic la Salle
&lt;br&gt;Sant Joan de la Salle, 42
&lt;br&gt;08022 Barcelona
&lt;br&gt;t/f: [+34] 93 181 01 95
&lt;br&gt;www.dexmatech.com
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538952&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26538952&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-sprintf-and-snprintf-in-a-msp430x2617-tp26495697p26538952.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26535418</id>
	<title>Re: Problem with sprintf and snprintf in a msp430x2617</title>
	<published>2009-11-26T13:57:10Z</published>
	<updated>2009-11-26T13:57:10Z</updated>
	<author>
		<name>Jordi Soucheiron</name>
	</author>
	<content type="html">I'll try it tomorrow, but anyway if I use sprintf(debugbuf, &amp;quot; &amp;nbsp;+
&lt;br&gt;Accelerometer Started\n&amp;quot;); the behaviour is the same. Tomorrow I'll
&lt;br&gt;try to use 255 anyway, just in case.
&lt;br&gt;&lt;br&gt;2009/11/26 Przemek Klosowski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535418&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;przemek.klosowski@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 3:42 AM, Jordi Soucheiron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535418&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;    snprintf(debugbuf, 256, &amp;quot;  +  Accelerometer Started\n&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; But instead of moving the string to the debugbuf keeps the same
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; information just as if &amp;quot;  +  Accelerometer Started\n&amp;quot; was a null
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; string.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just on a lark---does the behavior change when you use 255 instead of 256 as
&lt;br&gt;&amp;gt; the maximum size in the snprintf() call? If that was the case, perhaps the
&lt;br&gt;&amp;gt; compiler treats that variable (which normally should be of the type size_t)
&lt;br&gt;&amp;gt; as uint8_t, truncating it to zero, which, if true, would explain the
&lt;br&gt;&amp;gt; behavior you see.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mspgcc-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535418&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jordi Soucheiron
&lt;br&gt;Software Engineer
&lt;br&gt;&lt;br&gt;DEXMA
&lt;br&gt;Parc Tecnològic la Salle
&lt;br&gt;Sant Joan de la Salle, 42
&lt;br&gt;08022 Barcelona
&lt;br&gt;t/f: [+34] 93 181 01 95
&lt;br&gt;www.dexmatech.com
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535418&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26535418&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-sprintf-and-snprintf-in-a-msp430x2617-tp26495697p26535418.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531861</id>
	<title>Re: Problem with sprintf and snprintf in a msp430x2617</title>
	<published>2009-11-26T08:29:00Z</published>
	<updated>2009-11-26T08:29:00Z</updated>
	<author>
		<name>Przemek Klosowski-2</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 3:42 AM, Jordi Soucheiron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531861&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp;snprintf(debugbuf, 256, &amp;quot; &amp;nbsp;+ &amp;nbsp;Accelerometer Started\n&amp;quot;);
&lt;br&gt;&amp;gt; &amp;gt; But instead of moving the string to the debugbuf keeps the same
&lt;br&gt;&amp;gt; &amp;gt; information just as if &amp;quot; &amp;nbsp;+ &amp;nbsp;Accelerometer Started\n&amp;quot; was a null
&lt;br&gt;&amp;gt; &amp;gt; string.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Just on a lark---does the behavior change when you use 255 instead of 256 as
&lt;br&gt;the maximum size in the snprintf() call? If that was the case, perhaps the
&lt;br&gt;compiler treats that variable (which normally should be of the type size_t)
&lt;br&gt;as uint8_t, truncating it to zero, which, if true, would explain the
&lt;br&gt;behavior you see.
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531861&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-sprintf-and-snprintf-in-a-msp430x2617-tp26495697p26531861.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26526200</id>
	<title>Re: Problem with sprintf and snprintf in a msp430x2617</title>
	<published>2009-11-26T00:42:14Z</published>
	<updated>2009-11-26T00:42:14Z</updated>
	<author>
		<name>Jordi Soucheiron</name>
	</author>
	<content type="html">I've been testing further and I've found out that the problem is also
&lt;br&gt;present in the windows version of the compiler. I've tryed the current
&lt;br&gt;image of the compiler and the snapshots from 20080619 20080605
&lt;br&gt;20080603 and none of them work properly.
&lt;br&gt;I've been able to rebuild the 2008 version I had and it's working, but
&lt;br&gt;I would like to be able to use the last version. Does somebody know
&lt;br&gt;were can I start looking to find the bug? I don't have the most remote
&lt;br&gt;idea of where to start and the diff between the current version and
&lt;br&gt;the one working is huge.
&lt;br&gt;&lt;br&gt;2009/11/24 Jordi Soucheiron &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526200&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I've been trying to fix a problem with my build of mspgcc but I got
&lt;br&gt;&amp;gt; out of ideas to fix it. Some time ago I used a build from july 2008
&lt;br&gt;&amp;gt; and everithing worked just fine, now I've switched to the last cvs
&lt;br&gt;&amp;gt; version and I've found out that sprintf for some reason doesn't write
&lt;br&gt;&amp;gt; to the destiny. I've tryed to exec this (this line is from the output
&lt;br&gt;&amp;gt; of a nesc precompiler):
&lt;br&gt;&amp;gt;    snprintf(debugbuf, 256, &amp;quot;  +  Accelerometer Started\n&amp;quot;);
&lt;br&gt;&amp;gt; But instead of moving the string to the debugbuf keeps the same
&lt;br&gt;&amp;gt; information just as if &amp;quot;  +  Accelerometer Started\n&amp;quot; was a null
&lt;br&gt;&amp;gt; string.
&lt;br&gt;&amp;gt; Does somebody know what could be causing this behavior? I suspect that
&lt;br&gt;&amp;gt; may have something to do with the compiler used, but I cannot be sure
&lt;br&gt;&amp;gt; Thank you
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Jordi Soucheiron
&lt;br&gt;&amp;gt; Software Engineer
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; DEXMA
&lt;br&gt;&amp;gt; Parc Tecnològic la Salle
&lt;br&gt;&amp;gt; Sant Joan de la Salle, 42
&lt;br&gt;&amp;gt; 08022 Barcelona
&lt;br&gt;&amp;gt; t/f: [+34] 93 181 01 95
&lt;br&gt;&amp;gt; www.dexmatech.com
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526200&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jordi Soucheiron
&lt;br&gt;Software Engineer
&lt;br&gt;&lt;br&gt;DEXMA
&lt;br&gt;Parc Tecnològic la Salle
&lt;br&gt;Sant Joan de la Salle, 42
&lt;br&gt;08022 Barcelona
&lt;br&gt;t/f: [+34] 93 181 01 95
&lt;br&gt;www.dexmatech.com
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526200&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526200&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-sprintf-and-snprintf-in-a-msp430x2617-tp26495697p26526200.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26514016</id>
	<title>Re: Ubuntu Packages, Karmic, where did the source code go in Bazaar?</title>
	<published>2009-11-25T06:53:21Z</published>
	<updated>2009-11-25T06:53:21Z</updated>
	<author>
		<name>Adam Horden</name>
	</author>
	<content type="html">Hi Chris,
&lt;br&gt;&lt;br&gt;Thanks for the detailed reply. I have packages called msp430-binutils, 
&lt;br&gt;msp430-gcc, msp430-libc, msp430-gdb. These work at present but due to 
&lt;br&gt;the gcc version required do not work on jaunty.
&lt;br&gt;&lt;br&gt;My plan of attack if you agree:
&lt;br&gt;&lt;br&gt;All patches are hosted on my server that are submitted, I get a copy of 
&lt;br&gt;these and produce a combined patch that keeps getting updated the more 
&lt;br&gt;patches that are submitted. This combined patch can work in my packages 
&lt;br&gt;plus other packages for other distributions. These combined patches are 
&lt;br&gt;kept in Bazaar again on my local server so we have a point to check when 
&lt;br&gt;what broke what in a commit. These combined patches would be the best 
&lt;br&gt;way to go forward without a release scheme as I can keep track of the 
&lt;br&gt;combined patch for the packaging. This combined patch would be checked 
&lt;br&gt;into Bazaar onto my server and in the commit log I will log how this 
&lt;br&gt;patch was created and where the individual patches came from.
&lt;br&gt;&lt;br&gt;This allows the packages to be created each day and we have some some of 
&lt;br&gt;quality checking progress built in to ensure the source is sane before 
&lt;br&gt;been built into packages.
&lt;br&gt;&lt;br&gt;So in Bazaar there is the mspgcc4 port. This port works with Karmic and 
&lt;br&gt;this is what I need to package to get Karmic support. I will take a look 
&lt;br&gt;at what is in Bazaar. As the code there compiled last night I can use 
&lt;br&gt;this in my packages. I will also look at combing the other patches as 
&lt;br&gt;well such as the ones that have appeared recently for the MSP430x5 and 
&lt;br&gt;usb support.
&lt;br&gt;&lt;br&gt;I will bring along more packages for the other tools but at the moment I 
&lt;br&gt;am just working on the core parts of the compiler.
&lt;br&gt;&lt;br&gt;When I said the internals, I more meant line for line of the source to 
&lt;br&gt;find out how you created the cross compiler. By understanding the source 
&lt;br&gt;I was hoping to be able to add new devices when required.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Adam
&lt;br&gt;&lt;br&gt;&lt;br&gt;Chris Liechti wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Adam Horden schrieb:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; The Bazaar code has been away for over a week now so I have turned off 
&lt;br&gt;&amp;gt;&amp;gt; my automatic package building for now. I do not have packages for karmic 
&lt;br&gt;&amp;gt;&amp;gt; as I did not know the state of the source code. What did happen to the 
&lt;br&gt;&amp;gt;&amp;gt; code in Bazaar?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; good question... i don't know why the web interface sometimes gives
&lt;br&gt;&amp;gt; error messages about revisions that never existed in the repo and
&lt;br&gt;&amp;gt; sometimes show &amp;quot;no revisions&amp;quot;. anyways i wiped the repo created a new
&lt;br&gt;&amp;gt; shared repo and uploaded the branches again.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; you once asked about a way to list the branches. the following works now
&lt;br&gt;&amp;gt; (but it is slow):
&lt;br&gt;&amp;gt; $ bzr branches bzr://mspgcc.bzr.sourceforge.net/bzrroot/mspgcc
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; I am still working on packaging but at the same time I am trying to 
&lt;br&gt;&amp;gt;&amp;gt; understand some of the internals so I can better understand how the 
&lt;br&gt;&amp;gt;&amp;gt; cross compiler works.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hm. roughly these parts play together:
&lt;br&gt;&amp;gt; Core parts:
&lt;br&gt;&amp;gt; - cross assembler and tools (binutils)
&lt;br&gt;&amp;gt; - cross compiler (gcc)
&lt;br&gt;&amp;gt; - separate libraries for the target
&lt;br&gt;&amp;gt; &amp;nbsp; - msp430-libc (must have)
&lt;br&gt;&amp;gt; &amp;nbsp; - libmspgcc (optional)
&lt;br&gt;&amp;gt; &amp;nbsp; - there is also libgcc but that is included in the cross gcc
&lt;br&gt;&amp;gt; Debugger:
&lt;br&gt;&amp;gt; - cross debugger (gdb) (understanding the target processors asm etc,
&lt;br&gt;&amp;gt; &amp;nbsp; built in simulator..)
&lt;br&gt;&amp;gt; Separate tools:
&lt;br&gt;&amp;gt; - separate tools (msp430-jtag/bsl, ...)
&lt;br&gt;&amp;gt; - other 3rd party tools not hosted with mspgcc
&lt;br&gt;&amp;gt; - mspgcc docs and example code
&lt;br&gt;&amp;gt; - &amp;quot;make&amp;quot; or some other build control tool, usually not dependent on
&lt;br&gt;&amp;gt; &amp;nbsp; target platform, so no cross versions needed here
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; how to package this? that depends on how many packages you prefer. fine
&lt;br&gt;&amp;gt; grained packaging could mean approximately a package per list item
&lt;br&gt;&amp;gt; above. otherwise binutils, gcc, libc, libmspgcc together may make sense.
&lt;br&gt;&amp;gt; docs+examples as an other package. gdb and gdbproxy maybe?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i would package all the python tools separately (as one) as well as each
&lt;br&gt;&amp;gt; other 3rd party tool as these are more or less independent of the
&lt;br&gt;&amp;gt; compiler/assembler toolchain used an they may be us use for users of
&lt;br&gt;&amp;gt; other toolchains.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; sorry if that wasn't what you asked about :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; As far as my understanding goes most of the compilation problems are
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; caused by dependencies and interfaces with out-of-project code like the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; kernel, bin-utils, gcc, and the secret libhil.so / msp430.dll code.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the libhil used by MSP430mspgcc is completely open source. and i think
&lt;br&gt;&amp;gt; it was compatible to the HIL used by TI's MSP430. the APIs drifted away
&lt;br&gt;&amp;gt; when they added spy-bi-wire support.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The USB access code is built into the MSP430 library itself. but the
&lt;br&gt;&amp;gt; complete library is closed source. that's TI's choice. not ours ;-)
&lt;br&gt;&amp;gt; due to the licensing, gdbproxy was required and as it has to link about
&lt;br&gt;&amp;gt; the &amp;quot;secret&amp;quot; MSP430 API it also has a closed source part. There were not
&lt;br&gt;&amp;gt; made using reverse engineering but with the help from TI. so there is no
&lt;br&gt;&amp;gt; option releasing these part without their consent.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; there should not be any other parts that are &amp;quot;secret&amp;quot; or depending or
&lt;br&gt;&amp;gt; have difficult dependencies.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I always wondered why all these interfaces are needed (and why
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; hacks around the TI secret code were not already included ;-) ).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; one part is explained above.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; So what is the state of the source code in Bazaar?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; so far there are no new features in the bzr branch yet (except...)
&lt;br&gt;&amp;gt; - the mspgcc4 fork was merged into the mspgcc-core branch. but the
&lt;br&gt;&amp;gt; &amp;nbsp; msp430X branch is still separate for gcc itself
&lt;br&gt;&amp;gt; - i've tried to get it better structured and separate parts in separate
&lt;br&gt;&amp;gt; &amp;nbsp; branches.
&lt;br&gt;&amp;gt; - the build shell script is derived from mspgcc4 (instead of the make
&lt;br&gt;&amp;gt; &amp;nbsp; variant i usually used from packaging)
&lt;br&gt;&amp;gt; - i had problems getting a 4.x gcc cross compiler (issues with gcc not
&lt;br&gt;&amp;gt; &amp;nbsp; finding its own binaries, build itself seems to pass sucessfully)
&lt;br&gt;&amp;gt; - windows installer files not yet present as i'd like to create a more
&lt;br&gt;&amp;gt; &amp;nbsp; fine grained packaging there too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Now I asked for advice if this code in Bazaar would be ready for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; packaging but never got a reply.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; i myself feel responsible for the python-mspgcc-tools. and i plan to
&lt;br&gt;&amp;gt; develop them in bzr.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; gcc, gdb and binutils are an other topic as the key contributors are
&lt;br&gt;&amp;gt; other developers, several over time. they that want to work further on
&lt;br&gt;&amp;gt; it have to be happy with the versioning system.
&lt;br&gt;&amp;gt; so far the feedback has not been very positive in favor of bzr but on
&lt;br&gt;&amp;gt; the other side, generally, going away from CVS would be preferred.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I also asked if it was possible to sort
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; out a release system and Rob Spanton agreed on this but nothing moved
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; forward. As a packager it gives me a headache tracking my own revision
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; numbers to a revision in Bazaar or CVS.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; so far there have not been &amp;quot;hard&amp;quot; release points so i used dates for the
&lt;br&gt;&amp;gt; windows installer. with finer grained packages that should get easier.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; There are commits that break things from time to time so building them
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; each day is a bad idea. We need a release schedule. I have been there
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; with my packages and it requires human intervention as I have them
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; automatically built but for testing I have to update my development
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; machines packages versions then test them to ensure nothing broke before
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; uploading them to Launchpad.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; a good point.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; currently there is no official plan for future features (they get
&lt;br&gt;&amp;gt; included as someone provides patches/checks in).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; chris
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mspgcc-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514016&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26514016&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ubuntu-Packages%2C-Karmic%2C-where-did-the-source-code-go-in-Bazaar--tp26416910p26514016.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26508327</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-24T22:57:04Z</published>
	<updated>2009-11-24T22:57:04Z</updated>
	<author>
		<name>bmentink</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 1:09 AM, Gerald Lutter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508327&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;g.lutter@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we have updated our script on the webpage. It downloads the patches
&lt;br&gt;&amp;gt; automatically and builds a new toolchain with it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Gerald
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Hi again Gerald,
&lt;/div&gt;&lt;br&gt;Every thing compiles except for the following symbols (Code Composer link
&lt;br&gt;file .. )
&lt;br&gt;I can't seem to find any equivalent symbols in the USB.h file ..
&lt;br&gt;&lt;br&gt;It maybe that they are additional symbols introduced by the USB stack. If
&lt;br&gt;that is the case can you give be some instruction on how I can introduce
&lt;br&gt;them ..
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br&gt;---------------------------------- Missing Symbols
&lt;br&gt;-----------------------------
&lt;br&gt;&lt;br&gt;tSetupPacket = 0x2380;
&lt;br&gt;&lt;br&gt;tEndPoint0DescriptorBlock = 0x0920;
&lt;br&gt;&lt;br&gt;tInputEndPointDescriptorBlock = 0x23C8;
&lt;br&gt;&lt;br&gt;tOutputEndPointDescriptorBlock = 0x2388;
&lt;br&gt;&lt;br&gt;abIEP0Buffer = 0x2378;
&lt;br&gt;&lt;br&gt;abOEP0Buffer = 0x2370;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp1 = 0x1C00;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp1 = 0x1C40;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp81 = 0x1C80;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp81 = 0x1CC0;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp2 = 0x1D00;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp2 = 0x1D40;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp82 = 0x1D80;
&lt;br&gt;&lt;br&gt;pbYBufferAddressEp82 = 0x1DC0;
&lt;br&gt;&lt;br&gt;pbXBufferAddressEp3 = 0x1E00;
&lt;br&gt;----------------------------------------
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26508327&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26508327.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505659</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-24T16:23:41Z</published>
	<updated>2009-11-24T16:23:41Z</updated>
	<author>
		<name>bmentink</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 1:09 AM, Gerald Lutter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505659&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;g.lutter@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we have updated our script on the webpage. It downloads the patches
&lt;br&gt;&amp;gt; automatically and builds a new toolchain with it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Gerald
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Hi Gerald,
&lt;/div&gt;&lt;br&gt;Thanks for that. I had nearly got my version done, but you bet me to it.
&lt;br&gt;&lt;br&gt;Tried it out and compile seems to work fine.
&lt;br&gt;&lt;br&gt;I am busy porting across the TI USB CDC/HID and my MIDI stack (CCE code)
&lt;br&gt;across to mspgcc ... nearly finished ...
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505659&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26505659.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505277</id>
	<title>Re: Ubuntu Packages, Karmic, where did the source code go in Bazaar?</title>
	<published>2009-11-24T15:38:28Z</published>
	<updated>2009-11-24T15:38:28Z</updated>
	<author>
		<name>Chris Liechti</name>
	</author>
	<content type="html">Adam Horden schrieb:
&lt;br&gt;&lt;br&gt;&amp;gt; The Bazaar code has been away for over a week now so I have turned off 
&lt;br&gt;&amp;gt; my automatic package building for now. I do not have packages for karmic 
&lt;br&gt;&amp;gt; as I did not know the state of the source code. What did happen to the 
&lt;br&gt;&amp;gt; code in Bazaar?
&lt;br&gt;&lt;br&gt;good question... i don't know why the web interface sometimes gives
&lt;br&gt;error messages about revisions that never existed in the repo and
&lt;br&gt;sometimes show &amp;quot;no revisions&amp;quot;. anyways i wiped the repo created a new
&lt;br&gt;shared repo and uploaded the branches again.
&lt;br&gt;&lt;br&gt;you once asked about a way to list the branches. the following works now
&lt;br&gt;(but it is slow):
&lt;br&gt;$ bzr branches bzr://mspgcc.bzr.sourceforge.net/bzrroot/mspgcc
&lt;br&gt;&lt;br&gt;&amp;gt; I am still working on packaging but at the same time I am trying to 
&lt;br&gt;&amp;gt; understand some of the internals so I can better understand how the 
&lt;br&gt;&amp;gt; cross compiler works.
&lt;br&gt;&lt;br&gt;hm. roughly these parts play together:
&lt;br&gt;Core parts:
&lt;br&gt;- cross assembler and tools (binutils)
&lt;br&gt;- cross compiler (gcc)
&lt;br&gt;- separate libraries for the target
&lt;br&gt;&amp;nbsp; - msp430-libc (must have)
&lt;br&gt;&amp;nbsp; - libmspgcc (optional)
&lt;br&gt;&amp;nbsp; - there is also libgcc but that is included in the cross gcc
&lt;br&gt;Debugger:
&lt;br&gt;- cross debugger (gdb) (understanding the target processors asm etc,
&lt;br&gt;&amp;nbsp; built in simulator..)
&lt;br&gt;Separate tools:
&lt;br&gt;- separate tools (msp430-jtag/bsl, ...)
&lt;br&gt;- other 3rd party tools not hosted with mspgcc
&lt;br&gt;- mspgcc docs and example code
&lt;br&gt;- &amp;quot;make&amp;quot; or some other build control tool, usually not dependent on
&lt;br&gt;&amp;nbsp; target platform, so no cross versions needed here
&lt;br&gt;&lt;br&gt;how to package this? that depends on how many packages you prefer. fine
&lt;br&gt;grained packaging could mean approximately a package per list item
&lt;br&gt;above. otherwise binutils, gcc, libc, libmspgcc together may make sense.
&lt;br&gt;docs+examples as an other package. gdb and gdbproxy maybe?
&lt;br&gt;&lt;br&gt;i would package all the python tools separately (as one) as well as each
&lt;br&gt;other 3rd party tool as these are more or less independent of the
&lt;br&gt;compiler/assembler toolchain used an they may be us use for users of
&lt;br&gt;other toolchains.
&lt;br&gt;&lt;br&gt;sorry if that wasn't what you asked about :-)
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; As far as my understanding goes most of the compilation problems are
&lt;br&gt;&amp;gt;&amp;gt; caused by dependencies and interfaces with out-of-project code like the
&lt;br&gt;&amp;gt;&amp;gt; kernel, bin-utils, gcc, and the secret libhil.so / msp430.dll code.
&lt;br&gt;&lt;br&gt;the libhil used by MSP430mspgcc is completely open source. and i think
&lt;br&gt;it was compatible to the HIL used by TI's MSP430. the APIs drifted away
&lt;br&gt;when they added spy-bi-wire support.
&lt;br&gt;&lt;br&gt;The USB access code is built into the MSP430 library itself. but the
&lt;br&gt;complete library is closed source. that's TI's choice. not ours ;-)
&lt;br&gt;due to the licensing, gdbproxy was required and as it has to link about
&lt;br&gt;the &amp;quot;secret&amp;quot; MSP430 API it also has a closed source part. There were not
&lt;br&gt;made using reverse engineering but with the help from TI. so there is no
&lt;br&gt;option releasing these part without their consent.
&lt;br&gt;&lt;br&gt;there should not be any other parts that are &amp;quot;secret&amp;quot; or depending or
&lt;br&gt;have difficult dependencies.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; I always wondered why all these interfaces are needed (and why
&lt;br&gt;&amp;gt;&amp;gt; hacks around the TI secret code were not already included ;-) ).
&lt;br&gt;&lt;br&gt;one part is explained above.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; So what is the state of the source code in Bazaar?
&lt;br&gt;&lt;br&gt;so far there are no new features in the bzr branch yet (except...)
&lt;br&gt;- the mspgcc4 fork was merged into the mspgcc-core branch. but the
&lt;br&gt;&amp;nbsp; msp430X branch is still separate for gcc itself
&lt;br&gt;- i've tried to get it better structured and separate parts in separate
&lt;br&gt;&amp;nbsp; branches.
&lt;br&gt;- the build shell script is derived from mspgcc4 (instead of the make
&lt;br&gt;&amp;nbsp; variant i usually used from packaging)
&lt;br&gt;- i had problems getting a 4.x gcc cross compiler (issues with gcc not
&lt;br&gt;&amp;nbsp; finding its own binaries, build itself seems to pass sucessfully)
&lt;br&gt;- windows installer files not yet present as i'd like to create a more
&lt;br&gt;&amp;nbsp; fine grained packaging there too.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Now I asked for advice if this code in Bazaar would be ready for
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; packaging but never got a reply.
&lt;br&gt;&lt;br&gt;i myself feel responsible for the python-mspgcc-tools. and i plan to
&lt;br&gt;develop them in bzr.
&lt;br&gt;&lt;br&gt;gcc, gdb and binutils are an other topic as the key contributors are
&lt;br&gt;other developers, several over time. they that want to work further on
&lt;br&gt;it have to be happy with the versioning system.
&lt;br&gt;so far the feedback has not been very positive in favor of bzr but on
&lt;br&gt;the other side, generally, going away from CVS would be preferred.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I also asked if it was possible to sort
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; out a release system and Rob Spanton agreed on this but nothing moved
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; forward. As a packager it gives me a headache tracking my own revision
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; numbers to a revision in Bazaar or CVS.
&lt;br&gt;&lt;br&gt;so far there have not been &amp;quot;hard&amp;quot; release points so i used dates for the
&lt;br&gt;windows installer. with finer grained packages that should get easier.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; There are commits that break things from time to time so building them
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; each day is a bad idea. We need a release schedule. I have been there
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; with my packages and it requires human intervention as I have them
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; automatically built but for testing I have to update my development
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; machines packages versions then test them to ensure nothing broke before
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; uploading them to Launchpad.
&lt;br&gt;&lt;br&gt;a good point.
&lt;br&gt;&lt;br&gt;currently there is no official plan for future features (they get
&lt;br&gt;included as someone provides patches/checks in).
&lt;br&gt;&lt;br&gt;chris
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505277&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ubuntu-Packages%2C-Karmic%2C-where-did-the-source-code-go-in-Bazaar--tp26416910p26505277.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499261</id>
	<title>Re: GPL debugger for eZ430-RF2500 on Linux/BSD</title>
	<published>2009-11-24T08:40:31Z</published>
	<updated>2009-11-24T08:40:31Z</updated>
	<author>
		<name>John Porubek</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009 at 7:45 PM, Daniel Beer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499261&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dlbeer@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 04:18:19PM -0500, John Porubek wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Nov 17, 2009 at 7:26 PM, Daniel Beer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499261&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dlbeer@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Probably easiest just to use GID 1000, which you're already in. Try
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; this (as root):
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;    umount /proc/bus/usb
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;    mount -t usbfs none /proc/bus/usb -o devgid=1000,devmode=0664
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; If you want to tidy things up later, you might like to make a &amp;quot;usb&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; group, add yourself to it and have usbfs mounted with the GID of
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the &amp;quot;usb&amp;quot; group.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; As it turns out, I was using the right GID but the wrong mount point.
&lt;br&gt;&amp;gt;&amp;gt; Under Ubuntu 9.10, instead of &amp;quot;/proc/bus/usb&amp;quot;, I had to use
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;/dev/bus/usb&amp;quot;. Also, I had to add my UID to the mount options
&lt;br&gt;&amp;gt;&amp;gt; (devuid=1000). I haven't made a &amp;quot;usb&amp;quot; group yet, but I think I will.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now if I only could make this stick across reboots. As I understand
&lt;br&gt;&amp;gt;&amp;gt; it, one would normally use fstab to apply mounts at bootup. However,
&lt;br&gt;&amp;gt;&amp;gt; I'm not sure if that applies here, or, if it does, how to do it. Any
&lt;br&gt;&amp;gt;&amp;gt; ideas?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If the init scripts consult /etc/fstab when mounting procfs, you
&lt;br&gt;&amp;gt; could add a line like this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; none    /dev/bus/usb    usbfs   devuid=1000     0       0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I haven't tried this, however.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - Daniel
&lt;/div&gt;&lt;br&gt;It works! Thank you so much for your help and for creating a great
&lt;br&gt;tool and making it available. Now to compile the latest version and
&lt;br&gt;try it out with an eZ430-F2013 and FET430UIF. I may be back. ;^)
&lt;br&gt;&lt;br&gt;--John
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499261&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GPL-debugger-for-eZ430-RF2500-on-Linux-BSD-tp25902655p26499261.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26495697</id>
	<title>Problem with sprintf and snprintf in a msp430x2617</title>
	<published>2009-11-24T04:54:25Z</published>
	<updated>2009-11-24T04:54:25Z</updated>
	<author>
		<name>Jordi Soucheiron</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I've been trying to fix a problem with my build of mspgcc but I got
&lt;br&gt;out of ideas to fix it. Some time ago I used a build from july 2008
&lt;br&gt;and everithing worked just fine, now I've switched to the last cvs
&lt;br&gt;version and I've found out that sprintf for some reason doesn't write
&lt;br&gt;to the destiny. I've tryed to exec this (this line is from the output
&lt;br&gt;of a nesc precompiler):
&lt;br&gt;&amp;nbsp; &amp;nbsp; snprintf(debugbuf, 256, &amp;quot; &amp;nbsp;+ &amp;nbsp;Accelerometer Started\n&amp;quot;);
&lt;br&gt;But instead of moving the string to the debugbuf keeps the same
&lt;br&gt;information just as if &amp;quot; &amp;nbsp;+ &amp;nbsp;Accelerometer Started\n&amp;quot; was a null
&lt;br&gt;string.
&lt;br&gt;Does somebody know what could be causing this behavior? I suspect that
&lt;br&gt;may have something to do with the compiler used, but I cannot be sure
&lt;br&gt;Thank you
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jordi Soucheiron
&lt;br&gt;Software Engineer
&lt;br&gt;&lt;br&gt;DEXMA
&lt;br&gt;Parc Tecnològic la Salle
&lt;br&gt;Sant Joan de la Salle, 42
&lt;br&gt;08022 Barcelona
&lt;br&gt;t/f: [+34] 93 181 01 95
&lt;br&gt;www.dexmatech.com
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26495697&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jsoucheiron@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26495697&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-sprintf-and-snprintf-in-a-msp430x2617-tp26495697p26495697.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26492987</id>
	<title>Re: Programming the msp430f5529 via USB on Linux</title>
	<published>2009-11-24T01:38:23Z</published>
	<updated>2009-11-24T01:38:23Z</updated>
	<author>
		<name>Gerald Lutter-2</name>
	</author>
	<content type="html">Hi Fred,
&lt;br&gt;&lt;br&gt;there was a post on the mailinglist from 2009/10/01 00:24 from Hans
&lt;br&gt;Nieuwenhuis. He mentioned the elprotronic flash tool that is able to flash
&lt;br&gt;55xx devices. It may possibly work under a virtual machine.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Gerald
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: Frédéric Sureau [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492987&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;frederic.sureau@...&lt;/a&gt;] 
&lt;br&gt;Gesendet: Montag, 23. November 2009 22:54
&lt;br&gt;An: GCC for MSP430 - &lt;a href=&quot;http://mspgcc.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mspgcc.sf.net&lt;/a&gt;&lt;br&gt;Betreff: [Mspgcc-users] Programming the msp430f5529 via USB on Linux
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hi everybody,
&lt;br&gt;&lt;br&gt;I would want to use the MSP430-FET-UIF to program a MSP430F5529. I'm on
&lt;br&gt;Ubuntu Karmic.
&lt;br&gt;&lt;br&gt;I've tried many solutions found on the net, but I can't make it work.
&lt;br&gt;&lt;br&gt;With Linux version of gdbproxy I get the message :
&lt;br&gt;&amp;quot;The FET tool version does not match this program. Update required.&amp;quot; When I
&lt;br&gt;ask for a firmware update, the same message appears.
&lt;br&gt;&lt;br&gt;I've tried to use the Windows version with Wine, using different MSP430.dll
&lt;br&gt;I've found in CCE, IAR, etc. The best thing I obtain is : &amp;quot;Could not find
&lt;br&gt;device (or device not supported) (4)&amp;quot; In other cases, this is the same
&lt;br&gt;message as in Linux version.
&lt;br&gt;&lt;br&gt;Does anyone is able to flash or debug the MSP430F5529 with Linux ? Does the
&lt;br&gt;only solution is to use Windows in a Virtual Machine ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Fred
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------------
&lt;br&gt;--
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus
&lt;br&gt;on 
&lt;br&gt;what you do best, core application coding. Discover what's new with Crystal
&lt;br&gt;Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492987&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26492987&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programming-the-msp430f5529-via-USB-on-Linux-tp26486676p26492987.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488778</id>
	<title>Re: GPL debugger for eZ430-RF2500 on Linux/BSD</title>
	<published>2009-11-23T16:45:33Z</published>
	<updated>2009-11-23T16:45:33Z</updated>
	<author>
		<name>Daniel Beer-3</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009 at 04:18:19PM -0500, John Porubek wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tue, Nov 17, 2009 at 7:26 PM, Daniel Beer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488778&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dlbeer@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Probably easiest just to use GID 1000, which you're already in. Try
&lt;br&gt;&amp;gt; &amp;gt; this (as root):
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;    umount /proc/bus/usb
&lt;br&gt;&amp;gt; &amp;gt;    mount -t usbfs none /proc/bus/usb -o devgid=1000,devmode=0664
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; If you want to tidy things up later, you might like to make a &amp;quot;usb&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; group, add yourself to it and have usbfs mounted with the GID of
&lt;br&gt;&amp;gt; &amp;gt; the &amp;quot;usb&amp;quot; group.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As it turns out, I was using the right GID but the wrong mount point.
&lt;br&gt;&amp;gt; Under Ubuntu 9.10, instead of &amp;quot;/proc/bus/usb&amp;quot;, I had to use
&lt;br&gt;&amp;gt; &amp;quot;/dev/bus/usb&amp;quot;. Also, I had to add my UID to the mount options
&lt;br&gt;&amp;gt; (devuid=1000). I haven't made a &amp;quot;usb&amp;quot; group yet, but I think I will.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now if I only could make this stick across reboots. As I understand
&lt;br&gt;&amp;gt; it, one would normally use fstab to apply mounts at bootup. However,
&lt;br&gt;&amp;gt; I'm not sure if that applies here, or, if it does, how to do it. Any
&lt;br&gt;&amp;gt; ideas?
&lt;/div&gt;&lt;br&gt;If the init scripts consult /etc/fstab when mounting procfs, you
&lt;br&gt;could add a line like this:
&lt;br&gt;&lt;br&gt;none	/dev/bus/usb	usbfs	devuid=1000	0	0
&lt;br&gt;&lt;br&gt;I haven't tried this, however.
&lt;br&gt;&lt;br&gt;- Daniel
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488778&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GPL-debugger-for-eZ430-RF2500-on-Linux-BSD-tp25902655p26488778.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486676</id>
	<title>Programming the msp430f5529 via USB on Linux</title>
	<published>2009-11-23T13:54:09Z</published>
	<updated>2009-11-23T13:54:09Z</updated>
	<author>
		<name>Frédéric Sureau</name>
	</author>
	<content type="html">Hi everybody,
&lt;br&gt;&lt;br&gt;I would want to use the MSP430-FET-UIF to program a MSP430F5529.
&lt;br&gt;I'm on Ubuntu Karmic.
&lt;br&gt;&lt;br&gt;I've tried many solutions found on the net, but I can't make it work.
&lt;br&gt;&lt;br&gt;With Linux version of gdbproxy I get the message :
&lt;br&gt;&amp;quot;The FET tool version does not match this program. Update required.&amp;quot;
&lt;br&gt;When I ask for a firmware update, the same message appears.
&lt;br&gt;&lt;br&gt;I've tried to use the Windows version with Wine, using different
&lt;br&gt;MSP430.dll I've found in CCE, IAR, etc.
&lt;br&gt;The best thing I obtain is :
&lt;br&gt;&amp;quot;Could not find device (or device not supported) (4)&amp;quot;
&lt;br&gt;In other cases, this is the same message as in Linux version.
&lt;br&gt;&lt;br&gt;Does anyone is able to flash or debug the MSP430F5529 with Linux ?
&lt;br&gt;Does the only solution is to use Windows in a Virtual Machine ?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Fred
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486676&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Programming-the-msp430f5529-via-USB-on-Linux-tp26486676p26486676.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26486040</id>
	<title>Re: GPL debugger for eZ430-RF2500 on Linux/BSD</title>
	<published>2009-11-23T13:18:19Z</published>
	<updated>2009-11-23T13:18:19Z</updated>
	<author>
		<name>John Porubek</name>
	</author>
	<content type="html">On Tue, Nov 17, 2009 at 7:26 PM, Daniel Beer &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486040&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dlbeer@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Probably easiest just to use GID 1000, which you're already in. Try
&lt;br&gt;&amp;gt; this (as root):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;    umount /proc/bus/usb
&lt;br&gt;&amp;gt;    mount -t usbfs none /proc/bus/usb -o devgid=1000,devmode=0664
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you want to tidy things up later, you might like to make a &amp;quot;usb&amp;quot;
&lt;br&gt;&amp;gt; group, add yourself to it and have usbfs mounted with the GID of
&lt;br&gt;&amp;gt; the &amp;quot;usb&amp;quot; group.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;As it turns out, I was using the right GID but the wrong mount point.
&lt;br&gt;Under Ubuntu 9.10, instead of &amp;quot;/proc/bus/usb&amp;quot;, I had to use
&lt;br&gt;&amp;quot;/dev/bus/usb&amp;quot;. Also, I had to add my UID to the mount options
&lt;br&gt;(devuid=1000). I haven't made a &amp;quot;usb&amp;quot; group yet, but I think I will.
&lt;br&gt;&lt;br&gt;Now if I only could make this stick across reboots. As I understand
&lt;br&gt;it, one would normally use fstab to apply mounts at bootup. However,
&lt;br&gt;I'm not sure if that applies here, or, if it does, how to do it. Any
&lt;br&gt;ideas?
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26486040&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GPL-debugger-for-eZ430-RF2500-on-Linux-BSD-tp25902655p26486040.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26485336</id>
	<title>Re: Ubuntu Packages, Karmic, where did the source code go in Bazaar?</title>
	<published>2009-11-23T12:33:02Z</published>
	<updated>2009-11-23T12:33:02Z</updated>
	<author>
		<name>Adam Horden</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;The Bazaar code has been away for over a week now so I have turned off 
&lt;br&gt;my automatic package building for now. I do not have packages for karmic 
&lt;br&gt;as I did not know the state of the source code. What did happen to the 
&lt;br&gt;code in Bazaar?
&lt;br&gt;&lt;br&gt;I am still working on packaging but at the same time I am trying to 
&lt;br&gt;understand some of the internals so I can better understand how the 
&lt;br&gt;cross compiler works.
&lt;br&gt;&lt;br&gt;Adam Horden
&lt;br&gt;&lt;br&gt;marco_sp wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Adam and everybody else,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes Adam I noted your efforts. I really appreciate the works and hope new
&lt;br&gt;&amp;gt; packages will follow. If I could provide practical help I would, but my
&lt;br&gt;&amp;gt; linux knowledge is too limited.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As far as my understanding goes most of the compilation problems are
&lt;br&gt;&amp;gt; caused by dependencies and interfaces with out-of-project code like the
&lt;br&gt;&amp;gt; kernel, bin-utils, gcc, and the secret libhil.so / msp430.dll code. I
&lt;br&gt;&amp;gt; always wondered why all these interfaces are needed (and why hacks around
&lt;br&gt;&amp;gt; the TI secret code were not already included ;-) ).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I really hope that the mspgcc experts like Chris and others, support
&lt;br&gt;&amp;gt; Adam in the adventure. Many would benefit and it would keep mspgcc popular
&lt;br&gt;&amp;gt; or (most probably) attract many new users.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Marco
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Hi All,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; First off sorry if this sounds a little harsh, I am just trying to sort
&lt;br&gt;&amp;gt;&amp;gt; out the packages I created over the last six months.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You might have or have not noticed that I have spent a considerable
&lt;br&gt;&amp;gt;&amp;gt; amount of time creating Ubuntu packages for mspgcc to try and give some
&lt;br&gt;&amp;gt;&amp;gt; thing back. I have asked here for advice regarding the state of the
&lt;br&gt;&amp;gt;&amp;gt; source code but not had a response telling me exactly what I need to
&lt;br&gt;&amp;gt;&amp;gt; know to continue building packages. Its frustrating for me as I am
&lt;br&gt;&amp;gt;&amp;gt; trying to get more users to use mspgcc as well as make it easier for
&lt;br&gt;&amp;gt;&amp;gt; people to install the cross compiler. I use the cross compiler but
&lt;br&gt;&amp;gt;&amp;gt; without me having to dig deep into the source code and the internals of
&lt;br&gt;&amp;gt;&amp;gt; binutils, gcc, libc, gdb I would rather get the information I required
&lt;br&gt;&amp;gt;&amp;gt; direct from one of the developers. Is there a developer or advanced user
&lt;br&gt;&amp;gt;&amp;gt; who is willing to help me at this stage to get working Karmic packages?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; At the moment there is no support for Karmic as they dropped support for
&lt;br&gt;&amp;gt;&amp;gt; gcc3-4. I found the code in Bazaar and for the last few weeks tested
&lt;br&gt;&amp;gt;&amp;gt; this on a Karmic system until last night when the Bazaar resporatory
&lt;br&gt;&amp;gt;&amp;gt; disappered and taking down my build system with it. I make automatic
&lt;br&gt;&amp;gt;&amp;gt; builds each day to test the qualtity of code. So what is the state of
&lt;br&gt;&amp;gt;&amp;gt; the source code in Bazaar? and where did it go?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now I asked for advice if this code in Bazaar would be ready for
&lt;br&gt;&amp;gt;&amp;gt; packaging but never got a reply. I also asked if it was possible to sort
&lt;br&gt;&amp;gt;&amp;gt; out a release system and Rob Spanton agreed on this but nothing moved
&lt;br&gt;&amp;gt;&amp;gt; forward. As a packager it gives me a headache tracking my own revision
&lt;br&gt;&amp;gt;&amp;gt; numbers to a revision in Bazaar or CVS.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; People are using my packages and I can support the packages, but without
&lt;br&gt;&amp;gt;&amp;gt; help from the developers I can only do so much. I did not develop the
&lt;br&gt;&amp;gt;&amp;gt; cross compiler so when finding and fixing bugs in my packages I tend to
&lt;br&gt;&amp;gt;&amp;gt; see if it exists when I compiler the tool chain from source in a virtual
&lt;br&gt;&amp;gt;&amp;gt; machine or if its something wrong with my package.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; At the moment my packages are rebuilt each day, and I am hoping the
&lt;br&gt;&amp;gt;&amp;gt; patches I generate automatically will be used across all packages not
&lt;br&gt;&amp;gt;&amp;gt; just for Ubuntu so until we get a version number all the packages should
&lt;br&gt;&amp;gt;&amp;gt; contain the same code for a version number / revision.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; There are commits that break things from time to time so building them
&lt;br&gt;&amp;gt;&amp;gt; each day is a bad idea. We need a release schedule. I have been there
&lt;br&gt;&amp;gt;&amp;gt; with my packages and it requires human intervention as I have them
&lt;br&gt;&amp;gt;&amp;gt; automatically built but for testing I have to update my development
&lt;br&gt;&amp;gt;&amp;gt; machines packages versions then test them to ensure nothing broke before
&lt;br&gt;&amp;gt;&amp;gt; uploading them to Launchpad.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So I am thinking that I will drop the packages soon as there is too many
&lt;br&gt;&amp;gt;&amp;gt; unanswered questions. I do not mind spending the time it just seems that
&lt;br&gt;&amp;gt;&amp;gt; there needs to be more documentation and non of the developers answered
&lt;br&gt;&amp;gt;&amp;gt; any of my questions when I posted them to the list. There is no point
&lt;br&gt;&amp;gt;&amp;gt; there been broken packages because I do not get the information I
&lt;br&gt;&amp;gt;&amp;gt; required to improve and release new version of the packages. It also
&lt;br&gt;&amp;gt;&amp;gt; causes users some headaches as people install a broken cross compiler.
&lt;br&gt;&amp;gt;&amp;gt; The documentation is poor. I was (still will do) going to do a new
&lt;br&gt;&amp;gt;&amp;gt; website, with packages, source packages, install documentation so every
&lt;br&gt;&amp;gt;&amp;gt; thing would be up to date and you would not have to spend hours trying
&lt;br&gt;&amp;gt;&amp;gt; to crawl through mailing list archives to get the information I required
&lt;br&gt;&amp;gt;&amp;gt; as well as I would try to push new devices were possible.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So where do I go from here is there any one willing to spend some time
&lt;br&gt;&amp;gt;&amp;gt; via email going over the current state of the project with me? So we can
&lt;br&gt;&amp;gt;&amp;gt; get these packages up to date with the correct source code and support
&lt;br&gt;&amp;gt;&amp;gt; as many devices as possible. And try to get all the patches into one
&lt;br&gt;&amp;gt;&amp;gt; place.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks again,
&lt;br&gt;&amp;gt;&amp;gt; Adam
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Mspgcc-users mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26485336&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26485336&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ubuntu-Packages%2C-Karmic%2C-where-did-the-source-code-go-in-Bazaar--tp26416910p26485336.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26476984</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-23T04:09:23Z</published>
	<updated>2009-11-23T04:09:23Z</updated>
	<author>
		<name>Gerald Lutter-2</name>
	</author>
	<content type="html">Hi Bernie,
&lt;br&gt;&lt;br&gt;we have updated our script on the webpage. It downloads the patches
&lt;br&gt;automatically and builds a new toolchain with it.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Gerald
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: Bernard Mentink [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26476984&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmentink@...&lt;/a&gt;] 
&lt;br&gt;Gesendet: Montag, 23. November 2009 07:36
&lt;br&gt;An: GCC for MSP430 - &lt;a href=&quot;http://mspgcc.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mspgcc.sf.net&lt;/a&gt;&lt;br&gt;Betreff: Re: [Mspgcc-users] msp430x5529 support
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 7:21 AM, Bernard Mentink &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26476984&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmentink@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 5:40 AM, &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26476984&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dasaspock@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; we integrated the USB peripherals.
&lt;br&gt;&amp;gt;&amp;gt; Please try our new patch under
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.innoventis.de/downloads/mspgcc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.innoventis.de/downloads/mspgcc/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and give us feedback.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;Hi,
&lt;br&gt;&lt;br&gt;Tried the new script, but it fails with:
&lt;br&gt;&lt;br&gt;&amp;quot;&amp;quot;
&lt;br&gt;patching file ld/scripttempl/elf32msp430_3.sc
&lt;br&gt;patching file opcodes/msp430-dis.c
&lt;br&gt;\n\nBinutils patch &amp;quot;binutils_5529.patch&amp;quot; not availavle! Exiting\n\n
&lt;br&gt;&lt;br&gt;Does the script download the patch, or do I have to put is somewhere still.
&lt;br&gt;In the previous fix you did to the script, I didn't have to fetch anything
&lt;br&gt;else manually, it was transparent.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26476984&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26476984.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26473378</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-22T22:36:10Z</published>
	<updated>2009-11-22T22:36:10Z</updated>
	<author>
		<name>bmentink</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009 at 7:21 AM, Bernard Mentink &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26473378&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmentink@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 5:40 AM, &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26473378&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dasaspock@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; we integrated the USB peripherals.
&lt;br&gt;&amp;gt;&amp;gt; Please try our new patch under
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.innoventis.de/downloads/mspgcc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.innoventis.de/downloads/mspgcc/&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and give us feedback.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;Hi,
&lt;/div&gt;&lt;br&gt;Tried the new script, but it fails with:
&lt;br&gt;&lt;br&gt;&amp;quot;&amp;quot;
&lt;br&gt;patching file ld/scripttempl/elf32msp430_3.sc
&lt;br&gt;patching file opcodes/msp430-dis.c
&lt;br&gt;\n\nBinutils patch &amp;quot;binutils_5529.patch&amp;quot; not availavle! Exiting\n\n
&lt;br&gt;&lt;br&gt;Does the script download the patch, or do I have to put is somewhere still.
&lt;br&gt;In the previous fix you did to the script, I didn't have to fetch anything
&lt;br&gt;else manually, it was transparent.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26473378&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26473378.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467902</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-22T10:21:57Z</published>
	<updated>2009-11-22T10:21:57Z</updated>
	<author>
		<name>bmentink</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009 at 5:40 AM, &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467902&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dasaspock@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we integrated the USB peripherals.
&lt;br&gt;&amp;gt; Please try our new patch under
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.innoventis.de/downloads/mspgcc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.innoventis.de/downloads/mspgcc/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and give us feedback.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; By the way:
&lt;br&gt;&amp;gt; What kind of driver do you use at PC side for the USB communication?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Hi,
&lt;/div&gt;&lt;br&gt;Thanks for the patch, will try it out tonight.
&lt;br&gt;&lt;br&gt;We are using the standard windows CDC driver to use the device as a virtual
&lt;br&gt;COM port for a work project ..
&lt;br&gt;&lt;br&gt;At play I have implemented a MIDI driver class for the MSP and again use the
&lt;br&gt;standard windows/linux driver to talk to it on the PC.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467902&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26467902.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26466877</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-22T08:40:00Z</published>
	<updated>2009-11-22T08:40:00Z</updated>
	<author>
		<name>netnobbi</name>
	</author>
	<content type="html">Hi Bernie,
&lt;br&gt;&lt;br&gt;we integrated the USB peripherals.
&lt;br&gt;Please try our new patch under
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.innoventis.de/downloads/mspgcc/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.innoventis.de/downloads/mspgcc/&lt;/a&gt;&lt;br&gt;&lt;br&gt;and give us feedback.
&lt;br&gt;&lt;br&gt;By the way:
&lt;br&gt;What kind of driver do you use at PC side for the USB communication?
&lt;br&gt;&lt;br&gt;Best regards
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------- Original-Nachricht --------
&lt;br&gt;&amp;gt; Datum: Fri, 20 Nov 2009 20:31:48 +1300
&lt;br&gt;&amp;gt; Von: Bernard Mentink &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466877&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bmentink@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; An: &amp;quot;GCC for MSP430 - &lt;a href=&quot;http://mspgcc.sf.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mspgcc.sf.net&lt;/a&gt;&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466877&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mspgcc-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Betreff: Re: [Mspgcc-users] msp430x5529 support
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 19, 2009 at 7:54 AM, Gerald Lutter
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466877&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;g.lutter@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 1. I notice some MACROS around each header file
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; entry. Are these for the linker so it knows the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; address of each peripheral? If so, can you tell
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; me how to use them.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Yes, they are used to set the addresses but not for the linker it's for
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; compiler and the assembler. The linker itself compared to the
&lt;br&gt;&amp;gt; CC-Essentials
&lt;br&gt;&amp;gt; &amp;gt; Toolchain does not know anything about the SFR locations. For details
&lt;br&gt;&amp;gt; take
&lt;br&gt;&amp;gt; &amp;gt; a
&lt;br&gt;&amp;gt; &amp;gt; look at my post on the mailinglist: &amp;quot;Complete Support for msp430x54xx
&lt;br&gt;&amp;gt; &amp;gt; devices inside msp430-libc&amp;quot; from 2009/08/20 11:55.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; 2. After adding the header file and adding the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; details to msp430x55x9-new...., can I just
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; recompile with the script with mspgcclibc=1?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; No because the directory will be cleaned every time you start the
&lt;br&gt;&amp;gt; script.
&lt;br&gt;&amp;gt; &amp;gt; The script itself stops after adding the current patches to msp430-libc.
&lt;br&gt;&amp;gt; &amp;gt; You
&lt;br&gt;&amp;gt; &amp;gt; have to press &amp;lt;ENTER&amp;gt; to proceed. At this point you can apply your
&lt;br&gt;&amp;gt; changes
&lt;br&gt;&amp;gt; &amp;gt; to the library. After finishing your work just press Enter and your
&lt;br&gt;&amp;gt; changes
&lt;br&gt;&amp;gt; &amp;gt; will be part of your version of the library.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Before continuing the build by pressing &amp;lt;ENTER&amp;gt; I recommend to create a
&lt;br&gt;&amp;gt; &amp;gt; patch of your version because if anything goes wrong during compile you
&lt;br&gt;&amp;gt; can
&lt;br&gt;&amp;gt; &amp;gt; continue your work by just adding your patch to the current version of
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt; library.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Best regards
&lt;br&gt;&amp;gt; &amp;gt; Gerald
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; Hi Gerald,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am having trouble including the files. I put the new
&lt;br&gt;&amp;gt; MSP430x55x9_newversion.h into the directory &amp;nbsp;build/msp430libc/include and
&lt;br&gt;&amp;gt; the new file USB.h into build/msp430libc/include/msp430new when the
&lt;br&gt;&amp;gt; msp430-libc compile was at the ENTER stage, and then let it complete.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My output had the new USB.h file, but still had the
&lt;br&gt;&amp;gt; old MSP430x55x9_newversion.h, it was obviously getting overwritten.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Can you please explain where to put the files when at the ENTER part of
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; compile.
&lt;br&gt;&amp;gt; Maybe I have to use a different name? But then how do I stop the old
&lt;br&gt;&amp;gt; ...._newversion.h being included as well.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also is it sufficient to in the script just enable the libc compile, with
&lt;br&gt;&amp;gt; the others set to &amp;quot;0&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Bernie
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
&lt;br&gt;&lt;a href=&quot;http://portal.gmx.net/de/go/dsl02&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://portal.gmx.net/de/go/dsl02&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26466877&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26466877.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26460021</id>
	<title>Re: Ubuntu Packages, Karmic, where did the source code go in Bazaar?</title>
	<published>2009-11-21T12:33:54Z</published>
	<updated>2009-11-21T12:33:54Z</updated>
	<author>
		<name>marco_sp</name>
	</author>
	<content type="html">Hi Adam and everybody else,
&lt;br&gt;&lt;br&gt;Yes Adam I noted your efforts. I really appreciate the works and hope new
&lt;br&gt;packages will follow. If I could provide practical help I would, but my
&lt;br&gt;linux knowledge is too limited.
&lt;br&gt;&lt;br&gt;As far as my understanding goes most of the compilation problems are
&lt;br&gt;caused by dependencies and interfaces with out-of-project code like the
&lt;br&gt;kernel, bin-utils, gcc, and the secret libhil.so / msp430.dll code. I
&lt;br&gt;always wondered why all these interfaces are needed (and why hacks around
&lt;br&gt;the TI secret code were not already included ;-) ).
&lt;br&gt;&lt;br&gt;So I really hope that the mspgcc experts like Chris and others, support
&lt;br&gt;Adam in the adventure. Many would benefit and it would keep mspgcc popular
&lt;br&gt;or (most probably) attract many new users.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Marco
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Hi All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; First off sorry if this sounds a little harsh, I am just trying to sort
&lt;br&gt;&amp;gt; out the packages I created over the last six months.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You might have or have not noticed that I have spent a considerable
&lt;br&gt;&amp;gt; amount of time creating Ubuntu packages for mspgcc to try and give some
&lt;br&gt;&amp;gt; thing back. I have asked here for advice regarding the state of the
&lt;br&gt;&amp;gt; source code but not had a response telling me exactly what I need to
&lt;br&gt;&amp;gt; know to continue building packages. Its frustrating for me as I am
&lt;br&gt;&amp;gt; trying to get more users to use mspgcc as well as make it easier for
&lt;br&gt;&amp;gt; people to install the cross compiler. I use the cross compiler but
&lt;br&gt;&amp;gt; without me having to dig deep into the source code and the internals of
&lt;br&gt;&amp;gt; binutils, gcc, libc, gdb I would rather get the information I required
&lt;br&gt;&amp;gt; direct from one of the developers. Is there a developer or advanced user
&lt;br&gt;&amp;gt; who is willing to help me at this stage to get working Karmic packages?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At the moment there is no support for Karmic as they dropped support for
&lt;br&gt;&amp;gt; gcc3-4. I found the code in Bazaar and for the last few weeks tested
&lt;br&gt;&amp;gt; this on a Karmic system until last night when the Bazaar resporatory
&lt;br&gt;&amp;gt; disappered and taking down my build system with it. I make automatic
&lt;br&gt;&amp;gt; builds each day to test the qualtity of code. So what is the state of
&lt;br&gt;&amp;gt; the source code in Bazaar? and where did it go?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now I asked for advice if this code in Bazaar would be ready for
&lt;br&gt;&amp;gt; packaging but never got a reply. I also asked if it was possible to sort
&lt;br&gt;&amp;gt; out a release system and Rob Spanton agreed on this but nothing moved
&lt;br&gt;&amp;gt; forward. As a packager it gives me a headache tracking my own revision
&lt;br&gt;&amp;gt; numbers to a revision in Bazaar or CVS.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; People are using my packages and I can support the packages, but without
&lt;br&gt;&amp;gt; help from the developers I can only do so much. I did not develop the
&lt;br&gt;&amp;gt; cross compiler so when finding and fixing bugs in my packages I tend to
&lt;br&gt;&amp;gt; see if it exists when I compiler the tool chain from source in a virtual
&lt;br&gt;&amp;gt; machine or if its something wrong with my package.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At the moment my packages are rebuilt each day, and I am hoping the
&lt;br&gt;&amp;gt; patches I generate automatically will be used across all packages not
&lt;br&gt;&amp;gt; just for Ubuntu so until we get a version number all the packages should
&lt;br&gt;&amp;gt; contain the same code for a version number / revision.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There are commits that break things from time to time so building them
&lt;br&gt;&amp;gt; each day is a bad idea. We need a release schedule. I have been there
&lt;br&gt;&amp;gt; with my packages and it requires human intervention as I have them
&lt;br&gt;&amp;gt; automatically built but for testing I have to update my development
&lt;br&gt;&amp;gt; machines packages versions then test them to ensure nothing broke before
&lt;br&gt;&amp;gt; uploading them to Launchpad.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I am thinking that I will drop the packages soon as there is too many
&lt;br&gt;&amp;gt; unanswered questions. I do not mind spending the time it just seems that
&lt;br&gt;&amp;gt; there needs to be more documentation and non of the developers answered
&lt;br&gt;&amp;gt; any of my questions when I posted them to the list. There is no point
&lt;br&gt;&amp;gt; there been broken packages because I do not get the information I
&lt;br&gt;&amp;gt; required to improve and release new version of the packages. It also
&lt;br&gt;&amp;gt; causes users some headaches as people install a broken cross compiler.
&lt;br&gt;&amp;gt; The documentation is poor. I was (still will do) going to do a new
&lt;br&gt;&amp;gt; website, with packages, source packages, install documentation so every
&lt;br&gt;&amp;gt; thing would be up to date and you would not have to spend hours trying
&lt;br&gt;&amp;gt; to crawl through mailing list archives to get the information I required
&lt;br&gt;&amp;gt; as well as I would try to push new devices were possible.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So where do I go from here is there any one willing to spend some time
&lt;br&gt;&amp;gt; via email going over the current state of the project with me? So we can
&lt;br&gt;&amp;gt; get these packages up to date with the correct source code and support
&lt;br&gt;&amp;gt; as many devices as possible. And try to get all the patches into one
&lt;br&gt;&amp;gt; place.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks again,
&lt;br&gt;&amp;gt; Adam
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26460021&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ubuntu-Packages%2C-Karmic%2C-where-did-the-source-code-go-in-Bazaar--tp26416910p26460021.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26447859</id>
	<title>Current build</title>
	<published>2009-11-20T10:06:05Z</published>
	<updated>2009-11-20T10:06:05Z</updated>
	<author>
		<name>Rick Jenkins-2</name>
	</author>
	<content type="html">The build instructions from source for Linux at:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Linux_installation&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Linux_installation&lt;/a&gt;&lt;br&gt;&lt;br&gt;show a build from CVS, along the lines of README-MAINTAINER.txt
&lt;br&gt;&lt;br&gt;All the new code commits seem to be to the Bazaar repository. Is the CVS still 
&lt;br&gt;maintained? If it is not the most up-to-date version, what is the best way to 
&lt;br&gt;build from Bazaar?
&lt;br&gt;-- 
&lt;br&gt;Rick Jenkins &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26447859&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rick@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Hartman Technica &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.hartmantech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hartmantech.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Phone +1 (403) 230-1987
&lt;br&gt;221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26447859&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Current-build-tp26447859p26447859.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26446107</id>
	<title>Re: Size of functions</title>
	<published>2009-11-20T08:20:17Z</published>
	<updated>2009-11-20T08:20:17Z</updated>
	<author>
		<name>Rick Jenkins-2</name>
	</author>
	<content type="html">On Thursday 19 November 2009 17:27:12 mspgcc-users-
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26446107&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;request@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; -------------- next part --------------
&lt;br&gt;&amp;gt; An embedded and charset-unspecified text was scrubbed...
&lt;br&gt;&amp;gt; Name: msp430xRAM.x
&lt;br&gt;&lt;br&gt;Regrettably, your linker script was removed from the digest. Could you post it 
&lt;br&gt;somewhere accessible, please?
&lt;br&gt;-- 
&lt;br&gt;Rick Jenkins &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26446107&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rick@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Hartman Technica &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.hartmantech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hartmantech.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Phone +1 (403) 230-1987
&lt;br&gt;221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26446107&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Size-of-functions-tp26354078p26446107.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26439423</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-19T23:31:48Z</published>
	<updated>2009-11-19T23:31:48Z</updated>
	<author>
		<name>bmentink</name>
	</author>
	<content type="html">On Thu, Nov 19, 2009 at 7:54 AM, Gerald Lutter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26439423&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;g.lutter@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 1. I notice some MACROS around each header file
&lt;br&gt;&amp;gt; &amp;gt; entry. Are these for the linker so it knows the
&lt;br&gt;&amp;gt; &amp;gt; address of each peripheral? If so, can you tell
&lt;br&gt;&amp;gt; &amp;gt; me how to use them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, they are used to set the addresses but not for the linker it's for the
&lt;br&gt;&amp;gt; compiler and the assembler. The linker itself compared to the CC-Essentials
&lt;br&gt;&amp;gt; Toolchain does not know anything about the SFR locations. For details take
&lt;br&gt;&amp;gt; a
&lt;br&gt;&amp;gt; look at my post on the mailinglist: &amp;quot;Complete Support for msp430x54xx
&lt;br&gt;&amp;gt; devices inside msp430-libc&amp;quot; from 2009/08/20 11:55.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 2. After adding the header file and adding the
&lt;br&gt;&amp;gt; &amp;gt; details to msp430x55x9-new...., can I just
&lt;br&gt;&amp;gt; &amp;gt; recompile with the script with mspgcclibc=1?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No because the directory will be cleaned every time you start the script.
&lt;br&gt;&amp;gt; The script itself stops after adding the current patches to msp430-libc.
&lt;br&gt;&amp;gt; You
&lt;br&gt;&amp;gt; have to press &amp;lt;ENTER&amp;gt; to proceed. At this point you can apply your changes
&lt;br&gt;&amp;gt; to the library. After finishing your work just press Enter and your changes
&lt;br&gt;&amp;gt; will be part of your version of the library.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Before continuing the build by pressing &amp;lt;ENTER&amp;gt; I recommend to create a
&lt;br&gt;&amp;gt; patch of your version because if anything goes wrong during compile you can
&lt;br&gt;&amp;gt; continue your work by just adding your patch to the current version of the
&lt;br&gt;&amp;gt; library.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards
&lt;br&gt;&amp;gt; Gerald
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;Hi Gerald,
&lt;/div&gt;&lt;br&gt;I am having trouble including the files. I put the new
&lt;br&gt;MSP430x55x9_newversion.h into the directory &amp;nbsp;build/msp430libc/include and
&lt;br&gt;the new file USB.h into build/msp430libc/include/msp430new when the
&lt;br&gt;msp430-libc compile was at the ENTER stage, and then let it complete.
&lt;br&gt;&lt;br&gt;My output had the new USB.h file, but still had the
&lt;br&gt;old MSP430x55x9_newversion.h, it was obviously getting overwritten.
&lt;br&gt;&lt;br&gt;Can you please explain where to put the files when at the ENTER part of the
&lt;br&gt;compile.
&lt;br&gt;Maybe I have to use a different name? But then how do I stop the old
&lt;br&gt;...._newversion.h being included as well.
&lt;br&gt;&lt;br&gt;Also is it sufficient to in the script just enable the libc compile, with
&lt;br&gt;the others set to &amp;quot;0&amp;quot;.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26439423&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26439423.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26436651</id>
	<title>JTAG programming slowdown</title>
	<published>2009-11-19T16:26:53Z</published>
	<updated>2009-11-19T16:26:53Z</updated>
	<author>
		<name>Rick Jenkins-2</name>
	</author>
	<content type="html">With a new, faster machine I'm unable to program boards which have a reset 
&lt;br&gt;chip, which slows the reset signal. I'd like to use --slowdown, as in 
&lt;br&gt;&lt;br&gt;&amp;nbsp;msp430-jtag -DImEpv &amp;nbsp;--slowdown=20 file.ihex
&lt;br&gt;&lt;br&gt;but this fails on inability to find the slowdown file. Examining the code in 
&lt;br&gt;msp430-jtag we see during option processing:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; elif o == &amp;quot;--slowdown&amp;quot;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; slowdown = long(a)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; import ctypes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if sys.platform == 'win32':
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HIL_SetSlowdown = ctypes.windll.HIL.HIL_SetSlowdown
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # XXX and posix platforms?!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HIL_SetSlowdown = ctypes.cdll.HIL.HIL_SetSlowdown
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HIL_SetSlowdown = ctypes.windll.HIL.HIL_SetSlowdown
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HIL_SetSlowdown.argtypes &amp;nbsp;= [ctypes.c_ulong]
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HIL_SetSlowdown.restype &amp;nbsp; = ctypes.c_int # actually void
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # set slowdown
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HIL_SetSlowdown(slowdown)
&lt;br&gt;&lt;br&gt;It looks as if the selection of the &amp;quot;XXX and posix platforms&amp;quot; is defeated by 
&lt;br&gt;the line following the &amp;quot;else&amp;quot; section. Since I'm on a Linux platform, this 
&lt;br&gt;will always ensure that the appropriate file is not found. 
&lt;br&gt;-- 
&lt;br&gt;Rick Jenkins &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26436651&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rick@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Hartman Technica &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.hartmantech.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.hartmantech.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Phone +1 (403) 230-1987
&lt;br&gt;221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26436651&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/JTAG-programming-slowdown-tp26436651p26436651.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26433349</id>
	<title>Re: msp430x5529 support</title>
	<published>2009-11-19T12:15:29Z</published>
	<updated>2009-11-19T12:15:29Z</updated>
	<author>
		<name>bmentink</name>
	</author>
	<content type="html">On Thu, Nov 19, 2009 at 7:54 AM, Gerald Lutter &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433349&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;g.lutter@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Bernie,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 1. I notice some MACROS around each header file
&lt;br&gt;&amp;gt; &amp;gt; entry. Are these for the linker so it knows the
&lt;br&gt;&amp;gt; &amp;gt; address of each peripheral? If so, can you tell
&lt;br&gt;&amp;gt; &amp;gt; me how to use them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, they are used to set the addresses but not for the linker it's for the
&lt;br&gt;&amp;gt; compiler and the assembler. The linker itself compared to the CC-Essentials
&lt;br&gt;&amp;gt; Toolchain does not know anything about the SFR locations. For details take
&lt;br&gt;&amp;gt; a
&lt;br&gt;&amp;gt; look at my post on the mailinglist: &amp;quot;Complete Support for msp430x54xx
&lt;br&gt;&amp;gt; devices inside msp430-libc&amp;quot; from 2009/08/20 11:55.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; 2. After adding the header file and adding the
&lt;br&gt;&amp;gt; &amp;gt; details to msp430x55x9-new...., can I just
&lt;br&gt;&amp;gt; &amp;gt; recompile with the script with mspgcclibc=1?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No because the directory will be cleaned every time you start the script.
&lt;br&gt;&amp;gt; The script itself stops after adding the current patches to msp430-libc.
&lt;br&gt;&amp;gt; You
&lt;br&gt;&amp;gt; have to press &amp;lt;ENTER&amp;gt; to proceed. At this point you can apply your changes
&lt;br&gt;&amp;gt; to the library. After finishing your work just press Enter and your changes
&lt;br&gt;&amp;gt; will be part of your version of the library.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Before continuing the build by pressing &amp;lt;ENTER&amp;gt; I recommend to create a
&lt;br&gt;&amp;gt; patch of your version because if anything goes wrong during compile you can
&lt;br&gt;&amp;gt; continue your work by just adding your patch to the current version of the
&lt;br&gt;&amp;gt; library.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards
&lt;br&gt;&amp;gt; Gerald
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;/div&gt;Hi Gerald,
&lt;br&gt;&lt;br&gt;I have constructed the new USB header (USB.h) and have included the
&lt;br&gt;necessary entries in msp430x55x9_newversion.h.
&lt;br&gt;About to try it out. Can you refresh my memory on how to create diff files?
&lt;br&gt;When they test out, how do I get them to you for inclusion ..
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Bernie
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26433349&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/msp430x5529-support-tp26369477p26433349.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26418368</id>
	<title>Re: Size of functions</title>
	<published>2009-11-18T16:14:26Z</published>
	<updated>2009-11-18T16:14:26Z</updated>
	<author>
		<name>Chris Liechti</name>
	</author>
	<content type="html">Rick Jenkins schrieb:
&lt;br&gt;&amp;gt;&amp;gt; You have seen my assembly hack? If you put your fucntion into a separate
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;object file, it will be 100% safe, even with -o3. Without any linker
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;hacking.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have, and it's clearly the most elegant solution to my original problem. In 
&lt;br&gt;&amp;gt; particular, it confines the &amp;quot;trickery&amp;quot; to the source file containing the 
&lt;br&gt;&amp;gt; function, instead of requiring an obscure, dissociated entry in a linker 
&lt;br&gt;&amp;gt; script. After trying it out I'm convinced this is the cleanest way to go. 
&lt;br&gt;&lt;br&gt;i'll add my thoughts here too, most of it was already said in the thread
&lt;br&gt;though.
&lt;br&gt;&lt;br&gt;with just sections for some function you always need to ensure manually
&lt;br&gt;that no function outside that segment is called and that the code is
&lt;br&gt;position independent. the compiler may select to call code from libgcc
&lt;br&gt;to process some things (e.g. division). this would not end up in that
&lt;br&gt;section. so too many things to worry about ;-)
&lt;br&gt;&lt;br&gt;one solution is implement all of it in assembler. you know what you have
&lt;br&gt;and can write the code in a position independent way and calculate the
&lt;br&gt;size easily. a good solution if you are not afraid from the assembly.
&lt;br&gt;&lt;br&gt;the other possibility is to use the custom linker script. compile/link
&lt;br&gt;into RAM are. then take that binary and include it as array of bytes in
&lt;br&gt;the code.
&lt;br&gt;&lt;br&gt;i've attached a linker script to &amp;nbsp;link an application to RAM and a
&lt;br&gt;script that collects the code/data segments from a hex or ELF file and
&lt;br&gt;outputs C code as example. the script was used by be to write
&lt;br&gt;&amp;quot;updater-updaters&amp;quot; for the boot-loader approach described below. so it
&lt;br&gt;is used to flash the data, but replacing that with a different startup
&lt;br&gt;code should be easy.
&lt;br&gt;&lt;br&gt;but note that copying data to RAM and executing has to be done with
&lt;br&gt;care. you probably can not return afterwards as most of your
&lt;br&gt;applications variables are overwritten. the stack should be set to a
&lt;br&gt;well known position so that it's not right within your newly copied
&lt;br&gt;functions.
&lt;br&gt;a bootstrap function for the assembler variant is provided below.
&lt;br&gt;however for the second solution it needs to be rewritten slightly
&lt;br&gt;differently (see comments below).
&lt;br&gt;&lt;br&gt;&amp;gt; If I felt a little less fallible, I'd use the method of a fixed, unchangeable 
&lt;br&gt;&amp;gt; reprogrammer in a non-erased section of ROM. I just have a nasty, sinking 
&lt;br&gt;&amp;gt; feeling that, the moment this was widely deployed, I'd find a bug in it...
&lt;br&gt;&lt;br&gt;at least it is a small peace of code with one one or two features. that
&lt;br&gt;makes it easier to test and have a good feeling that there is no bug
&lt;br&gt;preventing basic operation.
&lt;br&gt;&lt;br&gt;i do use &amp;quot;bootloaders&amp;quot; that are kept in the top 2kB Flash. i've got
&lt;br&gt;firmware updates over I2C as master or as slave, BSL compatible and
&lt;br&gt;others. however i did not use any encryption.
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;header file (.h):
&lt;br&gt;void __attribute__((noreturn)) softBSLfromRAM(void);
&lt;br&gt;&lt;br&gt;assembler file (.S):
&lt;br&gt;; the code between the labels &amp;quot;softBSL&amp;quot; and &amp;quot;.LsoftBSL_end&amp;quot; is copied to
&lt;br&gt;; RAM and launched. put you update function between those labels. this
&lt;br&gt;; snipped does not show an implementation of that.
&lt;br&gt;&lt;br&gt;; trick used in this solution:
&lt;br&gt;; the stack pointer is used to copy the data and it will end up
&lt;br&gt;; BELOW the copied code. so the code needs to leave some space in
&lt;br&gt;; RAM for the stack. and the code itself should be written position
&lt;br&gt;; independently. if that can not be guaranteed, better copy starting
&lt;br&gt;; from 0x200 and use a separate register as counter.
&lt;br&gt;&lt;br&gt;.global softBSLfromRAM
&lt;br&gt;.type &amp;nbsp; softBSLfromRAM,@function
&lt;br&gt;&lt;br&gt;softBSLfromRAM:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mov &amp;nbsp; &amp;nbsp; #0x0400, r1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ; SP is used as dst ptr
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mov &amp;nbsp; &amp;nbsp; #.LsoftBSL_end, r13 &amp;nbsp; &amp;nbsp; ; source start address
&lt;br&gt;.Lcopy: decd &amp;nbsp; &amp;nbsp;r1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; decrement dst pointer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; decd &amp;nbsp; &amp;nbsp;r13 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ; decrement src pointer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mov &amp;nbsp; &amp;nbsp; @r13, @r1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ; copy one word
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cmp &amp;nbsp; &amp;nbsp; #softBSL, r13 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ; compare with lowest src address
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jne &amp;nbsp; &amp;nbsp; .Lcopy &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; keep copying while n&amp;lt;len
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; br &amp;nbsp; &amp;nbsp; &amp;nbsp;r1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; execute softBSL copy in RAM
&lt;br&gt;&lt;br&gt;.LsoftBSLfromRAM_end:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .size softBSLfromRAM,.LsoftBSLfromRAM_end-softBSLfromRAM
&lt;br&gt;&lt;br /&gt;/* Hacked version of the linker script of a F1121.
&lt;br&gt;&lt;br&gt;The .text section is moved to the RAM. The segment size is set
&lt;br&gt;to 2kB, so that this file can be used to link programs for all
&lt;br&gt;MSP430 derrivates. However this has the disadvantage that no
&lt;br&gt;error message is shown when more that the available RAM is used
&lt;br&gt;on a smaller device.
&lt;br&gt;&lt;br&gt;chris &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418368&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cliechti@...&lt;/a&gt;&amp;gt;
&lt;br&gt;*/
&lt;br&gt;OUTPUT_FORMAT(&amp;quot;elf32-msp430&amp;quot;,&amp;quot;elf32-msp430&amp;quot;,&amp;quot;elf32-msp430&amp;quot;)
&lt;br&gt;OUTPUT_ARCH(msp:110)
&lt;br&gt;MEMORY
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; ram &amp;nbsp; (rwx) &amp;nbsp;: ORIGIN = 0x0200, &amp;nbsp; &amp;nbsp; &amp;nbsp;LENGTH = 2K
&lt;br&gt;&amp;nbsp; bootloader(rx): ORIGIN = 0x0c00, &amp;nbsp; &amp;nbsp; &amp;nbsp;LENGTH = 1K
&lt;br&gt;}
&lt;br&gt;SECTIONS
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; /* Read-only sections, merged into text segment: */
&lt;br&gt;&amp;nbsp; .hash &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.hash) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .dynsym &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.dynsym) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .dynstr &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.dynstr) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .gnu.version &amp;nbsp; : { *(.gnu.version) &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .gnu.version_d &amp;nbsp; : { *(.gnu.version_d) &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .gnu.version_r &amp;nbsp; : { *(.gnu.version_r) &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rel.init &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rel.init) }
&lt;br&gt;&amp;nbsp; .rela.init &amp;nbsp; &amp;nbsp; : { *(.rela.init) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rel.text &amp;nbsp; &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.t*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.text &amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.t*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.fini &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rel.fini) }
&lt;br&gt;&amp;nbsp; .rela.fini &amp;nbsp; &amp;nbsp; : { *(.rela.fini) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rel.rodata &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.rodata)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.rodata.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.r*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.rodata &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.rodata)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.rodata.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.r*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.data &amp;nbsp; &amp;nbsp; &amp;nbsp;:
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.data.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rel.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rela.data &amp;nbsp; &amp;nbsp; :
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.data.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(.rela.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.ctors &amp;nbsp; &amp;nbsp; : { *(.rel.ctors) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rela.ctors &amp;nbsp; &amp;nbsp;: { *(.rela.ctors) &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.dtors &amp;nbsp; &amp;nbsp; : { *(.rel.dtors) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rela.dtors &amp;nbsp; &amp;nbsp;: { *(.rela.dtors) &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.got &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.got) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rela.got &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.got) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.bss &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.bss) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rela.bss &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.bss) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; .rel.plt &amp;nbsp; &amp;nbsp; &amp;nbsp; : { *(.rel.plt) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; .rela.plt &amp;nbsp; &amp;nbsp; &amp;nbsp;: { *(.rela.plt) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; /* Internal text space */
&lt;br&gt;&amp;nbsp; .text :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.init)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.text)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.text.*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.fini)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_etext = . ; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__data_start = .) ; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.data)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.gnu.linkonce.d*)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_edata = . ; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__bss_start = .) ; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.bss)
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(COMMON)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__bss_end = .) ; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_end = . ; &amp;nbsp;
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; ram
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; /* bootloader */
&lt;br&gt;&amp;nbsp; .bootloader &amp;nbsp; :
&lt;br&gt;&amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PROVIDE (__boot_start = .) ; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.bootloader)
&lt;br&gt;&amp;nbsp; &amp;nbsp; . = ALIGN(2);
&lt;br&gt;&amp;nbsp; &amp;nbsp; *(.bootloader.*)
&lt;br&gt;&amp;nbsp; } &amp;nbsp;&amp;gt; bootloader
&lt;br&gt;&lt;br&gt;&amp;nbsp; /* Stabs debugging sections. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; .stab 0 : { *(.stab) } 
&lt;br&gt;&amp;nbsp; .stabstr 0 : { *(.stabstr) }
&lt;br&gt;&amp;nbsp; .stab.excl 0 : { *(.stab.excl) }
&lt;br&gt;&amp;nbsp; .stab.exclstr 0 : { *(.stab.exclstr) }
&lt;br&gt;&amp;nbsp; .stab.index 0 : { *(.stab.index) }
&lt;br&gt;&amp;nbsp; .stab.indexstr 0 : { *(.stab.indexstr) }
&lt;br&gt;&amp;nbsp; .comment 0 : { *(.comment) }
&lt;br&gt;&amp;nbsp; /* DWARF debug sections.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Symbols in the DWARF debugging sections are relative to the beginning
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;of the section so we begin them at 0. &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; /* DWARF 1 */
&lt;br&gt;&amp;nbsp; .debug &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug) }
&lt;br&gt;&amp;nbsp; .line &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 : { *(.line) }
&lt;br&gt;&amp;nbsp; /* GNU DWARF 1 extensions */
&lt;br&gt;&amp;nbsp; .debug_srcinfo &amp;nbsp;0 : { *(.debug_srcinfo) }
&lt;br&gt;&amp;nbsp; .debug_sfnames &amp;nbsp;0 : { *(.debug_sfnames) }
&lt;br&gt;&amp;nbsp; /* DWARF 1.1 and DWARF 2 */
&lt;br&gt;&amp;nbsp; .debug_aranges &amp;nbsp;0 : { *(.debug_aranges) }
&lt;br&gt;&amp;nbsp; .debug_pubnames 0 : { *(.debug_pubnames) }
&lt;br&gt;&amp;nbsp; /* DWARF 2 */
&lt;br&gt;&amp;nbsp; .debug_info &amp;nbsp; &amp;nbsp; 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
&lt;br&gt;&amp;nbsp; .debug_abbrev &amp;nbsp; 0 : { *(.debug_abbrev) }
&lt;br&gt;&amp;nbsp; .debug_line &amp;nbsp; &amp;nbsp; 0 : { *(.debug_line) }
&lt;br&gt;&amp;nbsp; .debug_frame &amp;nbsp; &amp;nbsp;0 : { *(.debug_frame) }
&lt;br&gt;&amp;nbsp; .debug_str &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug_str) }
&lt;br&gt;&amp;nbsp; .debug_loc &amp;nbsp; &amp;nbsp; &amp;nbsp;0 : { *(.debug_loc) }
&lt;br&gt;&amp;nbsp; .debug_macinfo &amp;nbsp;0 : { *(.debug_macinfo) }
&lt;br&gt;&amp;nbsp; PROVIDE (__stack = 0xa00) ;
&lt;br&gt;}
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26418368&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Size-of-functions-tp26354078p26418368.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26416910</id>
	<title>Ubuntu Packages, Karmic, where did the source code go in Bazaar?</title>
	<published>2009-11-18T14:03:24Z</published>
	<updated>2009-11-18T14:03:24Z</updated>
	<author>
		<name>Adam Horden</name>
	</author>
	<content type="html">&amp;nbsp;Hi All,
&lt;br&gt;&lt;br&gt;First off sorry if this sounds a little harsh, I am just trying to sort
&lt;br&gt;out the packages I created over the last six months.
&lt;br&gt;&lt;br&gt;You might have or have not noticed that I have spent a considerable
&lt;br&gt;amount of time creating Ubuntu packages for mspgcc to try and give some
&lt;br&gt;thing back. I have asked here for advice regarding the state of the
&lt;br&gt;source code but not had a response telling me exactly what I need to
&lt;br&gt;know to continue building packages. Its frustrating for me as I am
&lt;br&gt;trying to get more users to use mspgcc as well as make it easier for
&lt;br&gt;people to install the cross compiler. I use the cross compiler but
&lt;br&gt;without me having to dig deep into the source code and the internals of
&lt;br&gt;binutils, gcc, libc, gdb I would rather get the information I required
&lt;br&gt;direct from one of the developers. Is there a developer or advanced user
&lt;br&gt;who is willing to help me at this stage to get working Karmic packages?
&lt;br&gt;&lt;br&gt;At the moment there is no support for Karmic as they dropped support for
&lt;br&gt;gcc3-4. I found the code in Bazaar and for the last few weeks tested
&lt;br&gt;this on a Karmic system until last night when the Bazaar resporatory
&lt;br&gt;disappered and taking down my build system with it. I make automatic
&lt;br&gt;builds each day to test the qualtity of code. So what is the state of
&lt;br&gt;the source code in Bazaar? and where did it go?
&lt;br&gt;&lt;br&gt;Now I asked for advice if this code in Bazaar would be ready for
&lt;br&gt;packaging but never got a reply. I also asked if it was possible to sort
&lt;br&gt;out a release system and Rob Spanton agreed on this but nothing moved
&lt;br&gt;forward. As a packager it gives me a headache tracking my own revision
&lt;br&gt;numbers to a revision in Bazaar or CVS.
&lt;br&gt;&lt;br&gt;People are using my packages and I can support the packages, but without
&lt;br&gt;help from the developers I can only do so much. I did not develop the
&lt;br&gt;cross compiler so when finding and fixing bugs in my packages I tend to
&lt;br&gt;see if it exists when I compiler the tool chain from source in a virtual
&lt;br&gt;machine or if its something wrong with my package.
&lt;br&gt;&lt;br&gt;At the moment my packages are rebuilt each day, and I am hoping the
&lt;br&gt;patches I generate automatically will be used across all packages not
&lt;br&gt;just for Ubuntu so until we get a version number all the packages should
&lt;br&gt;contain the same code for a version number / revision.
&lt;br&gt;&lt;br&gt;There are commits that break things from time to time so building them
&lt;br&gt;each day is a bad idea. We need a release schedule. I have been there
&lt;br&gt;with my packages and it requires human intervention as I have them
&lt;br&gt;automatically built but for testing I have to update my development
&lt;br&gt;machines packages versions then test them to ensure nothing broke before
&lt;br&gt;uploading them to Launchpad.
&lt;br&gt;&lt;br&gt;So I am thinking that I will drop the packages soon as there is too many
&lt;br&gt;unanswered questions. I do not mind spending the time it just seems that
&lt;br&gt;there needs to be more documentation and non of the developers answered
&lt;br&gt;any of my questions when I posted them to the list. There is no point
&lt;br&gt;there been broken packages because I do not get the information I
&lt;br&gt;required to improve and release new version of the packages. It also
&lt;br&gt;causes users some headaches as people install a broken cross compiler.
&lt;br&gt;The documentation is poor. I was (still will do) going to do a new
&lt;br&gt;website, with packages, source packages, install documentation so every
&lt;br&gt;thing would be up to date and you would not have to spend hours trying
&lt;br&gt;to crawl through mailing list archives to get the information I required
&lt;br&gt;as well as I would try to push new devices were possible.
&lt;br&gt;&lt;br&gt;So where do I go from here is there any one willing to spend some time
&lt;br&gt;via email going over the current state of the project with me? So we can
&lt;br&gt;get these packages up to date with the correct source code and support
&lt;br&gt;as many devices as possible. And try to get all the patches into one place.
&lt;br&gt;&lt;br&gt;Thanks again,
&lt;br&gt;Adam
&lt;br&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416910&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ubuntu-Packages%2C-Karmic%2C-where-did-the-source-code-go-in-Bazaar--tp26416910p26416910.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26416052</id>
	<title>Re: Size of functions</title>
	<published>2009-11-18T13:23:08Z</published>
	<updated>2009-11-18T13:23:08Z</updated>
	<author>
		<name>N. Coesel</name>
	</author>
	<content type="html">At 20:17 18-11-2009 +0000, you wrote:
&lt;br&gt;&amp;gt;On 2009-11-18, N. Coesel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416052&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nico@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; At 15:54 18-11-2009 +0000, you wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;On 2009-11-18, David Brown &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416052&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; N. Coesel wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The old &amp;quot;security by obscurity&amp;quot; trick, that has /such/ a good
&lt;br&gt;reputation?
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Any means of security is security by obscurity by definition.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; All protections schemes come down to hiding a secret
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (obscurity). Whether its a key, a secret algorithm, etc.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The phrase &amp;quot;security by obscurity&amp;quot; is normally taken to mean
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;security by hiding the way it works&amp;quot;, i.e., trying to hide
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the code or algorithm.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Exactly. &amp;nbsp;&amp;quot;Security by obscurity&amp;quot; does not refer to the fact 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;that you need to keep a secret key a secret. &amp;nbsp;It refers
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;specifically to the dependance on keeping the design and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;implementation of the _algorithms_ a secret.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Quoting Paul Schneier in _Secrets_&amp;_Lies_:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;A good security design has no secrets in its details. &amp;nbsp;In 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;other words, all of the security is in the product itself
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;and its chageable secret: the cryptographic keys, the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;passwords, the tokens and so forth. &amp;nbsp;The antithesis is
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;_security_by_obscurity_: The details of the system are 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;part of the security. &amp;nbsp;If a system is designed with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;security by obscurity then that security is delicate.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Later in the same book: &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Again and again in this book I rail against _security_by_
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;_obscurity_: proprietary cryptography, closed source code,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;secret operating systems.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;Security by obscurity doesn't work.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Which is big a misconception!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;History appears to show otherwise.
&lt;/div&gt;&lt;br&gt;If that where the case then tell me why our every day life is filled with
&lt;br&gt;applications that use 'keep the lock' secret method? Lets start with the
&lt;br&gt;PIN code on debit/credit cards, public travel payment systems and access
&lt;br&gt;control systems. People that run those systems are not just looking at
&lt;br&gt;technical possibilities they also want a system with which they can make a
&lt;br&gt;profit. 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; - If you make the way the lock works publicly available then you need a
&lt;br&gt;&amp;gt;&amp;gt; complex lock and a big key. This security measure relies on the key staying
&lt;br&gt;&amp;gt;&amp;gt; hidden and that it will take a long time to pick the lock.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; - If you keep the way the lock works secret,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;You can't. &amp;nbsp;At least not for long.
&lt;br&gt;&lt;br&gt;Well, it took 15 years before someone hacked Mifare by peeling the chip.
&lt;br&gt;People don't seem to be dumping Mifare so I guess we'll see Mifare around
&lt;br&gt;for another 10 years. Not a problem because you can put AES encrypted data
&lt;br&gt;onto a Mifare card which solves the entire issue.
&lt;br&gt;&lt;br&gt;Nico Coesel
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416052&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Size-of-functions-tp26354078p26416052.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26416016</id>
	<title>Re: Size of functions</title>
	<published>2009-11-18T13:20:48Z</published>
	<updated>2009-11-18T13:20:48Z</updated>
	<author>
		<name>David Brown-40</name>
	</author>
	<content type="html">N. Coesel wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; At 15:54 18-11-2009 +0000, you wrote:
&lt;br&gt;&amp;gt;&amp;gt; On 2009-11-18, David Brown &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416016&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; N. Coesel wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The old &amp;quot;security by obscurity&amp;quot; trick, that has /such/ a good reputation?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Any means of security is security by obscurity by definition.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; All protections schemes come down to hiding a secret
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (obscurity). Whether its a key, a secret algorithm, etc.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The phrase &amp;quot;security by obscurity&amp;quot; is normally taken to mean
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;security by hiding the way it works&amp;quot;, i.e., trying to hide
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the code or algorithm.
&lt;br&gt;&amp;gt;&amp;gt; Exactly. &amp;nbsp;&amp;quot;Security by obscurity&amp;quot; does not refer to the fact 
&lt;br&gt;&amp;gt;&amp;gt; that you need to keep a secret key a secret. &amp;nbsp;It refers
&lt;br&gt;&amp;gt;&amp;gt; specifically to the dependance on keeping the design and
&lt;br&gt;&amp;gt;&amp;gt; implementation of the _algorithms_ a secret.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Quoting Paul Schneier in _Secrets_&amp;_Lies_:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;A good security design has no secrets in its details. &amp;nbsp;In 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;other words, all of the security is in the product itself
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;and its chageable secret: the cryptographic keys, the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;passwords, the tokens and so forth. &amp;nbsp;The antithesis is
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;_security_by_obscurity_: The details of the system are 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;part of the security. &amp;nbsp;If a system is designed with
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;security by obscurity then that security is delicate.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Later in the same book: &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Again and again in this book I rail against _security_by_
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;_obscurity_: proprietary cryptography, closed source code,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;secret operating systems.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; Security by obscurity doesn't work.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Which is big a misconception!
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Security by obscurity works until someone is bothered to break that 
&lt;br&gt;particular system, and then it is totally trashed.
&lt;br&gt;&lt;br&gt;&amp;gt; Part of my job involves assessing and implementing electronic security
&lt;br&gt;&amp;gt; measures. I did a lot of thinking and reading about what security by
&lt;br&gt;&amp;gt; obscurity actually *means* and came to the following conclusions (I'll use
&lt;br&gt;&amp;gt; a lock and a key as metaphores):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - If you make the way the lock works publicly available then you need a
&lt;br&gt;&amp;gt; complex lock and a big key. This security measure relies on the key staying
&lt;br&gt;&amp;gt; hidden and that it will take a long time to pick the lock.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;The key must be big, but the lock doesn't have to be complex. &amp;nbsp;A more 
&lt;br&gt;complex lock will let you use a smaller key for the same security, 
&lt;br&gt;however. &amp;nbsp;Either way, you can pick a lock that many others have tried 
&lt;br&gt;and tested, and you can be confident is a good and safe lock. &amp;nbsp;And 
&lt;br&gt;obviously you need to keep your key safe.
&lt;br&gt;&lt;br&gt;&amp;gt; - If you keep the way the lock works secret, you can keep the lock and the
&lt;br&gt;&amp;gt; key very simple. This security measure relies on keeping both the lock and
&lt;br&gt;&amp;gt; the key secret. Trying to pick the lock is an almost impossible task.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;The bad guys will have the lock (if they don't, there is nothing to 
&lt;br&gt;break in to!). &amp;nbsp;So they will be able to dismantle the lock and see how 
&lt;br&gt;it works. &amp;nbsp;If it is complex, it will take some time and effort - but you 
&lt;br&gt;can be 100% confident that there are people with the tools, knowledge, 
&lt;br&gt;time and money to decipher any lock you choose to make if they think it 
&lt;br&gt;is economically advantageous. &amp;nbsp;It is not expensive to find someone with 
&lt;br&gt;the equipment to saw the top off a chip and read out flash and ram 
&lt;br&gt;contents using electron microscopes and microscopic probes.
&lt;br&gt;&lt;br&gt;Then there is the traditional vector of attack - bribery, burglary, and 
&lt;br&gt;bribery. &amp;nbsp;Find someone who knows how the lock works, and &amp;quot;persuade&amp;quot; them 
&lt;br&gt;to reveal the workings.
&lt;br&gt;&lt;br&gt;Once the workings of the lock are revealed, every device ever made using 
&lt;br&gt;that lock is compromised, since the keys are short and simple.
&lt;br&gt;&lt;br&gt;&amp;gt; Both methods require keeping a secret. So both methods rely on obscurity
&lt;br&gt;&amp;gt; anyway!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;The lock is /never/ secret - the bad guys have it in their hands. &amp;nbsp;At 
&lt;br&gt;most, the way the lock works is obfusticated.
&lt;br&gt;&lt;br&gt;The key is individual to each system, while the lock is the same on them 
&lt;br&gt;all. &amp;nbsp;So if you rely on the lock being secret, once it is broken 
&lt;br&gt;/everybody/ is in trouble. &amp;nbsp;To protect everyone else in case this 
&lt;br&gt;happens, you have to make sure the keys are strong enough that other 
&lt;br&gt;systems will be safe even if the lock is broken. &amp;nbsp;And if that is the 
&lt;br&gt;case, what exactly is the point in keeping the lock secret? &amp;nbsp;It raises 
&lt;br&gt;the cost of the first crack somewhat, but you lose all the advantages of 
&lt;br&gt;being able to re-use known and trusted lock designs.
&lt;br&gt;&lt;br&gt;&amp;gt; So where is the real problem? Well, if you have to make the way the lock
&lt;br&gt;&amp;gt; works public which can be required for code reviews, share source code or
&lt;br&gt;&amp;gt; to gain trust then you can't get away with small keys. The downside is that
&lt;br&gt;&amp;gt; the lock is complicated so it needs a lot of processing power. The lock is
&lt;br&gt;&amp;gt; also prone to biased brute force attacks. The upside is that because a lot
&lt;br&gt;&amp;gt; of people can look at the lock, it can be improved by the community.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Locks don't have to be complicated. &amp;nbsp;A nice simple xor key is a 
&lt;br&gt;perfectly good encryption which is about as simple as could be imagined 
&lt;br&gt;- it just needs a fairly long key (depending on the amount of data to be 
&lt;br&gt;encrypted, and how hard you want it to be). &amp;nbsp;There is a huge range from 
&lt;br&gt;such xor checks through pseudo-random number generators, through DES, 
&lt;br&gt;3DES, AES, to advanced stuff like elliptical codes. &amp;nbsp;They offer a 
&lt;br&gt;balance between code complexity, run-time size and speed, and key size 
&lt;br&gt;for a given level of security. &amp;nbsp;You pick what suits your needs.
&lt;br&gt;&lt;br&gt;There is good reason that anybody who /really/ knows about this stuff, 
&lt;br&gt;and really wants to protect something, uses standard known encryption 
&lt;br&gt;algorithms.
&lt;br&gt;&lt;br&gt;&amp;gt; Smart cards like MiFare typically use a secret lock. Is this bad? No, given
&lt;br&gt;&amp;gt; the amount of processing power available it is the best choice! In order to
&lt;br&gt;&amp;gt; hack the Mifare chip they had to examine the chip itself. It wasn't hacked
&lt;br&gt;&amp;gt; by using brute force.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.computerworld.com/s/article/9069558/How_they_hacked_it_The_MiFare&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.computerworld.com/s/article/9069558/How_they_hacked_it_The_MiFare&lt;/a&gt;&lt;br&gt;&amp;gt; _RFID_crack_explained
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Successful smart cards use known encryption algorithms. &amp;nbsp;Have you 
&lt;br&gt;actually looked at the MiFare? &amp;nbsp;There is a good summary at 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://en.wikipedia.org/wiki/MIFARE&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://en.wikipedia.org/wiki/MIFARE&lt;/a&gt;&amp;gt;. &amp;nbsp;It is clear that the so-called 
&lt;br&gt;&amp;quot;secret lock&amp;quot; encryption can be broken within seconds, while all other 
&lt;br&gt;MiFare cards are made using AES, DES, 3DES, etc.
&lt;br&gt;&lt;br&gt;I can think of few better examples showing why &amp;quot;security by obscurity&amp;quot; 
&lt;br&gt;(defined in the way the rest of the world defines it, i.e., trying to 
&lt;br&gt;keep the &amp;quot;lock&amp;quot; secret) does not work.
&lt;br&gt;&lt;br&gt;&amp;gt; The bottom line is: keeping the lock secret or just the key depends
&lt;br&gt;&amp;gt; entirely on the requirements. There is no general rule of thumb.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;There /is/ a rule of thumb, and it is somewhat scary that you don't 
&lt;br&gt;realise this. &amp;nbsp;I don't want to tell anyone how to do their job, although 
&lt;br&gt;I understand it might sound like that. &amp;nbsp;But take a long hard look at 
&lt;br&gt;MiFare and you cannot fail to understand why the &amp;quot;secret lock&amp;quot; 
&lt;br&gt;philosophy failed so badly, and why all newer MiFare cards use standard 
&lt;br&gt;algorithms.
&lt;br&gt;&lt;br&gt;The only exception to this rule of thumb is when you are designing a 
&lt;br&gt;single system and the key is fixed in each item made. &amp;nbsp;Then it doesn't 
&lt;br&gt;matter whether the key is long or the code is complex, since they are 
&lt;br&gt;kept in the same place, and breaking one means breaking the other.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; When it comes to obfustigating code: it can be helpfull to discourage
&lt;br&gt;&amp;gt; people. I recently had to asses a security measure for upgrading firmware
&lt;br&gt;&amp;gt; options using a license key. I used a debugger and a decompiler. The text
&lt;br&gt;&amp;gt; strings containing the error messages linked together with the code served
&lt;br&gt;&amp;gt; very well as comments on what the code did. However, the part that
&lt;br&gt;&amp;gt; converted the license key together with the serial number into a go/no-go
&lt;br&gt;&amp;gt; condition was spread over several functions. Although the decompiler showed
&lt;br&gt;&amp;gt; some insight in how the program was structured, determining the algorithm
&lt;br&gt;&amp;gt; wasn't easy because of the many function calls. I never bothered to
&lt;br&gt;&amp;gt; determine the algorithm though. Just skipping the check for the key made
&lt;br&gt;&amp;gt; the program enable the next upgrade in the list of possible (cumulative)
&lt;br&gt;&amp;gt; upgrades.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Obfusticated code certainly makes it harder to understand it. &amp;nbsp;But if 
&lt;br&gt;you are protecting anything valuable with these codes, you will not stop 
&lt;br&gt;professional crackers no matter what you do. &amp;nbsp;There are people (mostly 
&lt;br&gt;in ex-Soviet countries) with far more experience than you or I in this 
&lt;br&gt;field, and who cost a tenth of the hourly rate. &amp;nbsp;They /will/ determine 
&lt;br&gt;the algorithm (unless they too can find a shortcut). &amp;nbsp;Spreading the code 
&lt;br&gt;around with extra function calls is baby steps in obfustication - a 
&lt;br&gt;professional cracker would see it as nothing more than poor program 
&lt;br&gt;structure. &amp;nbsp;Letting the compiler do its best optimisation and code 
&lt;br&gt;inlining will make harder code. &amp;nbsp;There are methods for /real/ 
&lt;br&gt;obfustication that post-process generated assembly code and produce 
&lt;br&gt;something worthy of the name &amp;quot;obfusticated code&amp;quot; - not that it helps in 
&lt;br&gt;reality.
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26416016&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Size-of-functions-tp26354078p26416016.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26415792</id>
	<title>Re: Size of functions</title>
	<published>2009-11-18T13:09:06Z</published>
	<updated>2009-11-18T13:09:06Z</updated>
	<author>
		<name>JMGross</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----- Ursprüngliche Nachricht -----
&lt;br&gt;Von: Rick Jenkins
&lt;br&gt;Gesendet am: 18 Nov 2009 19:35:36
&lt;br&gt;&lt;br&gt;&amp;gt; Defining your section as:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;/* New section by rlj */
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;__foobar_start = . ;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *(.foobar)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; __foobar_end = . ;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;. = ALIGN(2);
&lt;br&gt;&amp;gt; &amp;nbsp;/* End new section by rlj */
&lt;br&gt;&lt;br&gt;&amp;gt; allows the section to be the exact size of the contents, in my case a single 
&lt;br&gt;&amp;gt; function.
&lt;br&gt;&lt;br&gt;There you'll see why I don't like the linker approach: 
&lt;br&gt;while I think I'm a fairly good programmer, I have no clue about how to script the linker :)
&lt;br&gt;I'm sure that when I start to fiddle around with it and actually see all of its functionality in use, I can easily determine how to use it to my advantage (this is why I'm employed, at least partially), but I never had a reason 
&lt;br&gt;to do so. (yet)
&lt;br&gt;&lt;br&gt;But I already had to take a look at the assembler to analyze one or the other weird warning or error message.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; You have seen my assembly hack? If you put your fucntion into a separate
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;object file, it will be 100% safe, even with -o3. Without any linker
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;hacking.
&lt;br&gt;&lt;br&gt;&amp;gt; I have, and it's clearly the most elegant solution to my original problem. 
&lt;br&gt;&lt;br&gt;thanks :)
&lt;br&gt;&lt;br&gt;&amp;gt; In particular, it confines the &amp;quot;trickery&amp;quot; to the source file containing the 
&lt;br&gt;&amp;gt; function, instead of requiring an obscure, dissociated entry in a linker 
&lt;br&gt;&amp;gt; script. After trying it out I'm convinced this is the cleanest way to go. 
&lt;br&gt;&lt;br&gt;I too prefer to put all project dependent stuff into the source files and (if it's really necessary) into the makefile.
&lt;br&gt;I'd really prefer to have the target processor put into the source file (all my sources include a 'system.h' as the very first thing, where all hardware-dependent things adn config are defined, including the include of the 
&lt;br&gt;proper MSPx.h).
&lt;br&gt;Unfortunately the target process has to be set using the -mmcu= commandline parameter in the makefile, requiring the makefile to be changed when the target processor changes.
&lt;br&gt;A pragma doing htis form source level would be much better.
&lt;br&gt;&lt;br&gt;&amp;gt; If I felt a little less fallible, I'd use the method of a fixed, unchangeable 
&lt;br&gt;&amp;gt; reprogrammer in a non-erased section of ROM. I just have a nasty, sinking 
&lt;br&gt;&amp;gt; feeling that, the moment this was widely deployed, I'd find a bug in it...
&lt;br&gt;&lt;br&gt;by placing the plain 'flash write' function into ram, you can even reprogram the boot loader, if necessary. 
&lt;br&gt;Provided that the write function can handle the size of the loader in one piece. 
&lt;br&gt;And of course if something goes wrong exactly at this moment, there's no way back (except for using the original BSL and doing a completely new setup, if hardware allows using the BSL).
&lt;br&gt;But this is also the case when all the flashing is done inside ram.
&lt;br&gt;So it minimizes risk for 'normal' updates.
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks to all who have taken the time to respond.
&lt;br&gt;&lt;br&gt;you're welcome.
&lt;br&gt;&lt;br&gt;&lt;br&gt;JMGross
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26415792&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Size-of-functions-tp26354078p26415792.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26414990</id>
	<title>Re: Size of functions</title>
	<published>2009-11-18T12:17:39Z</published>
	<updated>2009-11-18T12:17:39Z</updated>
	<author>
		<name>Grant Edwards-6</name>
	</author>
	<content type="html">On 2009-11-18, N. Coesel &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26414990&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nico@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; At 15:54 18-11-2009 +0000, you wrote:
&lt;br&gt;&amp;gt;&amp;gt;On 2009-11-18, David Brown &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26414990&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; N. Coesel wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The old &amp;quot;security by obscurity&amp;quot; trick, that has /such/ a good reputation?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Any means of security is security by obscurity by definition.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; All protections schemes come down to hiding a secret
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (obscurity). Whether its a key, a secret algorithm, etc.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The phrase &amp;quot;security by obscurity&amp;quot; is normally taken to mean
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;security by hiding the way it works&amp;quot;, i.e., trying to hide
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the code or algorithm.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Exactly. &amp;nbsp;&amp;quot;Security by obscurity&amp;quot; does not refer to the fact 
&lt;br&gt;&amp;gt;&amp;gt;that you need to keep a secret key a secret. &amp;nbsp;It refers
&lt;br&gt;&amp;gt;&amp;gt;specifically to the dependance on keeping the design and
&lt;br&gt;&amp;gt;&amp;gt;implementation of the _algorithms_ a secret.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Quoting Paul Schneier in _Secrets_&amp;_Lies_:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;A good security design has no secrets in its details. &amp;nbsp;In 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;other words, all of the security is in the product itself
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;and its chageable secret: the cryptographic keys, the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;passwords, the tokens and so forth. &amp;nbsp;The antithesis is
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;_security_by_obscurity_: The details of the system are 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;part of the security. &amp;nbsp;If a system is designed with
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;security by obscurity then that security is delicate.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;Later in the same book: &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Again and again in this book I rail against _security_by_
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;_obscurity_: proprietary cryptography, closed source code,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;secret operating systems.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;Security by obscurity doesn't work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Which is big a misconception!
&lt;/div&gt;&lt;br&gt;History appears to show otherwise.
&lt;br&gt;&lt;br&gt;&amp;gt; - If you make the way the lock works publicly available then you need a
&lt;br&gt;&amp;gt; complex lock and a big key. This security measure relies on the key staying
&lt;br&gt;&amp;gt; hidden and that it will take a long time to pick the lock.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; - If you keep the way the lock works secret,
&lt;br&gt;&lt;br&gt;You can't. &amp;nbsp;At least not for long.
&lt;br&gt;&lt;br&gt;&amp;gt; you can keep the lock and the key very simple. This security
&lt;br&gt;&amp;gt; measure relies on keeping both the lock and the key secret.
&lt;br&gt;&amp;gt; Trying to pick the lock is an almost impossible task.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Both methods require keeping a secret.
&lt;br&gt;&lt;br&gt;True.
&lt;br&gt;&lt;br&gt;&amp;gt; So both methods rely on obscurity anyway!
&lt;br&gt;&lt;br&gt;But the phrase &amp;quot;security by obscurity&amp;quot; (at least as it is used
&lt;br&gt;in the software and crypto world) refers _specifically_ to the
&lt;br&gt;&amp;quot;keep the lock design secret&amp;quot; method.
&lt;br&gt;&lt;br&gt;You can keep a key secret by not telling anyone.
&lt;br&gt;&lt;br&gt;To keep a lock secret you have avoid giving a copy of it to
&lt;br&gt;anyone -- IOW the only way to keep a lock secret is to never
&lt;br&gt;actually use it.
&lt;br&gt;&lt;br&gt;So you're right. &amp;nbsp;A secret lock design is effective as long as
&lt;br&gt;it is never used.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Grant Edwards &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; grante &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Yow! I'm having a
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tax-deductible experience!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;visi.com &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I need an energy crunch!!
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Mspgcc-users mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26414990&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Mspgcc-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/mspgcc-users&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Size-of-functions-tp26354078p26414990.html" />
</entry>

</feed>
