<?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: start, keil uVision, coocox, 0x08005000, *. bin *. hex</title>
		<link>http://forums.leaflabs.com/topic.php?id=74358</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:04:34 +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=74358" rel="self" type="application/rss+xml" />

		<item>
			<title>ldb on "start, keil uVision, coocox, 0x08005000, *. bin *. hex"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74358#post-105455</link>
			<pubDate>Wed, 25 Jun 2014 08:55:02 +0000</pubDate>
			<dc:creator>ldb</dc:creator>
			<guid isPermaLink="false">105455@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;google traslator:&#60;/p&#62;
&#60;p&#62;google bites here: starting; beginner, keil uVision, coocox, 0x08005000. *. Bin *. Hex&#60;/p&#62;
&#60;p&#62;I bought 2 mini maples, seems to work fine, but I do not like wiring.&#60;br /&#62;
the arduino is a toy, and I hope more of stm32, and I want total control.&#60;br /&#62;
I do not despise arduino development.&#60;/p&#62;
&#60;p&#62;use winXP, sorry, I prefer to use keil, but it was very difficult to start.&#60;/p&#62;
&#60;p&#62;problems:&#60;/p&#62;
&#60;p&#62;1, part of the IDE that makes it is upload dfu-util.exe the magic words from the console are:&#60;br /&#62;
 &#60;br /&#62;
C:\Doc,,, native\maple\maple-ide-12-XP32\hardware\tools\arm\bin&#38;gt; dfu-util -d -a1 1EAF:0003 -D Project.bin -R &#60;/p&#62;
&#60;p&#62;2, the keil NOT work, disassembles one of IDE, and other keil with:&#60;br /&#62;
arm-none-eabi-objdump-h-S kk.cpp.elf&#38;gt; kk.lst&#60;/p&#62;
&#60;p&#62;we see that the problem is that you start at 0x08005000, 0x08000000 and another.&#60;br /&#62;
already commented on here, I need the charger, and RAM.&#60;/p&#62;
&#60;p&#62;I test with cocox. trick enables him home, this fails to keil. its &#34;bin&#34; works.&#60;/p&#62;
&#60;p&#62;3 cocox generated. Bin. Hex. Elf.&#60;br /&#62;
dfu-util saw that swallows everything, but only the bin function.&#60;/p&#62;
&#60;p&#62;to convert hex to bin hex2bin.exe use.&#60;/p&#62;
&#60;p&#62;4 to work with keil, create a souped stm in file-&#38;gt; device database, copying and changing the 103cb and change to 0x20000C00 0x08005000.&#60;br /&#62;
in 8005000 is generated, and work, but not the simulator.&#60;br /&#62;
the .h changing probe, but did not work.&#60;/p&#62;
&#60;p&#62;until I came here, certainly can be improved.&#60;/p&#62;
&#60;p&#62;-----&#60;br /&#62;
the hex2bin do in automatic, keil -&#38;gt; settings -&#38;gt; user. &#60;/p&#62;
&#60;p&#62;logically, the charger will soft start, and take control, you will not be able to flash in automatic.&#60;/p&#62;
&#60;p&#62;-------------&#60;br /&#62;
inicio, keil uvision, coocox, 0x08005000, *.bin *.hex&#60;/p&#62;
&#60;p&#62;google muerde aqui:  maple mini, iniciando; beginner, keil uvision, coocox, 0x08005000.  *.bin *.hex&#60;/p&#62;
&#60;p&#62;yo compre 2 mini maples, parece que funcionan bien, pero no me gusta wiring,  el arduino es un jugete, y espero mas de un stm32, y yo quiero el control total.&#60;br /&#62;
yo no desprecio el desarrollo de arduino. &#60;/p&#62;
&#60;p&#62;uso winXP, lo siento, prefiero usar keil, pero me fue muy dificil arrancar. &#60;/p&#62;
&#60;p&#62;problemas: &#60;/p&#62;
&#60;p&#62;1º, la parte del IDE que hace upload es dfu-util.exe las palabras magicas desde la consola son:&#60;/p&#62;
&#60;p&#62;C:\Doc,,,orio\maple\maple-ide-12-xp32\hardware\tools\arm\bin&#38;gt;dfu-util  -a1 -d 1EAF:0003 -D Project.bin   -R &#60;/p&#62;
&#60;p&#62;2º, NO funcionan los keil, se desensambla uno de IDE, y otro de keil, con:&#60;br /&#62;
arm-none-eabi-objdump -h -S kk.cpp.elf &#38;gt; kk.lst&#60;/p&#62;
&#60;p&#62;se ve que el problema esta en que uno empieza en 0x08005000, y otro en 0x08000000.&#60;br /&#62;
ya muy comentado por aqui, lo necesita el cargador, y RAM. &#60;/p&#62;
&#60;p&#62;yo probe con cocox. él permite truco de inicio, esto falla en keil. su &#34;bin&#34; funciona.&#60;/p&#62;
&#60;p&#62;3º cocox genera .bin .hex .elf.&#60;br /&#62;
comprobe que dfu-util traga todo, pero solo funcionan los bin. &#60;/p&#62;
&#60;p&#62;para convertir hex a bin usar hex2bin. &#60;/p&#62;
&#60;p&#62;4º para trabajar con keil, cree un stm trucado, en file-&#38;gt; device database, copiando el 103cb y cambiando a 0x08005000 y 0x20000C00.&#60;br /&#62;
asi genera en 8005000,  y funcionan, pero no el simulador.&#60;br /&#62;
probe cambiando los.h, pero no funciono. &#60;/p&#62;
&#60;p&#62;el hex2bin se puede hacer en automatico, keil -&#38;gt; configuracion -&#38;gt;user. &#60;/p&#62;
&#60;p&#62;logicamente, al iniciarse le cargador por soft, y tomar el control, no se podra flasear en automatico. &#60;/p&#62;
&#60;p&#62;hasta aqui he llegado, seguro que se puede mejorar.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
