Conversation

Lup Yuen Lee 李立源

Bare Metal Programming? Check out "barebox" 👍

https://www.barebox.org/doc/latest/boards/riscv.html

1
1
1
@lupyuen I have one SBC for RISC-V (VisionFive2) but would be nice to get one MMUless SBC too (i.e. without S-mode). I.e. kind of RISC-V "arduino".
1
1
2

Jarkko Sakkinen

Edited 6 months ago
@lupyuen You can do memory protection also with RISC-V without MMU by configuring so called Physical Memory Protection (PMP) registers in M-mode and running applications in U-mode. So it is memory protection based on physical memory partitioning instead of virtual memory. RISC-V would be a good platform for product low-cost but still quite secure products.

EDIT: Oops, meant to write U-mode, S-mode is one that exists when there is an MMU :-)
1
2
3

@jarkko @lupyuen Kendryte K210. I think it lacks a MMU.

1
0
1

@jarkko @lupyuen It's a dual core 64 bit RISC-V MCU that is surprisingly powerful for what it is. It's also a pain to deal with.

Perhaps Maix is the best way to get into one. I have the Stick V version and the Stamp I think it is called.

In terms of power, I think an NES Emulator was written for it. I believe the RV64GC is an older version than what was standardized on. It's weird and was my first experience with RISC V.

0
0
0