New 10c RISC-V chip...


Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9203
Posted: 08:25am 20 Jan 2023      

EEVblog video...

Perhaps Peter the miracle-worker, can port MMBASIC to this thing.
I'm joking, naturally.
Smoke makes things work. When the smoke gets out, it stops!

Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6024
Posted: 09:12am 20 Jan 2023      

That's really impressive - and a good replacement for some of the PIC range. Microchip might have some of their work cut out if these things catch on.

(Peter hasn't quite completed his port to the Cray 1 yet, so he's a bit busy. ;) )

CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2041
Posted: 11:12am 20 Jan 2023      

going RISC5 is a good thing, assembler becomes portable outside of a single supplier

JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3708
Posted: 12:07pm 20 Jan 2023      

Have they made the I/O portable?

i.e. unlike ARM - where every major chip maker designs their own I/O thus making MMBasic need a pile of new I/O code for each change of chip.

John

Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6024
Posted: 12:44pm 20 Jan 2023      

RISC-V specifies the instruction set and some extensions (you can also have non-standard extensions). I suspect that any IO handling will be down to compiler libraries for the hardware you are working on.

JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3708
Posted: 01:33pm 20 Jan 2023      

  Mixtel90 said  RISC-V specifies the instruction set and some extensions (you can also have non-standard extensions). I suspect that any IO handling will be down to compiler libraries for the hardware you are working on.

Thanks.

Essentially the same situation as ARM, then, so will need lots of effort to port MMBasic (*), it seems.

If the CPUs are cheap enough & powerful enough, with guaranteed availability, may happen I guess.

Meanwhile the RPi Pico is excellent features & performance for the money!

(*) MMB4L probably vastly less work :)

John

CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2041
Posted: 03:51pm 20 Jan 2023      

  JohnS said  

Essentially the same situation as ARM, then, so will need lots of effort to port MMBasic (*), it seems.

Meanwhile the RPi Pico is excellent features & performance for the money!

(*) MMB4L probably vastly less work :)

John


sadly unlikely any port with the flash and ram sizes, certainly this particular chip

Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9203
Posted: 01:39am 21 Jan 2023      

I do need to stress that I was in no way suggesting that MMBASIC could or ever would be ported to this device - note my winking face emoji in the first post.  

10c and you get a UART, SPI, and I2C port, 18 GPIO, 10-bit ADC, 16KB FLASH, 2KB SRAM and and 48MHz speed.
Very impressive for a whole ten cents!

But with 16K of flash and only 2K of RAM, porting MMBASIC to this thing would be impossible I would think.  Peter might chime in here, but I think it is safe to say that will never happen.

But you MIGHT see things like Great Cow BASIC moving to the RISC-V stuff - perhaps, but even if they did, it would not be anytime soon.

What I'm saying is, don't get your hopes up that these can ever run MMBASIC.  

Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6024
Posted: 07:50am 21 Jan 2023      

Irrespective of the word length they are more targeted at the PIC16-high / PIC32-low section of the market, which is still a very profitable one for Microchip. Nope, not MMBasic territory but a definite opportunity for a BASIC compiler or even some sort of "Tiny BASIC" interpreter. Mind you, if they aren't available we'll never know. :)

CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2041
Posted: 12:37pm 21 Jan 2023      

  Grogster said  
But you MIGHT see things like Great Cow BASIC moving to the RISC-V stuff - perhaps, but even if they did, it would not be anytime soon.

oh yes!  (Are you watching Evan?)