<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум Guardant &mdash; Загрузка кода в ключ]]></title>
		<link>https://forum.guardant.ru/topic/205/</link>
		<atom:link href="https://forum.guardant.ru/feed/rss/topic/205" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Загрузка кода в ключ».]]></description>
		<lastBuildDate>Tue, 11 Sep 2012 13:59:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Загрузка кода в ключ]]></title>
			<link>https://forum.guardant.ru/post/1035/#p1035</link>
			<description><![CDATA[<p>Здравствуйте.<br /></p><div class="quotebox"><cite>Jungle пишет:</cite><blockquote><p>Пытаюсь загрузить код в ключ Code Time. При импорте bin-файла возникает ошибка<br /></p><div class="codebox"><pre><code>---------------------------
Ошибка!
---------------------------
Ошибка загрузки файла с кодом в образ
---------------------------
ОК   
---------------------------</code></pre></div><p>Не очень информативно. Как узнать причину?</p></blockquote></div><p>Уточните, пожалуйста, загружаемый bin-файл это самостоятельно написанный модуль или, например, стандартный отладочный?<br />Если это подготовленный вами для загрузки в ключ код, то пришлите нам на почту (hotline@guardant.ru) любой тестовый bin-файл при загрузке которого воспроизводится указанная ошибка.</p>]]></description>
			<author><![CDATA[null@example.com (Антон Тихиенко)]]></author>
			<pubDate>Tue, 11 Sep 2012 13:59:55 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/1035/#p1035</guid>
		</item>
		<item>
			<title><![CDATA[Re: Загрузка кода в ключ]]></title>
			<link>https://forum.guardant.ru/post/1033/#p1033</link>
			<description><![CDATA[<p>Пытаюсь загрузить код в ключ Code Time. При импорте bin-файла возникает ошибка<br /></p><div class="codebox"><pre><code>---------------------------
Ошибка!
---------------------------
Ошибка загрузки файла с кодом в образ
---------------------------
ОК   
---------------------------</code></pre></div><p>Не очень информативно. Как узнать причину?</p>]]></description>
			<author><![CDATA[null@example.com (Jungle)]]></author>
			<pubDate>Tue, 11 Sep 2012 12:27:15 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/1033/#p1033</guid>
		</item>
		<item>
			<title><![CDATA[Re: Загрузка кода в ключ]]></title>
			<link>https://forum.guardant.ru/post/1002/#p1002</link>
			<description><![CDATA[<p>Совершенно верно. Подробнее об этом можно узнать в нашей краткой <a href="https://www.guardant.ru/download/manual/info_Guardant_Code_NG.pdf">инструкции по миграции</a>.</p>]]></description>
			<author><![CDATA[null@example.com (Кирилл Ковлежов)]]></author>
			<pubDate>Tue, 14 Aug 2012 07:53:53 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/1002/#p1002</guid>
		</item>
		<item>
			<title><![CDATA[Re: Загрузка кода в ключ]]></title>
			<link>https://forum.guardant.ru/post/1001/#p1001</link>
			<description><![CDATA[<p>Такая ошибка бывает, когда в ключ нового поколения пытаются загрузить код, скомпилированый для ключей старого поколения. Или наоборот.</p>]]></description>
			<author><![CDATA[null@example.com (romik)]]></author>
			<pubDate>Tue, 14 Aug 2012 03:21:28 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/1001/#p1001</guid>
		</item>
		<item>
			<title><![CDATA[Загрузка кода в ключ]]></title>
			<link>https://forum.guardant.ru/post/1000/#p1000</link>
			<description><![CDATA[<p>Здравствуйте, когда пытаюсь записать код на ключ все время вылетает ошибка </p><p><strong>Процессор: Intel(R) Core(TM) i7 CPU X 990 @ 3.47GHz<br />Материнская плата: Gigabyte Technology Co., Ltd. G1.Sniper<br />Операционная система: Microsoft Windows 7 Ultimate Edition Service Pack 1 (Build 7601) (X64)<br />Версия драйвера Guardant: 6.00.101<br />Версия комплекта разработчика: 6.00 (Релиз: 07.06.2012) </strong></p><p><span style="color:blue">WinARM был скачен с: <a href="http://www.siwawi.arubi.uni_kl.de/avr_projects/arm_projects/WinARM_20060606.zip">http://www.siwawi.arubi.uni_kl.de/avr_p … 060606.zip</a> (guardant_code_old.pdf)</span><br /><strong><br /># ------------------------------------------------------------------------------<br /># Main Configuration<br /># ------------------------------------------------------------------------------<br /># If you modified this section, you must call &quot;make template&quot;!<br /># C-code entry point name:<br />CFG_ENTRYPOINT_NAME&nbsp; &nbsp; &nbsp; = main<br /># ROM configuration:<br />CFG_PROGRAM_ADDR&nbsp; &nbsp; &nbsp; &nbsp; = 0x00020000<br />CFG_PROGRAM_SIZE&nbsp; &nbsp; &nbsp; &nbsp; = 0x00008000<br /># RAM configuration:<br />CFG_RAM_ADDR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x40003000<br />CFG_RAM_SIZE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x00004FE0<br /># Input-output buffers configuration<br /># PC-&gt;KEY buffer name and size:<br />CFG_INPUT_BUFFER_NAME&nbsp; &nbsp;= iodata<br />CFG_INPUT_BUFFER_SIZE&nbsp; &nbsp;= 0x400<br /># KEY-&gt;PC buffer name and size:<br />CFG_OUTPUT_BUFFER_NAME&nbsp; = iodata<br />CFG_OUTPUT_BUFFER_SIZE&nbsp; = 0x400<br /># Program stack size allocate:<br />CFG_STACK_SIZE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x800<br /># Path of GrdAPI.h and GcaAPI.h files:<br />CFG_INCLUDE_DIR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= ../../../../Include<br /># Path of library:<br />CFG_LIB_DIR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= ../../../../Lib<br /># Path of service utils:<br />CFG_SYS_DIR&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= ../../../../Bin<br /># Output file name:<br />CFG_TARGET_NAME&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= SAMPLE<br /># ------------------------------------------------------------------------------<br /># End Main Configuration<br /># ------------------------------------------------------------------------------</strong></p><p><strong><br /># ------------------------------------------------------------------------------<br /># main.c<br /># ------------------------------------------------------------------------------</strong></p><p><strong>#ifdef __ARM__<br />&nbsp; &nbsp; #include &lt;stdint.h&gt;<br />&nbsp; &nbsp; #define DBG(...)<br />#else<br />&nbsp; &nbsp; #include &lt;stdio.h&gt;<br />&nbsp; &nbsp; #include &lt;windows.h&gt;<br />&nbsp; &nbsp; #define DBG(a ...)&nbsp; &nbsp; printf(a ...)<br />#endif</strong></p><p><strong>#include &quot;GrdAPI.h&quot; <br />#include &quot;GcaAPI.h&quot;</strong></p><p><strong>extern struct<br />{<br />&nbsp; &nbsp; BYTE buffer[1024];<br />} iodata ALIGNED;</strong></p><p><strong>DWORD func1(dwInDataLng, dwOutDataLng)<br />{<br />&nbsp; &nbsp; // Логика работы 1<br />&nbsp; &nbsp; return 101;<br />}<br />DWORD func2(dwInDataLng, dwOutDataLng)<br />{<br />&nbsp; &nbsp; // Логика работы 2<br />&nbsp; &nbsp; return 102;<br />}<br />DWORD func3(dwInDataLng, dwOutDataLng)<br />{<br />&nbsp; &nbsp; // Логика работы 3<br />&nbsp; &nbsp; return 103;<br />}</strong></p><p><strong>DWORD main(DWORD dwInDataLng, DWORD dwOutDataLng, DWORD dwP1)<br />{<br />&nbsp; &nbsp; switch (dwP1)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; case 0x01:<br />&nbsp; &nbsp; &nbsp; &nbsp; return func1(dwInDataLng, dwOutDataLng);<br />&nbsp; &nbsp; case 0x02:<br />&nbsp; &nbsp; &nbsp; &nbsp; return func2(dwInDataLng, dwOutDataLng);<br />&nbsp; &nbsp; case 0x03:<br />&nbsp; &nbsp; &nbsp; &nbsp; return func3(dwInDataLng, dwOutDataLng);<br />&nbsp; &nbsp; case 0x04:<br />&nbsp; &nbsp; &nbsp; &nbsp; // ...<br />&nbsp; &nbsp; default:<br />&nbsp; &nbsp; &nbsp; &nbsp; return -1;<br />&nbsp; &nbsp; }<br />}</strong></p><p>Скрин ошибки</p><p><span class="postimg"><a class="fancybox fancybox.image" rel="group" href="https://forum.guardant.ru/uploads/legacy/0/1000/1000/p174gc9hr9fejqe1sbkasq1hqt1.jpg"><img class="fb_img" src="https://forum.guardant.ru/uploads/legacy/0/1000/1000/thumb/p174gc9hr9fejqe1sbkasq1hqt1.jpg" alt="" /></a></span></p>]]></description>
			<author><![CDATA[null@example.com (BrainIce)]]></author>
			<pubDate>Mon, 13 Aug 2012 16:35:04 +0000</pubDate>
			<guid>https://forum.guardant.ru/post/1000/#p1000</guid>
		</item>
	</channel>
</rss>
