IT
  
Attualmente si sta visualizzando la versione Italy del sito.
Volete passare al vostro sito locale?
17 TEMPO DI LETTURA MIN
RISC-V

Build a RISC-V LED sign

Tam Hanna takes the GigaDevice RISC-V microcontroller for a spin and creates a gadget that displays impolite messages in large red letters.

YOU NEED

RISC-V IS NOT RISC-V

MORE THAN THE SUM OF ITS PARTS

QUICK TIP

QUICK TIP

ALTERNATIVE IDES…

Credit: www.gigadevice.com

GigaDevice GD32VF103 RVSTAR

OUR EXPERT

Tam Hanna has seen the embedded space inside and out. His multidecade work has involved coding games for early mobile phones, designing metrology systems, and various projects for private clients.

RISC-V is a catch-all term encompassing multiple architectures. Our GigaDevice GD32VF103 RVSTAR is 32-bit RISC-V Core, which is optimised for control applications and does not have functionality such as an MMU required for advanced operating systems.

The instruction-set architecture decisions discussed in the previous boxout (page 67) are not the only problem faced by chip designers. Creating a microcontroller requires more than just the compute element – in particular, various peripheral-device building blocks need to be licensed or provided.

Should you seek to deploy your RISC-V design in a sanctionscritical environment, seek specialised legal advice early. US trade sanctions tend to bubble up the value chain with surprising effects – a thoughtless purchase using US dollars can, for example, put the entire project in jeopardy.

Breadboarded circuits suffer from limited reliability due to connection problems. We consider this design to be close to the practical limit of breadboarding – any larger, and a printed circuit board (available for next to nothing from the usual suspects) has a lower TCO.

We’re using NucleiStudio. It is based on Eclipse CDT, so developers will be familiar with the way the various user interface elements work, and will find advanced functions such as a powerful debugger.

Buckle in kids, this isn’t a project for the fainthearted or novice electronic tinkerer. Before B we can deal with the RISC-V hardware, we need to deal with our software development environment. Visit www.nucleisys.com/download.php and right-click Nuclei Studio IDE > Linux x86-64 to start the download – the servers are not particularly fast, so the process will take a bit of time. After that, untar the archive and start it in a terminal, as follows:

2x Large Breadboards

This should not be considered indicative of the RISC-V standard as a whole. Various options are available, permitting chip designers to customise the compute core to their needs. Eliminating unnecessary functionality leads to smaller (and cheaper) die sizes; lower power consumption is achieved by the smaller number of transistors.

Their job is, for example, the provisioning of an I2C acceleration engine or the GPIO transceivers enabling the microcontroller to communicate with the outside world and any attached circuitry.

This, however, is not the only development environment available for the GigaDevice GD32VF103 microcontroller. One exotic, but free, product is Embeetle. It sports a unique IDE design and is based on makefiles – the amount of graphical configuration is minimised and environments can easily be transferred from one machine to another.

$ cd ~/Downloads/NucleiStudio

100x jumpers

Sbloccate questo articolo e molto altro con
Si può godere di:
Godetevi questa edizione per intero
Accesso immediato a oltre 600 titoli
Migliaia di numeri arretrati
Nessun contratto o impegno
Prova per €1.09
ABBONATI ORA
30 giorni di accesso, poi solo €11,99 / mese. Disdetta in qualsiasi momento. Solo per i nuovi abbonati.


Per saperne di più
Pocketmags Plus
Pocketmags Plus

Questo articolo è...


View Issues
Linux Format
Summer 2023
VISUALIZZA IN NEGOZIO

Altri articoli in questo numero


