<?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; Forum: Development - Recent Posts</title>
		<link>http://forums.leaflabs.com/forum.php?id=10</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:01:26 +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?forum=10" rel="self" type="application/rss+xml" />

		<item>
			<title>denis4inet on "Port NuttX on Maple and Mini"</title>
			<link>http://forums.leaflabs.com/topic.php?id=13377#post-105821</link>
			<pubDate>Wed, 06 Jan 2016 14:53:49 +0000</pubDate>
			<dc:creator>denis4inet</dc:creator>
			<guid isPermaLink="false">105821@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@librae8226, I flashed latest nuttx using contributed by you maple sample config with small changes &#34;maple/usbnsh&#34; (&#60;a href=&#34;http://pastebin.com/7DTsw1Xn)&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/7DTsw1Xn)&#60;/a&#62;. But USB still doesn't work.&#60;/p&#62;
&#60;p&#62;Host system: ArchLnux x64. lsusb and dmesg hasn't any information about new USB device. I'm slightly familiar with the usb programming. But several years ago I was playing with libusb. But it is all my experience which is connected with USB.&#60;/p&#62;
&#60;p&#62;Could you help me?!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rei Vilo on "embedXcode — Embedded Computing with Xcode"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1593&amp;page=6#post-105782</link>
			<pubDate>Sun, 27 Sep 2015 05:55:55 +0000</pubDate>
			<dc:creator>Rei Vilo</dc:creator>
			<guid isPermaLink="false">105782@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;New release 3.0 of embedXcode supports and runs on Xcode 7 with Mac OS X 10.10.&#60;/p&#62;
&#60;p&#62;Release 3.0.1 improves the stability of the installation process. Release 3.0.2 fixes two bugs for Arduino Due and LaunchPad CC3200. Release 3.0.3 fixes a bug for mbed.&#60;/p&#62;
&#60;p&#62;[url=http://embedxcode.weebly.com/download.html]Download[/url]
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Oak FPGA Toolchain"</title>
			<link>http://forums.leaflabs.com/topic.php?id=62&amp;page=5#post-105766</link>
			<pubDate>Thu, 06 Aug 2015 04:58:12 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105766@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;@mian2zi3 - Sorry for the slow response, and big thanks to you and Clifford Wolf for the wonderful work, and you for the Update.&#60;/p&#62;
&#60;p&#62;I had pretty much assumed there wouldn't be an Open Source FPGA toolchain in the near future, so this is a very pleasant surprise.&#60;/p&#62;
&#60;p&#62;Even better, the &#60;a href=&#34;http://www.latticesemi.com/icestick&#34;&#62;iCEstick Evaluation Kit&#60;/a&#62; FPGA development hardware is quite reasonably priced, with &#60;a href=&#34;http://www.latticestore.com/searchresults/tabid/463/searchid/1/searchvalue/ice40hx1k-stick-evn/default.aspx&#34;&#62;Lattice selling it at $21.86&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;For anyone interested, I did a quick check, and it is available in the UK at:&#60;br /&#62;
&#60;a href=&#34;http://uk.mouser.com/ProductDetail/Lattice/ICE40HX1K-STICK-EVN/?qs=%2fha2pyFadugY4woXwsBFcG4ricvRE8gsBJ8rWqbssc4%3d&#34;&#62;Mouser UK for £14.54+VAT&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://uk.farnell.com/lattice-semiconductor/ice40hx1k-stick-evn/ice40-hx1k-icestick-eval-kit/dp/2355207?ost=iCEstick&#34;&#62;Farnell UK for £19.22+VAT&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you very much for the Update.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mian2zi3 on "Oak FPGA Toolchain"</title>
			<link>http://forums.leaflabs.com/topic.php?id=62&amp;page=5#post-105764</link>
			<pubDate>Sun, 26 Jul 2015 22:57:58 +0000</pubDate>
			<dc:creator>mian2zi3</dc:creator>
			<guid isPermaLink="false">105764@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This isn't directly relevant to Oak, but my be interesting in the larger context of the conversation.  There is now a complete, open source, Verilog-to-bitstream toochain for one family of FPGAs, the Lattice iCE40.  Reverse engineering and tools to generate bistreams was done by the IceStorm project.  Yosys is an open source Verilog synthesis tool.  (Both done by Clifford Wolf.)  I wrote a place and route tool (simulated annealing placement with multi-pass congestion aware routing) targeting IceStorm and the iCE40.  Here are some links:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.clifford.at/icestorm/&#34; rel=&#34;nofollow&#34;&#62;http://www.clifford.at/icestorm/&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;https://github.com/cseed/arachne-pnr&#34; rel=&#34;nofollow&#34;&#62;https://github.com/cseed/arachne-pnr&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.clifford.at/yosys/&#34; rel=&#34;nofollow&#34;&#62;http://www.clifford.at/yosys/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>moskrc on "Installing on OSX 10.10.1 Yosemite"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74411#post-105644</link>
			<pubDate>Tue, 27 Jan 2015 15:19:31 +0000</pubDate>
			<dc:creator>moskrc</dc:creator>
			<guid isPermaLink="false">105644@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you very much!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rogerclark on "Installing on OSX 10.10.1 Yosemite"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74411#post-105638</link>
			<pubDate>Sun, 25 Jan 2015 17:05:09 +0000</pubDate>
			<dc:creator>rogerclark</dc:creator>
			<guid isPermaLink="false">105638@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Why are you compiling lib maple on its own.  &#60;/p&#62;
