https://osmocom.org/https://osmocom.org/favicon.ico?16647414092019-12-11T18:01:01ZOpen Source Mobile Communicationsosmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=168312019-12-11T18:01:01Zroh
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li></ul><p>i am not sure if we can put it into the same vm running sim tests via jenkins, but i think it would be good it that works.</p>
<p>there is enough physical space and i'd even move the qmod testsetup for remsimtest next to it.</p>
<p>the major question is what 'switchbox' we want to use for 'pressing the button' and maybe switching (usb) power (may be simpler than syncing up some usbhub with a gpio board)</p>
<p>i am currently leaning to using some usb connected sbc like an arduino with usb-serial cable or such as 'gpio box' but i'll try using the USB-RLY08 board i found in our collection first (acm-serial).<br />another possibility is to use some serial-usb like cp210x and the flow-control lines for a small number of gpio.</p>
<p>the 'button' should be 'pressed' by a small n-channel fet like a bss138/bs170 or similar controlled by that gpio.</p> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=168322019-12-11T18:13:22Zroh
<ul></ul><p>documentation usb_rly08 board <a class="external" href="http://www.robot-electronics.co.uk/htm/usb_rly08btech.htm">http://www.robot-electronics.co.uk/htm/usb_rly08btech.htm</a></p>
<p>i have added the ascii representation of the commands for simple lookup/testing</p>
<pre>
Command
Action
dec hex ascii
56 38 8 Get serial number - returns 8 bytes of ASCII that form the unique serial number for module, I.E "00001543"
90 5A Z Get software version - returns 2 bytes, the first being the Module ID which is 8, followed by the software version
91 5B [ Get relay states - sends a single byte back to the controller, bit high meaning the corresponding relay is powered
92 5C \ Set relay states - the next single byte will set all relays states, All on = 255 (11111111) All off = 0
100 64 d All relays on
101 65 e Turn relay 1 on
102 66 f Turn relay 2 on
103 67 g Turn relay 3 on
104 68 h Turn relay 4 on
105 69 i Turn relay 5 on
106 6A j Turn relay 6 on
107 6B k Turn relay 7 on
108 6C l Turn relay 8 on
110 6E n All relays off
111 6F o Turn relay 1 off
112 70 p Turn relay 2 off
113 71 q Turn relay 3 off
114 72 r Turn relay 4 off
115 73 s Turn relay 5 off
116 74 t Turn relay 6 off
117 75 u Turn relay 7 off
118 76 v Turn relay 8 off
</pre> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=172052020-01-13T17:49:51Zroh
<ul><li><strong>File</strong> <a href="/attachments/4016">01_reset_to_dfu.sh</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4016/01_reset_to_dfu.sh">01_reset_to_dfu.sh</a> added</li><li><strong>File</strong> <a href="/attachments/4015">02_octsim_dfu.sh</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4015/02_octsim_dfu.sh">02_octsim_dfu.sh</a> added</li></ul><p>script to reliably get an octsim board to dfu without manual intervention using the relay board</p> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=172122020-01-14T14:21:19Zroh
<ul><li><strong>% Done</strong> changed from <i>10</i> to <i>20</i></li></ul><p>tested scripts and wiring with a octsim V1 board - works nicely. next is mechanics and figuring out tests.</p> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=172152020-01-14T16:11:21Zroh
<ul></ul><p>mechanics good enough (in cardboard box)</p>
<p>this is octsim V1 sn#00004</p> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=172292020-01-16T17:55:35Zroh
<ul></ul>i think this is a question for hoernchen:
<ul>
<li>which simcards should i add to this system?</li>
<li>also i'll need a sshkey from you.</li>
</ul> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=172302020-01-16T17:55:58Zroh
<ul><li><strong>File</strong> <a href="/attachments/4017">03_reset_only.sh</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4017/03_reset_only.sh">03_reset_only.sh</a> added</li></ul> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=174012020-02-07T21:14:14Zroh
<ul><li><strong>% Done</strong> changed from <i>20</i> to <i>30</i></li></ul><p><a class="external" href="https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/17099">https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/17099</a></p> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=175402020-02-25T13:41:49Zroh
<ul><li><strong>% Done</strong> changed from <i>30</i> to <i>80</i></li></ul><p><a class="external" href="https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/17257">https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/17257</a></p> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=183822020-05-20T15:21:46Zroh
<ul></ul><p>todo: documentation/wikipage</p> osmo-ccid-firmware - Feature #4291: hardware setup with OCTSIM attached to a jenkins build slavehttps://osmocom.org/issues/4291?journal_id=195862020-09-07T17:31:06Zroh
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>80</i> to <i>100</i></li></ul><p><a class="external" href="https://osmocom.org/projects/osmo-ccid-firmware/wiki/Firmware_testbed">https://osmocom.org/projects/osmo-ccid-firmware/wiki/Firmware_testbed</a></p>