<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">I now installed the Mercury on slot J5, Ozy on J2 (no other boards installed on the Atlas board). I ran the same command with Ozy_Janus_V28.rbf file. If I run the command a few times, the D3 through D8 LEDs on Mercury all get turned on. D9 and D10 are blinking.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Also the outputs printed out is different this time (not as many Zeros's in the output): <<a href="https://gist.github.com/vu3rdd/9322e7bfae36f0b6d5787ff42f27fa93">https://gist.github.com/vu3rdd/9322e7bfae36f0b6d5787ff42f27fa93</a>></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">As you can see at around line number 324 and 325, it prints the versions as:</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">  Mercury Software version: 33 (0x21)</div><div class="gmail_default" style="font-family:monospace,monospace">Ozy Software version: 28 (0x1C)</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">After a few seconds, the LEDs D4 through D8 turns off. The hpsdr-server still dies though.. with this message:</div><div class="gmail_default" style="font-family:monospace,monospace">[...]</div><div class="gmail_default" style="font-family:monospace,monospace">  [01E0] 0001100000000000 0001100000000000<br>  [01F0] 00061C0000000000 00061C0000000000<br><br>ozy_ep4_io_thread: OzyBulkRead failed -7 bytes<br>$<br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">As I understand from the Verilog file:</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">D3      : Turns on after the INIT_DONE signal.</div><div class="gmail_default" style="font-family:monospace,monospace">D4 - D8 : Test LEDs.</div><div class="gmail_default" style="font-family:monospace,monospace">D9 - D10: bits 24 and 25 of a 27 bit counter (?)</div><div class="gmail_default" style="font-family:monospace,monospace">D11     : ADC Overflow</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I had a jumper installed on the LAST JTAG (JP7) on Mercury, which I took out.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">I hope others don't mind these dumps of the debugging process. I am posting these here on the hopes that someone else has already gone through this and so would be able to help me out with it and also because someone else in the future can see the archived messages and find their way out.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">Thanks</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">73</div><div class="gmail_default" style="font-family:monospace,monospace">Ramakrishnan VU3RDD</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 28, 2017 at 11:43 AM, Ramakrishnan Muthukrishnan <span dir="ltr"><<a href="mailto:vu3rdd@gmail.com" target="_blank">vu3rdd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote">Hi OpenHPSDR Hackers,<div dir="ltr"><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace"><div style="font-family:monospace,monospace" class="gmail_default">[​Apologies if this is a duplicate message. The message was too big, so I had to move out the logs to reduce the message size. I canceled the other message, hopefully that took effect.]​</div><br></div><div><div class="h5"><div style="font-family:monospace,monospace">I am returning to the project after a very long time (roughly 10 years!) and dusted off my Atlas, Ozy and Mercury board during the Christmas break. I got the ghpsdr-alex repository cloned and compiled from source. <br></div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">My board revisions are as follows:</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">Ozy: RevB (with the date 10 Oct 2006) - This was soldered by me and was working.<br></div><div style="font-family:monospace,monospace">Mercury DDC Rx: Rev A. This was from TAPR I believe and was working as well.<br></div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">The first thing I noticed is that running the hpsdr-server program always segfaults. On running gdb, I found that the code somehow does not know about the old Ozy boards. I found a repo and a branch for Ozy from Andrea (IW0DHV): <<a href="https://github.com/IW0HDV/ghpsdr3-alex/blob/hpsdr-ozy/trunk/src/server/README" target="_blank">https://github.com/IW0HDV/ghp<wbr>sdr3-alex/blob/hpsdr-ozy/trunk<wbr>/src/server/README</a>>. I am also taking the liberty to copy Andrea, whose email I got from the git commit log.<br></div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">Following the changes in this repo on hpsdr-server, I could reach a point where there are no segfaults but I get an error:</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">[...]<br></div><div style="font-family:monospace,monospace">  [01F0] 0000000000000000 0000000000000000<br><br>server configured for 1 receivers at 96000<br>ozy_ep6_ep2_io_thread: OzyBulkRead read failed -7<br>ozy_ep4_io_thread: OzyBulkRead failed -7 bytes<br></div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">(the entire log of the hpsdr-server output is below).<br clear="all"></div><br><div>​I need to read up a bit to get myself uptodate on how HPSDR loads USB code and the fpga code. These are the LEDs after the hpsdr-server quits with the above error message.</div><div><br></div><div>On Mercury:<br><br>(Red LEDs)<br>D3 is ON<br>D9 is ON/OFF (roughly one sec frequency)<br>D10 is ON/OFF (more frequency than D9)<br><br>(Green LEDs)<br>D1, D15, D16, D17 is ON.<br><br>On Ozy:<br><br>(Red LEDs)<br><br>D1 (occasionally turns on)<br>D2 is ON<br>D3 OFF<br>D4 OFF<br>D5-D8 is ON<br>D9 - ON/OFF at equal duration (roughly 1 sec)<br>D10, D11 - OFF<br></div><div>D12 - ON<br></div><div><br></div></div></div><div><div style="font-family:monospace,monospace" class="gmail_default">​The stdout log when I ran hpsdr-server is here: <<a href="https://gist.github.com/vu3rdd/4cb8ce798df525cdbdea146521d60d19" target="_blank">https://gist.github.com/<wbr>vu3rdd/<wbr>4cb8ce798df525cdbdea146521d60d<wbr>19</a>>​</div><br></div><div><span class="">​I would appreciate help in going forward. Thanks.</span><div style="font-family:monospace,monospace;display:inline" class="gmail_default">​ Meanwhile I will start reading through the code and wiki pages and try to make sense of the code.​</div></div><div><br></div><div>73<br></div><div class="m_8392035322650029315gmail-m_6601181862279275288gmail_signature">--<br></div><div class="m_8392035322650029315gmail-m_6601181862279275288gmail_signature">​<div style="font-family:monospace,monospace;display:inline" class="gmail_default">​ ​</div><div style="font-family:monospace,monospace;display:inline" class="gmail_default">​ ​</div>Ramakrishnan<div style="font-family:monospace,monospace;display:inline" class="gmail_default">​, VU3RDD</div><div style="font-family:monospace,monospace;display:inline" class="gmail_default"><br></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">  Ramakrishnan<br></div>
</div>