<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/6757" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-06-23T01:46:12+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/6757</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-06-23T01:46:12+02:00</updated>

		<published>2013-06-23T01:46:12+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=25481#p25481</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=25481#p25481"/>
		<title type="html"><![CDATA[Re: AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=25481#p25481"><![CDATA[
To everybody facing this issue: Please use a recent version of V-USB.<br /><br />For example you can get one from :<br />1) <!-- m --><a class="postlink" href="https://github.com/obdev/v-usb">https://github.com/obdev/v-usb</a><!-- m -->   or<br />2) <!-- m --><a class="postlink" href="https://github.com/baerwolf/USBaspLoader">https://github.com/baerwolf/USBaspLoader</a><!-- m --><br /><br />The problem in old versin: PROGMEMs aren't declared as const, as they should be since data in the flash is read-only.<br />Older gccs ignored this (this actually was a bug). Todays compiler will raise an error.<br /><br />Best regards<p>Statistics: Posted by Guest — Sun Jun 23, 2013 1:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[simpak]]></name></author>
		<updated>2013-06-22T21:06:57+02:00</updated>

		<published>2013-06-22T21:06:57+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=25479#p25479</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=25479#p25479"/>
		<title type="html"><![CDATA[Re: AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=25479#p25479"><![CDATA[
<blockquote><div><cite>Eisvogel wrote:</cite>Hey there,<br />I tried V-USB in the development environment to use AtmelStudio6. I've made ​​everything as described in this <a href="http://silberpreisineuro.de" class="postlink">tutorial</a>. But unfortunately I keep getting errors like this:<br /><br /><div class="codebox"><p>Code: </p><pre><code>Error   1   variable 'usbDescriptorDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   455   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   2   variable 'usbDescriptorConfiguration' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   461   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   3   variable 'usbDescriptorHidReport' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   467   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   4   variable 'usbDescriptorString0' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   473   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   5   variable 'usbDescriptorStringVendor' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   479   5   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   6   variable 'usbDescriptorStringDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   485   5   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   7   variable 'usbDescriptorStringSerialNumber' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   491   5   USB-Input</code></pre></div></div></blockquote><br /><br /><br />Please update all your drivers..<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19802">simpak</a> — Sat Jun 22, 2013 9:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[asd123zxc]]></name></author>
		<updated>2012-07-10T23:46:07+02:00</updated>

		<published>2012-07-10T23:46:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21989#p21989</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21989#p21989"/>
		<title type="html"><![CDATA[Re: AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21989#p21989"><![CDATA[
please watch this topic , i am using atmel studio 6 for compiling my project .<br /><a href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=6774" class="postlink">http://forums.obdev.at/viewtopic.php?f=8&amp;t=6774</a><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6991">asd123zxc</a> — Tue Jul 10, 2012 11:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[asd123zxc]]></name></author>
		<updated>2012-07-10T23:42:58+02:00</updated>

		<published>2012-07-10T23:42:58+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21988#p21988</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21988#p21988"/>
		<title type="html"><![CDATA[Re: AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21988#p21988"><![CDATA[
simply add a const before variables<br />for example:<br /> <div class="codebox"><p>Code: </p><pre><code>char usbDescriptorDevice&#91;&#93;;</code></pre></div><br />to<br /><div class="codebox"><p>Code: </p><pre><code>const char usbDescriptorDevice&#91;&#93;;</code></pre></div><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6991">asd123zxc</a> — Tue Jul 10, 2012 11:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2012-07-02T18:41:48+02:00</updated>

		<published>2012-07-02T18:41:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21948#p21948</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21948#p21948"/>
		<title type="html"><![CDATA[Re: AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21948#p21948"><![CDATA[
I think the problem is that the funcion is deklared but nothing is in there:<br /><div class="codebox"><p>Code: </p><pre><code>USB_PUBLIC void usbInit(void);</code></pre></div><br /><br />Why is there no code like this?<br /><div class="codebox"><p>Code: </p><pre><code>USB_PUBLIC void usbInit(void){<br />my programm<br />}</code></pre></div><p>Statistics: Posted by Guest — Mon Jul 02, 2012 6:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2012-07-02T09:33:06+02:00</updated>

		<published>2012-07-02T09:33:06+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21942#p21942</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21942#p21942"/>
		<title type="html"><![CDATA[Re: AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21942#p21942"><![CDATA[
Yea i done the same like you but than came this error:<br /><div class="codebox"><p>Code: </p><pre><code>E r r o r 1 u n d e f i n e d r e f e r e n c e t o ` u s b I n i t ' C : \ P r o g r a mm i e r e n \ U S B - I n p u t \ U S B - I n p u t</code></pre></div><p>Statistics: Posted by Guest — Mon Jul 02, 2012 9:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Eugen_E]]></name></author>
		<updated>2012-07-01T21:28:21+02:00</updated>

		<published>2012-07-01T21:28:21+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21938#p21938</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21938#p21938"/>
		<title type="html"><![CDATA[Re: AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21938#p21938"><![CDATA[
Hello,<br /><br />I had the same problems with avr-gcc 4.7.0, as described here <a href="http://forums.obdev.at/viewtopic.php?f=8&amp;t=6753&amp;start=0" class="postlink">http://forums.obdev.at/viewtopic.php?f=8&amp;t=6753&amp;start=0</a><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=6960">Eugen_E</a> — Sun Jul 01, 2012 9:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2012-07-01T20:03:33+02:00</updated>

		<published>2012-07-01T20:03:33+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21937#p21937</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21937#p21937"/>
		<title type="html"><![CDATA[AtmelStudio6]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=6757&amp;p=21937#p21937"><![CDATA[
Hey there,<br />I tried V-USB in the development environment to use AtmelStudio6. I've made ​​everything as described in this <a href="http://codeandlife.com/2012/01/29/avr-attiny-usb-tutorial-part-3/" class="postlink">tutorial</a>. But unfortunately I keep getting errors like this:<br /><br /><div class="codebox"><p>Code: </p><pre><code>Error   1   variable 'usbDescriptorDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   455   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   2   variable 'usbDescriptorConfiguration' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   461   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   3   variable 'usbDescriptorHidReport' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   467   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   4   variable 'usbDescriptorString0' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   473   6   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   5   variable 'usbDescriptorStringVendor' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   479   5   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   6   variable 'usbDescriptorStringDevice' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   485   5   USB-Input</code></pre></div><br /><div class="codebox"><p>Code: </p><pre><code>Error   7   variable 'usbDescriptorStringSerialNumber' must be const in order to be put into read-only section by means of '__attribute__((progmem))'   C:\Programmieren\USB-Input\USB-Input\USB-Input\V-USB\usbdrv.h   491   5   USB-Input</code></pre></div><p>Statistics: Posted by Guest — Sun Jul 01, 2012 8:03 pm</p><hr />
]]></content>
	</entry>
	</feed>
