<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:14pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Dear <span>Hċkan</span>,</p>
<p><br>
</p>
<p>using the old TRLOII folder and then recompiling was successfull.</p>
<p><br>
</p>
<p>Should I now give it a try to start the DAQ? Or is there something else I still need to adjust?</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Best greetings</p>
<p>Günter<br>
</p>
<p><br>
</p>
<p><br>
</p>
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> subexp-daq <subexp-daq-bounces@lists.chalmers.se> im Auftrag von Hċkan T Johansson <f96hajo@chalmers.se><br>
<b>Gesendet:</b> Mittwoch, 10. Januar 2024 12:34:26<br>
<b>An:</b> Discuss use of Nurdlib, TRLO II, drasi and UCESB.<br>
<b>Betreff:</b> Re: [subexp-daq] NURDLIB: - how to check which version is installed and how to update to the most recent version</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
Hi Günter,<br>
<br>
On Wed, 10 Jan 2024, Weber, Guenter Dr. wrote:<br>
<br>
> <br>
> Hi folks,<br>
> <br>
> <br>
> the old "./find_firmware.pl" was working. This is the output:<br>
> <br>
> <br>
> a1729cda ../ver/rimfaxe0_trlo/rfx0_defs.h<br>
> 0866c243 ../ver/rimfaxe1_trlo/rfx1_defs.h<br>
> 5e8f5ef4 ../ver/tridi1_trlo/tridi_defs.h<br>
> 6e4ba1a9 ../ver/vulom4_trlo/trlo_defs.h<br>
> 68f8955e ../ver/vulom4_trlo_all_in/trlo_all_in_defs.h<br>
> af33ed35 ../ver/vulom4_trlo_big/trlo_big_defs.h<br>
> 1409285e ../ver/vulom4b_trlo/trlo_defs.h<br>
> d374466d ../fw/tridi1_trlo/tridi_defs.h<br>
> d96ffc88 ../fw/vulom4_trlo/trlo_defs.h<br>
> 5b298165 ../fw/vulom4_trlo_all_in/trlo_all_in_defs.h<br>
> 6f28c0f8 ../fw/vulom4_trlo_big/trlo_big_defs.h<br>
> fa5020ea ../fw/vulom4_trlo_led/trlo_defs.h<br>
> 426cb99c ../fw/vulom4b_trlo/trlo_defs.h<br>
> MKDIR   fw_a1729cda_rfx0  # ../ver/rimfaxe0_trlo/rfx0_defs.h<br>
> SYMLINK fw_a1729cda_rfx0/rfx0_defs.h -> ../../ver/rimfaxe0_trlo/rfx0_defs.h<br>
> MKDIR   fw_0866c243_rfx1  # ../ver/rimfaxe1_trlo/rfx1_defs.h<br>
> SYMLINK fw_0866c243_rfx1/rfx1_defs.h -> ../../ver/rimfaxe1_trlo/rfx1_defs.h<br>
> MKDIR   fw_5e8f5ef4_tridi  # ../ver/tridi1_trlo/tridi_defs.h<br>
> SYMLINK fw_5e8f5ef4_tridi/tridi_defs.h -> ../../ver/tridi1_trlo/tridi_defs.h<br>
> MKDIR   fw_6e4ba1a9_trlo  # ../ver/vulom4_trlo/trlo_defs.h<br>
> SYMLINK fw_6e4ba1a9_trlo/trlo_defs.h -> ../../ver/vulom4_trlo/trlo_defs.h<br>
> SYMLINK fw_1409285e_trlo -> fw_6e4ba1a9_trlo<br>
> MKDIR   fw_68f8955e_trlo_all_in  # ../ver/vulom4_trlo_all_in/trlo_all_in_defs.h<br>
> SYMLINK fw_68f8955e_trlo_all_in/trlo_all_in_defs.h -> ../../ver/vulom4_trlo_all_in/trlo_all_in_defs.h<br>
> MKDIR   fw_af33ed35_trlo_big  # ../ver/vulom4_trlo_big/trlo_big_defs.h<br>
> SYMLINK fw_af33ed35_trlo_big/trlo_big_defs.h -> ../../ver/vulom4_trlo_big/trlo_big_defs.h<br>
> MKDIR   fw_d374466d_tridi  # ../fw/tridi1_trlo/tridi_defs.h<br>
> SYMLINK fw_d374466d_tridi/tridi_defs.h -> ../../fw/tridi1_trlo/tridi_defs.h<br>
> MKDIR   fw_d96ffc88_trlo  # ../fw/vulom4_trlo/trlo_defs.h<br>
> SYMLINK fw_d96ffc88_trlo/trlo_defs.h -> ../../fw/vulom4_trlo/trlo_defs.h<br>
> SYMLINK fw_426cb99c_trlo -> fw_d96ffc88_trlo<br>
> SYMLINK fw_fa5020ea_trlo -> fw_d96ffc88_trlo<br>
> MKDIR   fw_5b298165_trlo_all_in  # ../fw/vulom4_trlo_all_in/trlo_all_in_defs.h<br>
> SYMLINK fw_5b298165_trlo_all_in/trlo_all_in_defs.h -> ../../fw/vulom4_trlo_all_in/trlo_all_in_defs.h<br>
> MKDIR   fw_6f28c0f8_trlo_big  # ../fw/vulom4_trlo_big/trlo_big_defs.h<br>
> SYMLINK fw_6f28c0f8_trlo_big/trlo_big_defs.h -> ../../fw/vulom4_trlo_big/trlo_big_defs.h<br>
> <br>
> However, the compilation did end with an error:<br>
> <br>
> <br>
> make[1]: Entering directory `/LynxOS/mbsusr/mbsdaq/mbsrun/rio4/2024_mcalstruck/trloii/trloctrl/fw_d96ffc88_trlo'<br>
>    CC    bld_ppc-linux_4.2.2/src/trlo_check_version.o<br>
>    CC    bld_ppc-linux_4.2.2/src/trlo_functions.o<br>
> ../trlolib/src/trlo_functions.c: In function 'trlo_clear_config':<br>
> ../trlolib/src/trlo_functions.c:144: error: 'trlo_setup_map' has no member named 'sync_check_start_mux'<br>
> ../trlolib/src/trlo_functions.c:146: error: 'trlo_setup_map' has no member named 'sync_check_stop_mux'<br>
> ../trlolib/src/trlo_functions.c: In function 'trlo_print_config':<br>
> ../trlolib/src/trlo_functions.c:825: error: 'trlo_setup_map' has no member named 'sync_check_start_mux'<br>
> ../trlolib/src/trlo_functions.c:829: error: 'trlo_setup_map' has no member named 'sync_check_stop_mux'<br>
> ../trlolib/src/trlo_functions.c: In function 'trlo_print_trig_status':<br>
> ../trlolib/src/trlo_functions.c:1155: error: 'trlo_output_map' has no member named 'trig_sync_check'<br>
> make[1]: *** [bld_ppc-linux_4.2.2/src/trlo_functions.o] Error 1<br>
> make[1]: Leaving directory `/LynxOS/mbsusr/mbsdaq/mbsrun/rio4/2024_mcalstruck/trloii/trloctrl/fw_d96ffc88_trlo'<br>
> <br>
> make[1]: Entering directory `/LynxOS/mbsusr/mbsdaq/mbsrun/rio4/2024_mcalstruck/trloii/trloctrl/fw_d374466d_tridi'<br>
>    CC    bld_ppc-linux_4.2.2/src/tridi_check_version.o<br>
>    CC    bld_ppc-linux_4.2.2/src/tridi_functions.o<br>
> ../trlolib/src/trlo_functions.c: In function 'tridi_clear_config':<br>
> ../trlolib/src/trlo_functions.c:144: error: 'tridi_setup_map' has no member named 'sync_check_start_mux'<br>
> ../trlolib/src/trlo_functions.c:146: error: 'tridi_setup_map' has no member named 'sync_check_stop_mux'<br>
> ../trlolib/src/trlo_functions.c: In function 'tridi_print_config':<br>
> ../trlolib/src/trlo_functions.c:825: error: 'tridi_setup_map' has no member named 'sync_check_start_mux'<br>
> ../trlolib/src/trlo_functions.c:829: error: 'tridi_setup_map' has no member named 'sync_check_stop_mux'<br>
> ../trlolib/src/trlo_functions.c: In function 'tridi_print_trig_status':<br>
> ../trlolib/src/trlo_functions.c:1155: error: 'tridi_output_map' has no member named 'trig_sync_check'<br>
> make[1]: *** [bld_ppc-linux_4.2.2/src/tridi_functions.o] Error 1<br>
> make[1]: Leaving directory `/LynxOS/mbsusr/mbsdaq/mbsrun/rio4/2024_mcalstruck/trloii/trloctrl/fw_d374466d_tridi'<br>
> make: *** [fw_d374466d_tridi_build] Error 2<br>
<br>
That's what I feared.  The new code want something (sync_check_...) not in <br>
the older firmware...<br>
<br>
> The fallback option is now to delete the new TRLOII folder and replace it with old one and then repeat the following steps?<br>
> <br>
> <br>
> cd trloii<br>
> make clean<br>
> make<br>
> cd trloctrl<br>
> make fw_d96ffc88_trlo_build<br>
>  make fw_d374466d_tridi_build<br>
> <br>
> <br>
> Is this correct?<br>
<br>
Yes.<br>
<br>
There should then already be the trloii/fw/ directory, and the links that <br>
are created by find_firmware.pl<br>
<br>
<br>
> I also looked for the "--addr=" and this is the result:<br>
<br>
> ...<br>
<br>
Ok.  I was too optimistic here.  I looked through the grep results, but <br>
nothing obvious.  Should be figurable by checking the old scripts and <br>
following them around.  Is a good way to see how things are done anyhow ;)<br>
<br>
Cheers,<br>
Hċkan<br>
<br>
<br>
> <br>
> <br>
> <br>
> Best greetings<br>
> <br>
> Günter<br>
</div>
</span></font>
</body>
</html>