<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm working with Manuel, he's out for lunch right now.<br>
<br>
We've checked out libmc1323 git, not the contiki branches. But seeing
both, the only difference is the TARGET_WITH_ROM_VARS variable.<br>
<br>
We came to this point because when using TARGET_WITH_ROM_VARS blink_led
wasn't working properly. So,<br>
we found out that the single line:<br>
<br>
<font face="Courier New, Courier, monospace">bl _rom_data_init+.-base</font><br>
<br>
is preventing our mc13224 from running.<br>
<br>
In the contiki branch, this line is allways being executed, and that's
why it does not work.<br>
In the libmc1323 branch, there is the option of disabling it if we
don't set TARGET_WITH_ROM_VARS, and that's why<br>
we are able to run some examples (blink, uart loopback..)<br>
<br>
El 15/04/2010 12:57, Mariano Alvira escribió:
<blockquote cite="mid:20100415105713.GB11840@devl.org" type="cite">
<pre wrap="">On Thu, Apr 15, 2010 at 12:36:01PM +0200, Manuel Macías wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi!
As I commented in other mails I was working in contiki examples and I
couldn´t get them working. I´ve been looking for the error during
several weeks, and I realized while trying to work rf-test (libmc1322)
that the problem is about ROM patching. When the example has to use ROM
VARS, it doesn´t work. The concrete instruction that makes it get
stalled is
#ifdef USE_ROM_VARS
bl _rom_data_init+.-base
#endif
The address of the jump instruction is:
.set base, .
.set _rom_data_init, 0x108d0
I´m using freescale 1322xSRB motes. Any idea of how to fix this, or
where can I find info of that address?
</pre>
</blockquote>
<pre wrap="">
Ok, this is odd. I believe this use to be a problem a while ago... I'm
not sure why you are seeing it now.
rom_data_init is a ROM function that initializes ROM variables
allocated here:
.org 0x120
ROM_var_start: .word 0
.org 0x7ff
ROM_var_end: .word 0
in start.S.
In the versions of start.S in the branches that work right now,
(mc1322x-2.4 and WIP-2.4), there the line you sent is simply
bl _rom_data_init+.-base        
and not
#ifdef USE_ROM_VARS
bl _rom_data_init+.-base
#endif
Can you veryify for me what you have checked out?
-Mar.
_______________________________________________
mc1322x mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mc1322x@devl.org">mc1322x@devl.org</a>
<a class="moz-txt-link-freetext" href="http://devl.org/cgi-bin/mailman/listinfo/mc1322x">http://devl.org/cgi-bin/mailman/listinfo/mc1322x</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<table style="border: 1px solid rgb(231, 231, 212);" width="450"
border="1" cellpadding="1" cellspacing="1" height="160">
<tbody>
<tr>
</tr>
<tr>
<td width="100" align="center" bgcolor="#fafaf3"><img
src="cid:part1.00050508.07040709@gie.esi.us.es" alt="" width="180"
height="72"></td>
<td
style="padding-left: 12px; font-family: Helvetica; font-size: 12px; line-height: 15px;"
width="300" bgcolor="#ffffff"><font color="#ffffff"><big><b><font
color="#3333ff">José Joaquín Cabezas Rodríguez </font> </b></big> </font><br>
<font color="#3366ff"><a class="moz-txt-link-abbreviated" href="mailto:joaquin.cabezas@gie.esi.us.es">joaquin.cabezas@gie.esi.us.es</a></font><br>
<font color="#666666"><strong>Grupo de Ingeniería
Electrónica</strong> </font><i><br>
</i>
<div style="color: rgb(102, 102, 102); font-style: italic;"><strong><i>Departamento
de
Ingeniería Electrónica</i><br>
</strong></div>
<div
style="color: rgb(153, 153, 153); font-size: 11px; line-height: 14px;">Tfno:
<big>+34 954485966<br>
</big>Fax: <big>+34 954487373</big><br>
</div>
<div style="height: 8px; line-height: 8px;"> </div>
<div
style="color: rgb(89, 75, 56); font-size: 11px; line-height: 14px;">Escuela
Superior
de Ingenieros<br>
</div>
<div
style="color: rgb(89, 75, 56); font-size: 11px; line-height: 14px;">Universidad
de
Sevilla<br>
</div>
<div
style="color: rgb(89, 75, 56); font-size: 11px; line-height: 14px;">Camino
de
los Descubrimientos s/n<br>
</div>
<div
style="color: rgb(89, 75, 56); font-size: 11px; line-height: 14px;">Isla
de
la Cartuja 41092
Sevilla</div>
</td>
</tr>
</tbody>
</table>
<br>
</div>
</body>
</html>