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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-07-03T08:40:45+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-07-03T08:40:45+02:00</updated>

		<published>2011-07-03T08:40:45+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18865#p18865</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18865#p18865"/>
		<title type="html"><![CDATA[Re: usbasploader not erasing flash]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18865#p18865"><![CDATA[
how did you compile it? you must enable HAVE_CHIP_ERASE and disable NO_FLASH_WRITE<p>Statistics: Posted by Guest — Sun Jul 03, 2011 8:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2011-07-03T08:38:39+02:00</updated>

		<published>2011-07-03T08:38:39+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18864#p18864</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18864#p18864"/>
		<title type="html"><![CDATA[Re: usbasploader not erasing flash]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18864#p18864"><![CDATA[
just read the usbasploader source code, there's nothing in there that does a simple erase<p>Statistics: Posted by Guest — Sun Jul 03, 2011 8:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sbm]]></name></author>
		<updated>2011-06-27T16:48:59+02:00</updated>

		<published>2011-06-27T16:48:59+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18815#p18815</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18815#p18815"/>
		<title type="html"><![CDATA[usbasploader not erasing flash]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5776&amp;p=18815#p18815"><![CDATA[
I have been using usbasploader with avrdude on linux for a good while now.  But I have noticed that the -e &quot;erase flash&quot; option does not work. <br /><br />sudo avrdude -c usbasp -p atmega328p -e<br /><br />avrdude: warning: cannot set sck period. please check for usbasp firmware update.<br />avrdude: AVR device initialized and ready to accept instructions<br /><br />Reading | ################################################## | 100% 0.01s<br /><br />avrdude: Device signature = 0x1e950f<br />avrdude: erasing chip<br />avrdude: warning: cannot set sck period. please check for usbasp firmware update.<br /><br />avrdude: safemode: Fuses OK<br /><br />avrdude done.  Thank you.<br /><br /><br />After the alleged erase operation, the application still runs on the chip.  I also think this is causing problems during programming as the chip I do not think is being erase before flashing.  This is particularly a problem when flashing a program smaller than the one currently loaded.  <br /><br />Does anyone know if there is a fix?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5317">sbm</a> — Mon Jun 27, 2011 4:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
