You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a WBR2 module with RTL8720CF chip, and I would like to play with it using PlatformIO and LibreTiny.
I started with a simple Blinking / Hello world program.
Obviously, I have an led on GPIO 20.
I upload the code, everything fine.
But after reboot, the led is not blinking and on serial monitor I have:
== Rtl8710c IoT Platform ==
Chip VID: 5, Ver: 3
ROM Version: v3.0
== Boot Loader ==
Aug 30 2024:04:22:00
[MISC Err]boot_get_load_fw_idx: failed!
[MISC Err]boot_load: Get load FW index err
Boot Load Err!
Any idea what am I doing wrong?
As an info, on the same chip I wrote OpenRTL87X0C (from OpenBeken project) and it works fine, I can also control the led. So there is no hardware or flashing issue.
Later edit: I get the same message regarding boot loader failure when I build and upload the PinScan example.
The text was updated successfully, but these errors were encountered:
christescu
changed the title
WBR2 module with RTL8720CF chip - unable to run simple code
[RTL8720CF] WBR2 module - unable to run simple code
Jan 21, 2025
The RTL8720C chip has a partition table inside the flash. Different bootloaders expect different partition tables. OpenBeken also replaces these partitions with their own.
There is an error in the UF2 implementation in ltchiptool that sometimes prevents it from writing the bootloader/partition table properly. To get around that, try flashing these files manually:
This is the bootloader and partition table that LibreTiny expects. Flashing it with ltchiptool (to the correct offsets, as indicated by the filename) should make it possible to flash your own firmware.
Hello,
I have a WBR2 module with RTL8720CF chip, and I would like to play with it using PlatformIO and LibreTiny.
I started with a simple Blinking / Hello world program.
platformio.ini:
main.cpp:
Obviously, I have an led on GPIO 20.
I upload the code, everything fine.
But after reboot, the led is not blinking and on serial monitor I have:
Any idea what am I doing wrong?
As an info, on the same chip I wrote OpenRTL87X0C (from OpenBeken project) and it works fine, I can also control the led. So there is no hardware or flashing issue.
Later edit: I get the same message regarding boot loader failure when I build and upload the PinScan example.
The text was updated successfully, but these errors were encountered: