STM32 problem black screen and no HDMI Reterminal

Hello,

I have actually a problem with my seeed reterminal.

I tryied to upgrade the STM32 firmware to the 1.8version and now I have no screen nor hdmi at all…

I can connect to the reterminal through ssh so I tried to flash the firmware with both methods.

The first one doesn t work because I have this kind of error and I don t know how to solve it

pi@raspberrypi:~ $ i2ctransfer -y 1 w2@0x45 0x9b 0x01
Error: Sending messages failed: Remote I/O error
pi@raspberrypi:~ $ i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- 19 -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- 56 -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

I tryied the second method with wires and the programm successed to flash the STM32 with the 1.8 and 1.7 version but nothing happen then

I tried to reboot it many times, reinstall Raspberry pi OS, reinstall drivers…

Drivers seem to work because I have access to the light sensor, the RTC and buttons with evtest.

I have also tryied to connect to the reterminal trough VNC but it doesn t work neither

I have no more idea, could anyone help me ?

Thank you very much

Hi Benji,

have you solved the problem? Have exactly the same here.

Best regards,
chr5mn

Hello chr5mn !

Sorry it’s been a while I have fixed it and I am clearly a noob ^^

If I remember well, your STM32 is now in boot mode (and stays in boot mode even it your restart the reterminal) so the screen wont turn on beacause of the command :
i2ctransfer -y 1 w2@0x45 0x9b 0x01

To fix it, I just fallowed the method : “Connect to STM32 using CM4 and flash the firmware” with ssh.

I asume you can use micro hdmi cable if you need a screen and can’t use ssh :slightly_smiling_face:

Just blindly do all the steps and if there is an error, just go to the next step.
I think the command that unlocked the STM32 is :

i2ctransfer -y 1 w2@0x45 0x9b 0x00

But I am not so sure sorry.
I just remember I tryied all steps even with errors and when I reboot my reterminal, the screen turned on.

I hope it will help you,

Good luck !

Benji

Or maybe I just fallowed the steps and ignored the errors when I got one, and I managed to flash the STM32 and it boot again.

Anyway, just fallow the steps and if you get an error go to the next one :slight_smile:

Helllo Benji,
thanks for your fast reply!
I did so, went up and down that guide - did the openocd flash without error, the display didn’t work.
Than I used:

(apt-get install stm32flash will also install stm32flash, but it’s not working in that case, got some unknown device error)
flashing showed success but the display still didn’t worked - but at some point I could toggle the bootloader mode and the version reply was correct. I am also not an expert but that showed me the problem is somewhere else. It is not to comment or uncomment dtoverlay=reTerminal in /boot/config.txt - I did it according the guide.
So I did:

Q2: How can I flash Raspberry Pi OS which is originally shipped with reTerminal?

(Yes, for that you have to disassemble again.)
After booting it, it came up with the display, wrong orientation but this is minor and will be easy to fix.

Thanks again, maybe this is usefull for somebody else.

Best regards,
chr5mn

No problem !

I remembered I tried to reinstall the OS but it didn’t fixed the screen
I even tried to flash the STM32 with GPIO and wires from another raspberry pi but nothing worked

Maybe Seeed published a new OS version that correct the STM32 issue since

Anyway, I am happy you could fix your device ! :slight_smile:

Best regards,

Benji

We’ll look at some things that can cause a black or blank screen:

Connection problems with your monitor or screen

Display adapter driver update issues

Issues with recent system updates or installations

Let’s go through some troubleshooting steps and check your hardware and software. The steps on this page might look complicated at first, but follow them in order, step by step, and we’ll try to get you back on track. You’ll use safe mode for many of the steps because that will start Windows with a limited set of files and drivers to help you narrow down the problems. You can learn more about safe mode, or keep reading and we’ll provide details when you need them.

If you got to the sign-in screen but then your screen went black or blank, try the following actions in order.