&#60;p&#62;Is there any reason you are not just using the Arduino IDE  ??&#60;/p&#62;
&#60;p&#62;See &#60;a href=&#34;http://forum.arduino.cc/index.php?topic=265904.0&#34; rel=&#34;nofollow&#34;&#62;http://forum.arduino.cc/index.php?topic=265904.0&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>moskrc on "Installing on OSX 10.10.1 Yosemite"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74411#post-105634</link>
			<pubDate>Sun, 25 Jan 2015 14:23:37 +0000</pubDate>
			<dc:creator>moskrc</dc:creator>
			<guid isPermaLink="false">105634@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have a problem with 'make',&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/libmaple/issues/106&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/issues/106&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;vit@myhost ~/projects/electronics/libmaple $ make&#60;br /&#62;
make: arm-none-eabi-gcc: Command not found&#60;br /&#62;
make: arm-none-eabi-gcc: Command not found&#60;br /&#62;
================================================================================&#60;/p&#62;
&#60;p&#62;  Build info:&#60;br /&#62;
     BOARD:           maple_mini&#60;br /&#62;
     MCU:             STM32F103CB&#60;br /&#62;
     MEMORY_TARGET:   flash&#60;/p&#62;
&#60;p&#62;  See 'make help' for all possible targets&#60;/p&#62;
&#60;p&#62;================================================================================&#60;/p&#62;
&#60;p&#62;  [CC]        ./libmaple/adc.c&#60;br /&#62;
arm-none-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory&#60;br /&#62;
make: *** [build/./libmaple/adc.o] Error 1&#60;br /&#62;
vit@myhost ~/projects/electronics/libmaple $&#60;br /&#62;
vit@myhost ~/projects/electronics/libmaple $ arm-none-eabi-gcc&#60;br /&#62;
arm-none-eabi-gcc: no input files&#60;br /&#62;
vit@myhost ~/projects/electronics/libmaple $ cc1&#60;br /&#62;
-bash: cc1: command not found&#60;br /&#62;
vit@myhost ~/projects/electronics/libmaple $ cc&#60;br /&#62;
clang: error: no input files&#60;br /&#62;
vit@myhost ~/projects/electronics/libmaple $&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bobc on "Why does Flash build not use all of RAM?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74405#post-105605</link>
			<pubDate>Sun, 04 Jan 2015 17:49:36 +0000</pubDate>
			<dc:creator>bobc</dc:creator>
			<guid isPermaLink="false">105605@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Sure, that makes sense for a RAM build, the bootloader must load it into RAM while the bootloader is running.&#60;/p&#62;
&#60;p&#62;I can't see why a Flash build would need the same behaviour though.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Why does Flash build not use all of RAM?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74405#post-105604</link>
			<pubDate>Sun, 04 Jan 2015 14:16:54 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105604@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have a &#60;em&#62;very vague&#60;/em&#62; recollection that reserving some RAM allowed the bootloader to be triggered by a reset, without disturbing a program loaded into RAM. So that RAM-resident program could be reentered repeatedly via a reset to the bootloader. &#60;/p&#62;
&#60;p&#62;But I can't find any reference that look familiar enough to explain why I think that, so I may be wrong.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bobc on "Why does Flash build not use all of RAM?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74405#post-105602</link>
			<pubDate>Sun, 04 Jan 2015 06:55:18 +0000</pubDate>
			<dc:creator>bobc</dc:creator>
			<guid isPermaLink="false">105602@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I'm working on port of libmaple into Arduino 1.5.x IDE environment. This is going quite well, but there is one question I am puzzling over.&#60;/p&#62;
