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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-04-04T16:10:50+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-04-04T16:10:50+02:00</updated>

		<published>2013-04-04T16:10:50+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8341&amp;p=25057#p25057</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8341&amp;p=25057#p25057"/>
		<title type="html"><![CDATA[Re: USBaspLoader suggestion]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8341&amp;p=25057#p25057"><![CDATA[
Hallo Spiff.<br /><br />Please take a look into the recent version of USBaspLoader at <!-- m --><a class="postlink" href="https://github.com/baerwolf/USBaspLoader">https://github.com/baerwolf/USBaspLoader</a><!-- m -->.<br /><br />There you have multiple options (<!-- m --><a class="postlink" href="https://github.com/baerwolf/USBaspLoader/blob/master/firmware/bootloaderconfig.h">https://github.com/baerwolf/USBaspLoade ... erconfig.h</a><!-- m -->):<br /><br />A) switch off (see <!-- m --><a class="postlink" href="https://github.com/baerwolf/USBaspLoader/blob/master/Makefile.inc">https://github.com/baerwolf/USBaspLoade ... kefile.inc</a><!-- m -->) bootloader_exit  via &quot;CONFIG_NO__BOOTLOADER_CAN_EXIT&quot;<br /><br />B) Use the buttonswitch logic for bootloader condition (instead jumper logic):<br />(from <!-- m --><a class="postlink" href="https://github.com/baerwolf/USBaspLoader/blob/master/Schematics.txt">https://github.com/baerwolf/USBaspLoade ... matics.txt</a><!-- m -->)<br /><br />The bootloader bootup logic has changed a little bit, compared to the<br />original JUMPER-logic within original USBaspLoader 2010-07-27.<br />However most of the new logic is compatible with old JUMPER schematics:<br /><br />When RESET/PowerUP while BUTTON is pressed (PIN12 is low), then bootloader<br />will start. Even if the BUTTON is release after this and PIN12 becomes HIGH,<br />the bootloader stays active and listens to commands as long as the BUTTON<br />will be pressed (and so PIN12 becomes low) again...<br /><br />If the BUTTON is NOT pressed at RESET/PowerUP, or pressed again while<br />in bootloader, the user defined firmware is started.<br /><br />Best regards, <br />  matrixstorm<p>Statistics: Posted by Guest — Thu Apr 04, 2013 4:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spiff]]></name></author>
		<updated>2013-03-10T23:15:54+02:00</updated>

		<published>2013-03-10T23:15:54+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8341&amp;p=24910#p24910</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8341&amp;p=24910#p24910"/>
		<title type="html"><![CDATA[USBaspLoader suggestion]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8341&amp;p=24910#p24910"><![CDATA[
Hello.<br /><br />I have been using USBaspLoader for a couple of my projects over time, and have been quite happy with it. I do have a feature suggestion, though:<br /><br />I usually do not have a jumper to trigger the boot loader. Instead I use some combination of buttons (usually already on the device), that must be held down while plugging in the device, in order to enter the boot loader.<br /><br />For instance I have recently been playing with my C64key project, and built a USBaspLoader that is triggered by holding RUN/STOP and RESTORE (this combination seemed appropriate  <img class="smilies" src="./../../../images/smilies/icon_smile.gif" alt=":)" title="Smile" />  ) while plugging in the keyboard. I struggled a while getting the BootLoaderCondition right, but even when that worked, and the boot loader was detected by my PC, I could not make it work. Then I found a document I had written about the changes I made to USBaspLoader, to make it work with my SpiffChorder. I had to make a change in main.c, so that the main while loop would not look at BootLoaderCondition().<br /><br />The reason is obviously that I use one or more buttons, but the BootLoaderCondition is only true during startup (i.e. when plugging in the device).<br /><br />So my feature request is: Add a compile-time option (in bootloaderconfig.h) that can change the main while loop to while(1) instead of while(BootLoaderCondition()). This would be nice for everyone who uses a button instead of a jumper to trigger the bootloader, since all changes can then be done in bootloaderconfig.h.<br /><br />/Spiff<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=226">spiff</a> — Sun Mar 10, 2013 11:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
