<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Why people say question to free soft ?</title>
		<link>http://forums.leaflabs.com/topic.php?id=941</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=941" rel="self" type="application/rss+xml" />

		<item>
			<title>ianmga on "Why people say question to free soft ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=941#post-6179</link>
			<pubDate>Thu, 01 Sep 2011 17:50:41 +0000</pubDate>
			<dc:creator>ianmga</dc:creator>
			<guid isPermaLink="false">6179@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ohhhhhhh. Makes a lot of sense. Thx Uhrheber
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Why people say question to free soft ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=941#post-5840</link>
			<pubDate>Tue, 02 Aug 2011 12:34:58 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">5840@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This was certainly considered in the beginning. However, a mass storage based approach does not solve the core problem - switching between two different USB device types, CDC/ACM (serial) and DFU (or mass storage as the case may be). We couldnt do compound USB devices because of windows/mac incompatibility issues. &#60;/p&#62;
&#60;p&#62;I think the best option for the future is to have a second chip that presents a single serial port interface that is always on, ala arduino uno. and bootload over serial with the second chip.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Uhrheber on "Why people say question to free soft ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=941#post-5838</link>
			<pubDate>Tue, 02 Aug 2011 09:53:57 +0000</pubDate>
			<dc:creator>Uhrheber</dc:creator>
			<guid isPermaLink="false">5838@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;AFAIK, these mass storage device bootloaders work a little bit different.&#60;br /&#62;
They just pretend to be a disk drive, but in fact they are not.&#60;br /&#62;
They send a fake FAT back to the OS that never changes.&#60;br /&#62;
You can copy a hex file to the drive, but it is actually never written&#60;br /&#62;
to a file system, instead it is parsed and the parsed date is&#60;br /&#62;
written to flash.&#60;br /&#62;
When you read the drive, it shows only a text file with zero bytes length.&#60;br /&#62;
The name of the file show the status (READY.TXT/OK.TXT/ERROR.TXT)&#60;/p&#62;
&#60;p&#62;One example of an implementation is here:&#60;br /&#62;
&#60;a href=&#34;http://www.freescale.com/files/microcontrollers/doc/app_note/AN3927.pdf&#34; rel=&#34;nofollow&#34;&#62;http://www.freescale.com/files/microcontrollers/doc/app_note/AN3927.pdf&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ianmga on "Why people say question to free soft ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=941#post-5833</link>
			<pubDate>Mon, 01 Aug 2011 17:07:03 +0000</pubDate>
			<dc:creator>ianmga</dc:creator>
			<guid isPermaLink="false">5833@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Haaahaaa &#34;after some beer - this forum looks funny&#34;. Hilarious.&#60;/p&#62;
&#60;p&#62;I'm interested in this idea but I have some doubts. How would you find the fw.bin in flash? How do you ensure it's in the memory area that you want? (say, for the interrupt table). How do you ensure that it's a continuous area of memory? (if you're using a regular filesystem on flash there's no guarantee)&#60;/p&#62;
&#60;p&#62; Ian
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "Why people say question to free soft ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=941#post-5803</link>
			<pubDate>Fri, 29 Jul 2011 18:18:26 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">5803@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Some weeks i think about why need special bootloader ?Why not use NXp method as flash = usb disk. Some man try make it but no RTU project for stm32 - only for nxp chip. after 2 weeks i make simplest way to map internal flash to ext disk. copy file with a name fw.bin - it's flash to flash. file with name ramfw.bin to device - copy soft to ran and execute. it's the same as dfu - buy dfu need drivers/ this schema not need any.&#60;/p&#62;
&#60;p&#62;Question to map guru - why you not realize this simplest way (for customer) and use unworking code for bootloader ?&#60;/p&#62;
&#60;p&#62;Second quenstion more difficult&#60;br /&#62;
in all your code you use gpio, pin but in real (if you see disasm) only 2-5 bits used. for code economy (if any knowns it) better use all bits for reduce code size. i say about that enough one u32 for exactly define port and pin.&#60;/p&#62;
&#60;p&#62;May be my q stupid - but with this suggestions i reduce code size from 18KB to 7KB.&#60;/p&#62;
&#60;p&#62;Of course - i undersand than 99% super developers (which no more than only blink a led) say me that this no need.&#60;/p&#62;
&#60;p&#62;After some beer - this forum looks funny&#60;/p&#62;
&#60;p&#62;And my own opinion - 99% prof developers not understand how it works. only beginners read DS and not ask a stupid Q/ i i prefer beginners (who read DS) and not a profi (who ask Q before read).&#60;/p&#62;
&#60;p&#62;This is my opinion and not as not related to Leaflabs
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
