<?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/1584" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2008-07-29T13:32:44+02:00</updated>

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

		<entry>
		<author><name><![CDATA[apollononnno]]></name></author>
		<updated>2008-07-29T13:32:44+02:00</updated>

		<published>2008-07-29T13:32:44+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5871#p5871</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5871#p5871"/>
		<title type="html"><![CDATA[Some programs are breaks. (I am tired and am absent)]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5871#p5871"><![CDATA[
I am assigned to a different result being given and do not doubt it. <br />My age has exceeded 60, but my technology and knowledge are still unripe. <br />Perhaps I think with the result that I be accompanied and forget some kind of options and compile. &#65288;I am unripe in optional contents&#65289;. <br />Like you, I wish that I want to arrive at a satisfactory result early. <br /><br />A story changed and went to Vienna by a sightseeing tour six years ago. <br />I asked an unknown person the place of &quot;association of music friend&quot; in Japanese. <br />The person taught it in English. <br />Association of music friend was near immediately, but was under construction. <br /><br />I asked Grandfather of &quot;the key shop&quot; a key elsewhere and bought &quot;a key&quot; and &quot;door metal fittings&quot;. <br />It was Japanese and German then that two people talked.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1231">apollononnno</a> — Tue Jul 29, 2008 1:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-07-29T12:29:13+02:00</updated>

		<published>2008-07-29T12:29:13+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5870#p5870</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5870#p5870"/>
		<title type="html"><![CDATA[About the boot loader]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5870#p5870"><![CDATA[
Did you choose the same options for the boot loader (same emulation level) as when you do a &quot;make allhexfiles&quot;? Other than that, you might use a different version of avr-libc (although I doubt that this make such a great difference).<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Tue Jul 29, 2008 12:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[apollononnno]]></name></author>
		<updated>2008-07-25T03:15:10+02:00</updated>

		<published>2008-07-25T03:15:10+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5846#p5846</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5846#p5846"/>
		<title type="html"><![CDATA[Is there any hint?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5846#p5846"><![CDATA[
C:\avrs\usbtest\USBaspLoader.2008-02-05\USBaspLoader.2008-02-05\firmware&gt;avr-gcc<br /> -v<br />Reading specs from C:/WinAVR-20060421/lib/gcc/avr/3.4.6/specs<br />Configured with: ../gcc-3.4.6/configure --prefix=/c/WinAVR --target=avr --enable<br />-languages=c,c++ --with-dwarf2 --enable-win32-registry=WinAVR --disable-nls<br />Thread model: single<br />gcc version 3.4.6<br /><br />C:\avrs\usbtest\USBaspLoader.2008-02-05\USBaspLoader.2008-02-05\firmware&gt;make<br />rm -f main.hex main.eep.hex<br />avr-objcopy -j .text -j .data -O ihex main.bin main.hex<br />avr-size main.hex<br />   text    data     bss     dec     hex filename<br />      0    2392       0    2392     958 main.hex<br /><br />I tried the above. <br />However, I did not become &quot;2028&quot;.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1231">apollononnno</a> — Fri Jul 25, 2008 3:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-07-23T12:11:54+02:00</updated>

		<published>2008-07-23T12:11:54+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5832#p5832</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5832#p5832"/>
		<title type="html"><![CDATA[About the boot loader]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5832#p5832"><![CDATA[
I compiled this with gcc 3.4.6. If you use WinAVR, you must use a rather old version (before the switch to gcc 4).<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Jul 23, 2008 12:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[apollononnno]]></name></author>
		<updated>2008-07-23T11:54:24+02:00</updated>

		<published>2008-07-23T11:54:24+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5831#p5831</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5831#p5831"/>
		<title type="html"><![CDATA[About size.]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5831#p5831"><![CDATA[
You compiled it. <br />It is the firm ware which I download it, and unfolded. <br />Going astray &quot;size mega168_12mhz.hex&quot; <br /> text     data      bss      dec      hex filename <br />    0     2028        0     2028      7ec mega168_12mhz.hex <br />It is displayed. <br /><br />I downloaded it. <br />I did &quot;make&quot; of &quot;USBaspLoader.2008-02-05&quot; in &quot;WinAVR-20080512&quot; and compiled it. <br />&quot;main.hex&quot; is displayed as follows. <br />&quot;size main.hex&quot; <br />   text     data      bss      dec      hex filename <br />      0     2392        0     2392      958 main.hex. <br /><br />As for it, memory consumption changes. <br /><br />Did you compile it in &quot;WinAVR&quot;, which version?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=1231">apollononnno</a> — Wed Jul 23, 2008 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-07-22T16:26:35+02:00</updated>

		<published>2008-07-22T16:26:35+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5827#p5827</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5827#p5827"/>
		<title type="html"><![CDATA[About the boot loader]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5827#p5827"><![CDATA[
For the Pin Change thing, see the end of this thread:<br /><br /><!-- m --><a class="postlink" href="http://forums.obdev.at/viewtopic.php?t=1067&amp;start=15">http://forums.obdev.at/viewtopic.php?t=1067&amp;start=15</a><!-- m --><br /><br />This was on the tiny45, but it's still an example for using the pin change interrupt.<br /><br />A different issue: The osccal routine is too big for a 2 k boot loader. Your code size is ~ 2.5 k, too much for the boot section. You'll probably find a different way to calibrate the oscillator or otherwise reduce the code size.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Tue Jul 22, 2008 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-07-22T15:27:02+02:00</updated>

		<published>2008-07-22T15:27:02+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5826#p5826</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5826#p5826"/>
		<title type="html"><![CDATA[Is the result good in this?]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5826#p5826"><![CDATA[
Thank you for an answer. <br /><br />I have made a mistake in the name letter of this forum. <br />In addition, the ID name has been wrong, too. <br />Is there the method to redo being right?<br /><br />I did not find the item which fell under &quot;1&quot;. <br />I validated &quot;2&quot; and got a result of compiling it. <br />However, I was not &quot;three&quot; negative results in that, but watched a slightly bad part. <br />Do not I need to pay attention to this item?<br /><br />1<br />/* #define USB_INTR_CFG MCUCR / IVSEL? IVCE? */<br />/* #define USB_INTR_CFG_SET ((1 &lt;&lt; ISC00) | (1 &lt;&lt; ISC01)) / EICRA?INT0 */ <br />2<br />#define USB_INTR_CFG_CLR 0<br />#define USB_INTR_ENABLE PCMSK1<br />#define USB_INTR_ENABLE_BIT PCINT8<br />#define USB_INTR_PENDING PCIFR<br />#define USB_INTR_PENDING_BIT PCIF1<br />3<br />usbdrv/usbdrv.h:198: warning: 'usbFunctionDescriptor' used but never defined<br />4<br />avr-objcopy -j .text -j .data -O ihex main.bin main.hex<br />avr-size main.hex<br />   text       data        bss        dec        hex    filename<br />      0       2520          0       2520        9d8    main.hex<br />Build succeeded with 1 Warnings...<br /><br />I intend I add &quot;OSCCAL&quot;, and to try RC12MHz. <br />I do not know the position that is necessary for the addition.<p>Statistics: Posted by Guest — Tue Jul 22, 2008 3:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2008-07-22T11:37:50+02:00</updated>

		<published>2008-07-22T11:37:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5825#p5825</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5825#p5825"/>
		<title type="html"><![CDATA[About the boot loader]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5825#p5825"><![CDATA[
I'm not sure I understand what you are asking...<br /><br />Looking at the code: You still have those defines commented out. But I see that you have already found the appropriate values for the defines. I have not checked them, but you obviously understood the concept.<br /><br />Regarding interrupt edge sensitivity: The driver should work with any edge (rising / falling / both). Just try it.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Tue Jul 22, 2008 11:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-07-22T06:36:52+02:00</updated>

		<published>2008-07-22T06:36:52+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5824#p5824</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5824#p5824"/>
		<title type="html"><![CDATA[About the direction of the change]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5824#p5824"><![CDATA[
I examined it about an interrupt. <br />I start an action by the upward movement of the &quot;INT0&quot; signal by the original. <br />I catch even the change of either direction in &quot;PCINT8&quot; which I hope for. <br />How do you do the handling of this case?<br />kyoji<br /><br />/* #define USB_INTR_CFG            MCUCR / IVSEL? IVCE?*/<br />/* #define USB_INTR_CFG_SET        ((1 &lt;&lt; ISC00) | (1 &lt;&lt; ISC01)) / EICRA?INT0&#8593; */<br />/* #define USB_INTR_CFG_CLR        0 */<br />/* #define USB_INTR_ENABLE         GIMSK / PCMSK1*/<br />/* #define USB_INTR_ENABLE_BIT     INT0 / PCINT8*/<br />/* #define USB_INTR_PENDING        GIFR / PCIFR*/<br />/* #define USB_INTR_PENDING_BIT    INTF0 / PCIF1*/<p>Statistics: Posted by Guest — Tue Jul 22, 2008 6:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2008-07-19T06:24:07+02:00</updated>

		<published>2008-07-19T06:24:07+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5798#p5798</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5798#p5798"/>
		<title type="html"><![CDATA[The later change]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1584&amp;p=5798#p5798"><![CDATA[
I made the first aim &quot;mega168p, 12MHz, D+_PC0, D-_PC1, the boot loader&quot; which I used &quot;OSCCAL&quot; for. <br />I compiled original &quot;EasyLogger.2008-02-28&quot; in avrstudio4 for the study and I compiled it replacing with &quot;mega168p-12MHz&quot; to be next and succeeded. <br />When add &quot;OSCCAL&quot; afterwards; &quot;main.c:&quot; 250:  error:  static declaration of 'calibrateOscillator' follows non-static declaration &quot;libs-device/osccal.h:&quot; 44:00  error:  I became the error of previous declaration of 'calibrateOscillator' was here. <br />I stopped it once here and I compiled original &quot;USBaspLoader.2008-02-05&quot; &quot;mega168p-12MHz&quot; and succeeded. <br />It is changed &quot;D+_PC0, D-_PC1&quot; to be next <br />#define USB_CFG_IOPORTNAME       C <br />#define USB_CFG_DMINUS_BIT       1 <br />#define USB_CFG_DPLUS_BIT        0 <br />/* #define USB_CFG_PULLUP_IOPORTNAME C */ <br />/* #define USB_CFG_PULLUP_BIT           One */ <br />I changed &#12434; of it and succeeded in compiling it. <br />When add &quot;osccal.c&quot; just before &quot;int main(void)&quot; in &quot;main.c&quot; afterwards; &quot;main.c:&quot; (.text+0x524):  I become the error of undefined reference to `usbMeasureFrameLength'.<br /><br />kyoji<p>Statistics: Posted by Guest — Sat Jul 19, 2008 6:24 am</p><hr />
]]></content>
	</entry>
	</feed>