Action 1: Try a Windows Key sequence to wake the screen.
If you’re using a device with a keyboard connected to it, select Windows logo key + Ctrl + Shift + B. If you’re in tablet mode, press the volume-up and volume-down buttons simultaneously three times within two seconds. If Windows is responsive, a short beep will sound and the screen will blink or dim while Windows attempts to refresh the screen.

If you’re still seeing a black or blank screen, try the steps in Action 2 and see if you can open Task Manager to restart Windows Explorer.

Action 2: Try to open Task Manager to restart Windows Explorer
If there’s content or a cursor on the black or blank screen, try to restart the Windows Explorer process.

To open Task Manager and restart Windows Explorer:

Select Ctrl + Alt + Delete, then select Task Manager.

Note: If you don’t see Task Manager after selecting Ctrl + Alt + Delete, select Ctrl + Shift + Esc to open Task Manager.

Under the Processes tab, search for Windows Explorer. Right-click Windows Explorer, then select Restart.

If that didn’t work, select File in the top-left corner of Task Manager and select Run new task. Type explorer.exe, then select OK.

If you’re still seeing a black or blank screen, try the steps in Action 3 to roll back your display adapter driver.

Action 3: Roll back the display adapter driver
Note: The display adapter is also known as the graphics card.

If you see a black or blank screen after an update and Windows was operating correctly before that, it’s possible the display adapter driver is causing the screen issue.

To roll back the display adapter driver:

Sign in to Windows using safe mode (you’ll need to go to the section called “From a black or blank screen”).

Type device manager in the search box on the taskbar and select it from the results.

Find Display adapters, select the arrow to expand it, then right-click the item under it and select Properties.

Select the Driver tab, then select Roll Back Driver > Yes.

Shut down your device, then turn your device back on.

If you’re still seeing a black or blank screen, try the steps in Action 4 to uninstall your display adapter driver.

Action 4: Uninstall your display adapter driver
Driver updates for Windows 10 and many devices (such as network adapters, monitors, printers, and graphic cards) are automatically installed when you update Windows 10. It’s likely you already have the most recent driver, but if you’re seeing a black or blank screen, you can try uninstalling the driver to find out if it’s causing the issue with your screen.

To uninstall the display adapter driver:

Start your PC in safe mode. This is necessary before you uninstall your display adapter driver.

In the search box on the taskbar, type Device Manager and select it from the results.

Find Display adapters, select the arrow to expand it, then right-click the item under it and select Properties.

Select the Driver tab, then select Uninstall Device.

Select OK.

Shut down your device, then turn it back on.

If you’re still seeing a black or blank screen, try the steps in Action 5 to remove third-party antivirus software.

Action 5: Remove third-party antivirus software
Sometimes third-party antivirus software causes black or blank screens. You can temporarily uninstall third-party antivirus software to determine if it’s causing the screen issue, then reinstall it after your device is back up and running. Your device won’t be unprotected because Windows Defender Antivirus kicks in when no other antivirus software is running. Get more info about Windows Security.

To remove third-party antivirus software:

Start your PC in safe mode before you remove third-party antivirus software.

After your device is in safe mode, select Start > Settings > Apps (or System in older versions) > Apps & features .

Open Apps & features setting

Under Sort by, select Name and change it to Install date.

Select the third-party antivirus software you want to remove, then select Uninstall and wait for it to be removed.

Restart your device.

If you’re still seeing a black or blank screen, try the steps in Action 6 to restore your device to an earlier point using System Restore.

Regards,
Rachel Gomez

one problem is that if you go to this page:
https://github.com/Seeed-Studio/seeed-linux-dtoverlays/releases

stm32flash is not present in the assets for the latest release (1.9 at this time). but it is available in an older one. I didn’t see this at first so I cloned the project https://github.com/Seeed-Projects/stm32flash

to my reTerminal and used the command, make to build it. this is relatively advanced and at the edge of my knowledge. Further down in the instructions it shows how to check the version and it seems to indicate 1.8 even though I downloaded the 1.9 binary. I am almost totally certain that a person forgot to increase the version numbers in the source code.