I am new to Mikrotik RouterOS and I am not sure if this is the right forum category.
I plan to use a SFP+ Switch (CRS-317-1G-16S+) to test our own developed automotive measurement/switching device.
Therefore I need 10G, 2.5G Ethernet ports and 1G/100M Automotive Ethernet*1) (2 wire Ethernet) ports.
For the automotive Ethernet I choose the Technica SFP module*2) with 100/1000M.
This module has 4 DIP Switches to choose the different modes, mainly 1000/100M and Master/Slave.
The flyer notes, that these settings can be changed via the SFP i2c bus.
Now, the question is, is there any possibility in RouterOS to get read/write access to this i2c bus?
From hardware perspective this should be no problem. My opinion, this is “only” limited by software.
I am open for every possibility (scripting, compiling of own software, …).
There should be no problem if only the router is supposed to be do this.
Why you expect that it's a role of router/switch ? Do you know any brand that allows that?
I am not sure if I understood you right.
I did not expect that this is a out of the box feature of a switch/router, but I need support from the router, because I need Hardware access to the i2c bus.
I do not know any brand which support this (only the switch developed by the sfp module supplier).
Yes, in my opinion the router should do this.
Do you know any possibility for RouterOS?
No it should not. It's a router, not the programmer for any brand SFP modules. Are you aware that specialized EEPROM devices exist? Mastering all protocols&protection schemes used by module producers is not a trivial task. It's external to the main role of the switch/router. Can you imagine the next pile of complains: "My router reprogrammed my SFP module, please help!!!", "What happend to my 100Gb module?", "How to reset module brand X to fit device brand Y? Why they are not recognized?" and situations when the "programming mode" wouldn't be "closed" and the port would be blocked/stalled?
As I've already said it many times: router is for routing, switch for switching. There are enough problems with current funcionalities.
Do not make MT devices looking like this:
I fully understand your point. But in my case, this would be the only solution!
It is clear, that my question/point is a very special/rare use case and not intended for productive switching and routing!
I wrote, that I plan to use the mentioned Mikrotik device as a test device for our own measurement/switch device and therefore I need access to the i2c.
The Technica automotive Ethernet sfp module can be configured via DIP switches and i2c.
To test all modes of automotive Ethernet (Master/Slave, 100/1000Mbit) I have to change the DIP switches or I can get access to i2c and do this directly in the phy registers.
I do not want to discuss if this makes sense for the normal user and what can happen and so on. I am fully aware of this!
I only want to know if it is possible to get access to the i2c bus, maybe by patching RouterOS, adding an own compiled binary, … I am open for every theoretical solution.
Sorry, I am not sure, I think you are talking about the different semiconductors.
Maybe it helps to understand, I am a low-level firmware developer and we develop automotive embedded devices. I am familiar with embedded hardware, i2c, the different modes and so on…