Search found 8 matches

by watchdog40
Wed Jul 08, 2026 2:02 pm
Forum: General Discussion
Topic: documentation functions ROM esp32-c6
Replies: 0
Views: 10

documentation functions ROM esp32-c6

Hello
I cannot find the functions available in the ESP32-C6 ROM—corresponding to the function addresses listed in the `esp32c6.rom.libgcc.ld` file—within the documentation.

For example, I would like to know what the function `__ledf2 = 0x40000948;` does and how to call it (what parameters are ...
by watchdog40
Wed Jul 08, 2026 1:48 pm
Forum: Sample Code
Topic: ESP32-C6 baremetal assembly riscv connexion USB
Replies: 0
Views: 4

ESP32-C6 baremetal assembly riscv connexion USB

This program, written in RISC-V assembly without using the IDF SDK, enables a connection from the ESP32-C6 to a terminal program like PuTTY via the USB port.
After compiling and pressing the reset button, the WS2812 LED flashes green twice to indicate that the program has started successfully.
The ...
by watchdog40
Fri Jul 03, 2026 1:37 pm
Forum: Sample Code
Topic: ESP32-C6 baremetal led ws2812 blink riscv assembly
Replies: 0
Views: 26

ESP32-C6 baremetal led ws2812 blink riscv assembly

This RISC-V assembly program blinks the LED to test the various colors without using the IDF SDK.
It also copies data from the `.data` section and initializes the `.bss` section.
You may need to modify the compiler and flashing tool paths in the Makefile.

/* assembly risc-v */
/* blink led 8 white ...
by watchdog40
Fri Jul 03, 2026 1:27 pm
Forum: General Discussion
Topic: Create new sub forum ?
Replies: 3
Views: 69

Re: Create new sub forum ?

Ok, no problem.
by watchdog40
Fri Jul 03, 2026 1:25 pm
Forum: General Discussion
Topic: Create new sub forum ?
Replies: 3
Views: 69

Re: Create new sub forum ?

Ok, no problem.
by watchdog40
Tue Jun 30, 2026 8:34 am
Forum: General Discussion
Topic: Create new sub forum ?
Replies: 3
Views: 69

Create new sub forum ?

Hello.
Could an administrator create an English sub-forum titled "ESP32-C6 BAREMETAL RISCV"? I have new questions to ask and RISC-V example programs to post.
Thank you very much.
by watchdog40
Tue Jun 30, 2026 8:23 am
Forum: General Discussion
Topic: esp32-c6 blink led baremetal riscv not run
Replies: 2
Views: 65

Re: esp32-c6 blink led baremetal riscv not run

Hello.
Thank you for your reply. I am well aware that I need to replace all the initializations performed by the stage 2 bootloader, and I will do so gradually as I encounter issues.

But I found the problem. I had previously tried stopping the watchdog. I added a step to stop the watchdog timer ...
by watchdog40
Fri Jun 26, 2026 2:33 pm
Forum: General Discussion
Topic: esp32-c6 blink led baremetal riscv not run
Replies: 2
Views: 65

esp32-c6 blink led baremetal riscv not run

Hello.

I wrote a RISC-V assembly program for the ESP32-C6 to blink an external LED connected to pin 5.
I compiled this program using the IDF SDK with the command:
idf.py -p com14 flash monitor
and
idf.py set-target esp32-c6


The LED blinks 5 times as expected. So far, so good.

CMakeLists.txt ...

Go to advanced search