Hallo,
nachdem ich mich ein paar Tage in Robo Pro eingearbeitet habe, möchte ich mal versuchen den TX Controller in C zu programmieren.
Ich habe deshalb versucht, mich über dieses Forum und die Seite http://www.ftcomputing.de zu informieren.
Meine Frage hierzu: Ist es richtig, daß es mit der TX Firmware 1.24, die mir die Robo Pro Version 3.1.2. auf den Controller kopiert hat, nicht möglich ist, ihn in C zu programmieren? Oder habe ich da etwas falsche verstanden? Falls dem so ist, woran liegt es denn genau, und wann wird es wohl unterstützt werden? Gibt es andere Möglichkeiten.
Viele Grüße,
Frank
Robo TX Controller und C Programmierung
Forumsregeln
Bitte beachte die Forumsregeln!
Bitte beachte die Forumsregeln!
-
- Beiträge: 5
- Registriert: 24 Okt 2011, 09:36
Re: Robo TX Controller und C Programmierung
Hi Frank,
When programming the TX in C (offline mode, program running on TX), the communication between your program and the firmware (which takes care of the handling of inputs and outputs) takes place via the transfer area (TA). The TA contains several data structures concerning inputs, outputs, configuration etc. and some function hooks. In FW1.24 the layout of the TA was changed wrt. FW1.18 and a new new header file has not been provided (yet). Hence there is no official support at the moment. Some of the data structures (TA_INPUT, TA_OUTPUT, TA_CONFIG) can be reverse engineered quite easily because they are transmitted over the RS485 and USB busses. Others, like the hook table and timers, are not transmitted so there is no easy way of knowing whether they have changed or not. If you have the patience and are mentally strong enough to deal with disappointments, you could simply try (under the assumption that they have not changed), or think of a clever way to find out how they have changed. For the structures that are transmitted I have a pretty good idea of the new layout, let me know if you're going to pursue this further.
When programming the TX in C (offline mode, program running on TX), the communication between your program and the firmware (which takes care of the handling of inputs and outputs) takes place via the transfer area (TA). The TA contains several data structures concerning inputs, outputs, configuration etc. and some function hooks. In FW1.24 the layout of the TA was changed wrt. FW1.18 and a new new header file has not been provided (yet). Hence there is no official support at the moment. Some of the data structures (TA_INPUT, TA_OUTPUT, TA_CONFIG) can be reverse engineered quite easily because they are transmitted over the RS485 and USB busses. Others, like the hook table and timers, are not transmitted so there is no easy way of knowing whether they have changed or not. If you have the patience and are mentally strong enough to deal with disappointments, you could simply try (under the assumption that they have not changed), or think of a clever way to find out how they have changed. For the structures that are transmitted I have a pretty good idea of the new layout, let me know if you're going to pursue this further.
Re: Robo TX Controller und C Programmierung
Hallo Frank,
um die Diskussion hier ein wenig zusammenzufassen:
Nein, mit der Firmware 1.24 ist aktuell kein C-Programmierung möglich, da die dafür passende ftMSCLib noch nicht veröffentlicht wurde. Das wird irgendwann folgen, wann weiß vermutlich selbst ft nicht...
Grüße,
Martin
um die Diskussion hier ein wenig zusammenzufassen:
Nein, mit der Firmware 1.24 ist aktuell kein C-Programmierung möglich, da die dafür passende ftMSCLib noch nicht veröffentlicht wurde. Das wird irgendwann folgen, wann weiß vermutlich selbst ft nicht...
Grüße,
Martin
Re: Robo TX Controller und C Programmierung
Hallo zusammen,
die ftMscLib.DLL wurde mittlerweile veröffentlicht! Sie trägt das Datum 18.03.2011 und ich habe sie am 28.12.11 unter
http://www.fischertechnik.de/de/home/do ... uting.aspx gefunden:
PC Programming ROBO-TXC Version 1.4 - 2,43 MB
Datenpaket für die Programmierung des fischertechnik ROBO TX Controllers vom PC aus, insbesondere für PC-Programmierer, die nicht mit der fischertechnik Programmieroberfläche ROBOPro arbeiten, sondern eigene PC-Programme für den ROBO TX Controller erstellen möchten.
JETZT NEU: Für TXC -Firmware-Version 1.24 und mit vollständiger Bluetooth-Funktionalität.
Gruß
Johannes
die ftMscLib.DLL wurde mittlerweile veröffentlicht! Sie trägt das Datum 18.03.2011 und ich habe sie am 28.12.11 unter
http://www.fischertechnik.de/de/home/do ... uting.aspx gefunden:
PC Programming ROBO-TXC Version 1.4 - 2,43 MB
Datenpaket für die Programmierung des fischertechnik ROBO TX Controllers vom PC aus, insbesondere für PC-Programmierer, die nicht mit der fischertechnik Programmieroberfläche ROBOPro arbeiten, sondern eigene PC-Programme für den ROBO TX Controller erstellen möchten.
JETZT NEU: Für TXC -Firmware-Version 1.24 und mit vollständiger Bluetooth-Funktionalität.
Gruß
Johannes