Skip to content

ROCKPRO64 Serial Port Pins

Ungelöst Probleme?
  • I have a ROCKPro64 v2.1 board and installed with "bionic-minimal-rockpro64-0.8.0rc6-1111-armhf.img". The system boots up is fine, but both /dev/ttyS0 and /dev/ttyS2 are not working. I don't know which pins out of a total 40 pins of Pi-2 are for UART 0 (/dev/ttyS0). Am I correct that Pin 8 is /dev/ttyS2 Tx Pin and Pin 10 is /dev/ttyS2 Rx Pin? Are these UART pins are enabled by default after system boot up? Should I do something to enable these pins in order for UART (/dev/ttyS0 or /dev/ttyS2) to work?

    For a UART to work, I mean this ttyS0 or ttyS2 port is able to send out or receive characters. Currently, I am able to open and set up serial port but not able to send out or receive characters correctly. I guess those UART pins are shared with GPIO pins or multiplexed with GPIO functionality, some configurations may need to be done. Could you help me?

  • Hello @xwang2019 ,

    please read this post -> https://forum.frank-mankel.org/topic/53/serielle-konsole-uart2 (german)

    • Nr. 6 GND - schwarz
    • Nr. 8 UART2_TX - weiß
    • Nr. 10 UART2_ RX - grün

    With my adapter i must removed pin no. 10. With this connection i can't boot properly.

    This uart connection is enabled by default in all images from ayufan.

    I hope this will help you. And excuse my english isn't the best 😉

  • Hi FrankM,

    Thank you very much for your help. The objective of my task is to find a UART serial port (ttyS0 or ttyS2) to substitute ttyUSB0 port on ROCKPro64. I found out yesterday by reading through the schematics of ROCKPro64 v2.1 that UART0 (ttyS0) and UART2 (ttyS2) are NOT a general RS232 serial port on ROCKPro64. UART0 (ttyS0) is now connected with the Bluetooth device on ROCKPro64. UART2 (ttyS2) is now connected to Debug Port and used as a console serial port. I need to disconnect UART0 with Bluetooth device to get ttyS0 back.

    Xiaoming

  • I think i understood 🙂

    You can use an image before 0.7.13

    0.7.13: Enable support for RockPro64 WiFi/BT module,
    

    Is that an option for you?

    Or you edit the dts file with

    sudo dtedit
    

    Remove all entries for uart0 and copy entries from image before 0.7.13 🤔

    Last but not least, ask ayufan 🙂

  • Hi FrankM,

    Thank you very much for your help. I tried 0.7.9 image. ttyS0 doesn't work even when WiFI/BT module is disabled. Because I don't need WiFi/BT option, I am going to edit the dts file. Could you let me to know the following steps after dts file got modified? Thanks.

    Regards,

    Xiaoming

  • RockPro64: Raid fehlt nach Absturz

    Gelöst Probleme?
    23
    0 Stimmen
    23 Beiträge
    280 Aufrufe
    R

    @FrankM
    Lieber Frank!
    Vielen Dank für deine Geduld! War ein echter Segen für mich!
    Lösung war, wie du vorgeschlagen hast: Kaputte Platte raus, neustarten, alles da!
    Was für eine Erleichterung.
    Jetzt mach ich noch ne neue HDD rein, repariere das Raid; und fertig. Hoffentlich für die nächsten Jahre.

    Vielen, vielen Dank!

  • RockPro64 Netzwerkprobleme

    Ungelöst Probleme?
    11
    0 Stimmen
    11 Beiträge
    200 Aufrufe
    FrankMF

    @EricG Ja, das hatte ich schon fast bergessen. Ich nutze zur Installation dann einen USB-to-LAN Adapter. Danach geht eth0, wenn man sie konfiguriert. Aber das hast Du ja sicherlich auch schon gelesen.

    Ich sollte das evt. mal wieder testen 🤔

  • RockPro64 bootet nicht mehr von sdcard und/oder emmc

    Ungelöst Probleme?
    6
    0 Stimmen
    6 Beiträge
    204 Aufrufe
    FrankMF

    @gabs5807 Danke für das ausführliche Feedback.

    Das mit Pin 10 habe ich schon lange nicht mehr gehabt, benutze aber auch nur noch selten den SPI.

    Was wäre es doch für ein Traum, wenn man einen vernünftigen uboot hätte und man einfach ein Device anhängen könnte und die Kiste davon bootet...

    Bin aber beim ROCKPro64 auch nicht mehr auf der Höhe der Zeit, ich teste da nur noch selten.

  • Installationsprobleme wegen unkenntnis

    Ungelöst Probleme?
    7
    0 Stimmen
    7 Beiträge
    220 Aufrufe
    C

    @frankm
    Hallo Frank,
    ich habe mir das was ich habe mal so angeschaut und festgestellt das ich einen Avira AV Blocker aufgespielt habe von daher denke ich ich lass das Gesummse mit VPN . Hat der Anbieter 58 € Gewinn gemacht ohne Leistung , auch nicht schlecht.
    Meinen herzlichsten Dank für Deine Mühe , ist ernst gemeint !
    Der alte Mann mit dem Rocker Rollstuhl
    Uli

  • bootconsole [uart8250] disabled

    Probleme?
    24
    1 Stimmen
    24 Beiträge
    1k Aufrufe
    gabs5807G

    @gabs5807 sagte in bootconsole [uart8250] disabled:

    @FrankM sagte in bootconsole [uart8250] disabled:

    Hast Du dein Image auf das eMMC Modul installiert?

    Wenn ja, das Modul beim Booten der Images bitte abschalten.
    Vielen Dank für den Hinweis. Habe gelesen aber leider vergessen 😯.
    Werde ich machen, ich das Gehäuse noch mal öffnen muss und die SSD weil ich noch austauschen muss.
    Viele Grüße

    Das flashen des SPI hat jetzt wie beschrieben funktioniert 😊. Vielen Dank.

  • 0 Stimmen
    6 Beiträge
    271 Aufrufe
    FrankMF

    Mir fällt da leider auch nicht mehr viel zu ein. Die Karte ist ja auch schon ein paar Tage alt. Vielleicht würde ein BIOS Update der Karte helfen!??

    Hast du einen Rechner, wo du die Karte mal reinstecken kannst um zu schauen, ob sie funktioniert?

  • hdparm / SATA Platten spindown und Energiemanagement

    Gelöst Probleme?
    4
    0 Stimmen
    4 Beiträge
    328 Aufrufe
    FrankMF

    Sorry, das Wissen hatte ich vorausgesetzt. Aber schön, das es funktioniert.

    Dann viel Spaß mit deinem NAS 👍

  • 0 Stimmen
    27 Beiträge
    2k Aufrufe
    FrankMF

    Danke für die Rückmeldung.

    Mein NAS läuft wie gesagt schon relativ lange sehr stabil. Und es macht auch was 🙂 Es sichert z.B. dieses Forum und viele andere Seiten regelmäßig. Ansonsten dient es als mein Datengrab. Nix besonderes..

    Wenn Du nicht so komplizierte Dinge fragst, darfst du gerne neue Threads eröffnen 🙂