&#60;p&#62;Namely, in the link script (e.g. mem-flash.inc), the first part of RAM (0xC00 bytes) is reserved (presumably for the bootloader). I don't see why this is necessary, the bootloader and application will always initialise RAM in their startup code, and as far as I can see there is no communication between bootloader and application via RAM that would need RAM contents to be preserved.&#60;/p&#62;
&#60;p&#62;Perhaps there is a reason somewhere I haven't spotted, but I will try changing it to see what happens.&#60;/p&#62;
&#60;p&#62;I'd also like to reduce the amount of Flash used by the bootloader, but that is another topic!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bobc on "Custom build not starting after reset"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74384#post-105596</link>
			<pubDate>Thu, 01 Jan 2015 08:29:29 +0000</pubDate>
			<dc:creator>bobc</dc:creator>
			<guid isPermaLink="false">105596@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Here is my proposed workaround without changing the bootloader. Change common.inc as follows:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/*
     * .data
     */
    .data :
      {
        __data_start__ = .;
      	LONG(0)
        . = ALIGN(8);

        *(.got.plt) *(.got)
        *(.data .data.* .gnu.linkonce.d.*)

        . = ALIGN(8);
        __data_end__ = .;
      } &#38;gt; REGION_DATA AT&#38;gt; REGION_RODATA&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This ensures that the first word in RAM of Flash build is zero.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bobc on "Custom build not starting after reset"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74384#post-105595</link>
			<pubDate>Wed, 31 Dec 2014 16:25:17 +0000</pubDate>
			<dc:creator>bobc</dc:creator>
			<guid isPermaLink="false">105595@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I notice that in one of the maple-bootloader forks this fix has been applied &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/chrismerck/maple-bootloader/commit/b6b45b6234dad20eda8e89a46ce7d5f825992195&#34; rel=&#34;nofollow&#34;&#62;https://github.com/chrismerck/maple-bootloader/commit/b6b45b6234dad20eda8e89a46ce7d5f825992195&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;which just disables jump to RAM. I must admit RAM builds are not a feature I ever use on embedded targets, but I guess some people might want to use it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bobc on "Custom build not starting after reset"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74384#post-105594</link>
			<pubDate>Wed, 31 Dec 2014 16:15:48 +0000</pubDate>
			<dc:creator>bobc</dc:creator>
			<guid isPermaLink="false">105594@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi, I had exactly the same problem, and I think I have now got to the bottom of it.&#60;/p&#62;
&#60;p&#62;The Maple bootloader has a rather simple way of checking if a RAM download is present. At startup it checks a single location in RAM for a value that matches a RAM address. The assumption is that a RAM build will have the vector table at start of RAM, and the vector table is basically a list of address.&#60;/p&#62;
&#60;p&#62;Unfortunately, a Flash build can also have an address at the start of RAM, depending on how the linker allocates RAM. So the bootloader sees what it thinks is the vector table and jumps to RAM instead of Flash. OOPS!&#60;/p&#62;
&#60;p&#62;Modifying the bootloader to be more robust could be done, but in our case we want to be able to support existing bootloaders in the field, rather than have users update their bootloaders.&#60;/p&#62;
&#60;p&#62;Therefore I think that changing the Flash build to put a zero word in the magic location will enable the bootloader to work correctly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jonatan.olofsson on "Custom build not starting after reset"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74384#post-105566</link>
			<pubDate>Tue, 28 Oct 2014 14:10:32 +0000</pubDate>
			<dc:creator>jonatan.olofsson</dc:creator>
			<guid isPermaLink="false">105566@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;For future reference; Linking with the object files instead of libmaple.a solved the issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jonatan.olofsson on "Anyone using libmaple.a?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74382#post-105565</link>
			<pubDate>Tue, 28 Oct 2014 14:09:06 +0000</pubDate>
			<dc:creator>jonatan.olofsson</dc:creator>
			<guid isPermaLink="false">105565@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks, gbulmer,&#60;/p&#62;
&#60;p&#62;Great advices, it was of much use.&#60;/p&#62;
&#60;p&#62;I did, indeed, use just a &#34;blink&#34; program. In the end, I had to ditch building/linking with libmaple.a, as it seems too much was stripped away by the linker if linked with the library.. Fortunately, this was trivial with my tup setup, so once I decided for that, it worked right away!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