Linux Format
Linux Format
The #1 open source mag Future Publishing Limited,
WELCOME
MEET THE TEAM
We’re not avoiding the office, we’re building our own and taking it with us, but what’s the oddest place you’ve found yourself doing work?
Freeeedom!
We’re all avoiding the office these days (just
REGULARS AT A GLANCE
The Red Hat paywall
Red Hat announces source code of RHEL will only be available to paying customers, who can’t redistribute it.
Lemmy numbers spike after Reddit ban
A ban on subreddits helped promote alternative Lemmy with a general boost to federated platforms.
100% free GNU Linux-libre
Bye-bye binary blobs – build a truly free system.
CLONE WARS
“Red Hat’s changes to the way it distributes
DOWN TO THE WIRE
Ashok Sidipotu is a senior software engineer at
Animated JPEGs
FFmpeg has now merged JPEG-XL support. Is this the next step to widespread adoption of the format?
Wine comes to Mac OS
Apple’s Game Porting Toolkit is based on CrossOver’s code.
A wild desktop appears!
Kera Desktop touts itself as an easy and exciting way to enjoy your favourite OS.
Distro watch
What’s behind the free software sofa?
WHAT A NUMBER!
Italo Vignoli is one of founders of LibreOffice
BE KIND PEOPLE!
Jon Masters has been involved with Linux for
Kernel Watch
Jon Masters keeps up with all the latest happenings in the Linux kernel, so you don’t have to
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com
Mailserver
WRITE TO US Do you have a burning
CudaText
ADVANCED TEXT EDITOR
QMPlay2
MEDIA PLAYER
Mixxx
DJ SOFTWARE
Unison
FILE SYNCHRONISER
SSH-audit
SSH CONFIG ANALYSER
NormCap
COPY TEXT
Gromit-MPX
ON-SCREEN ANNOTATION
Open Fodder
SHOOT-’EM-UP
Empty Clip
RPG
LocalSend
FILE TRANSFER
Jellyfin
MEDIA SERVER
REVIEWS
WD Red Pro 20TB
High-capacity NAS OptiNAND on a platter impresses Shane Downing.
OpenSUSE 15.5
Nate Drake revisits the first Linux distro he ever used and finds that, like a fine wine, OpenSUSE has only improved with age.
Thunderbird 115
Nate Drake takes a sneak peek at the upcoming Thunderbird and finds it still comfortably ruling the roost.
Debian 12 Bookworm
Nate Drake burrows into Debian 12 (Bookworm) and is dazzled by the array of new features, including support for non-free firmware.
Roots of Pacha
Reinventing the wheel sounds like a dream to Management – they’ve sent Andrea Shearon back in time to reap the rewards!
ROUNDUP
Computer-aided design
WE COMPARE TONS OF STUFF SO YOU DON’T HAVE TO!
FREE ALL YOUR FILES
FREE ALL YOUR FILES
It’s time to stop Big Tech being in control of your online documents. Let Jonni Bidwell show you how with Nextcloud and Collabora Office.
Pi USER
Going over the Pi Pico BASICs
Relive your spaghetti code days on your Pi Pico!
I/O Learning HAT
Les Pounder wants to automate his home because his new office is too far away from the coffee machine. Maybe now he can.
Sovol SV06
Denise Bertacchi wonders what if an Ender and a Prusa MK3 had a baby?
NeoPixel URL control
Les Pounder thinks of NeoPixels as LED candy. They taste awful but look phenomenal. Will they taste better with a slice of Pi?
Set up a game development system
DEVELOPMENT
IN DEPTH
Bootstrap your LINUX career
Discover how Linux certification can help you. Stuart Burns explains the why and the how, with a few pro tips thrown in for good measure.
EVOLUTION OF CODING
Mike Bedford reveals how the programming languages of the ’50s morphed into today’s most used languages.
TUTORIALS
Multi-protocol transfer
Shashank ‘Proficient With SMB, SSH, SCP and More’ Sharma never has to rely on thumb drives to move data across different machines…
Take and organise notes with ease
Nick Peers reveals how to put your thoughts and ideas in order with the note-taking app to rule them all.
Build a static project website on GitHub
Matt Holder investigates static site generators, what they are useful for and why they are better than CMS in some situations.
Add a little funk to mathematical plots
Always one looking to spice up his life, Ferenc Deák tries out a new function-plotting tool that’s packing a Pascal-like language.
Build your own hardware firewall
Worried about intruders and hack attacks? Nik Rawlinson shows how to take charge of network security with the BSD-based pfSense firewall.
CODING ACADEMY
Code your own Python text adventure
Nate Drake guides you through creating your own interactive text adventure with Python. This time, we LOOK at items…
Rediscover speed with the Redis revolution
REDIS
ADVERTISEMENT
GO COMPARE
go.compare
Linux Format
www.linuxformat.com www.magazinesdirect.com/LIN/B93G www.techradar.com/pro/linux
Magazines direct
www.magazinesdirect.com
Magazines Direct
magazinesdirect.com
BACK ISSUES
www.magazinesdirect.com
Magazines direct
www.magazinesdirect.com/linux-format
Techradar
techradar.com
Code club
www.codeclub.org.uk
EFF
EFF.ORG
THE BRAIN TUMOUR CHARITY
thebraintumourcharity.org
Chat
X
Supporto Pocketmags