Page 6 of 7

Re: RISKY MSX Rev2

Posted: 01 Jun 2025 11:56
by arkadiusz.makarenko
It turns out one of chips is damaged. It works fine on all other devices I have at home. There must be some internal issue with flash

Re: RISKY MSX Rev2

Posted: 01 Jun 2025 17:15
by arkadiusz.makarenko
@ahmsx Thank you for expanding on docs and building guide. I have included your PR in the main respiratory.

Re: RISKY MSX Rev2

Posted: 01 Jun 2025 19:15
by ahmsx
arkadiusz.makarenko wrote: 01 Jun 2025 17:15 @ahmsx Thank you for expanding on docs and building guide. I have included your PR in the main respiratory.
Thanks.

I started to work on an acrylic case for the RISKYMSX cartridge.
I already assembled the first prototype, but added a few tweaks which I want to validate.

https://github.com/herraa1/msx-riskymsx-enclosure

Re: RISKY MSX Rev2

Posted: 03 Jun 2025 21:11
by arkadiusz.makarenko
So there is something unusual with this chip.

Some devices do allow fast erase and some don't.
It is not related to chip version as I can see the same behaviour on v303 and v307.
Page erase works always, block erase 32KB does on some.
It is fluffy rabbits mental! It drives me crazy that I can't make it work as I want and how it is described in producers docs.
On the other hand what should I expect from a chip which cost less than £2...

So it is that on some chips when I erase above 128KB flash using block erase whole chip got wiped. Like I would issue whole chip erase function.

Re: RISKY MSX Rev2

Posted: 03 Jun 2025 22:57
by arkadiusz.makarenko
I got it!

Flash can run up to 120Mhz main clock speed reliability at writes.
I run core at 144Mhz, so some can't handle it and crap out during flash erase operations.

There is section in docs about it so hopefully I should be able to fix it somehow.

Re: RISKY MSX Rev2

Posted: 03 Jun 2025 23:51
by ahmsx
arkadiusz.makarenko wrote: 03 Jun 2025 22:57 I got it!

Flash can run up to 120Mhz main clock speed reliability at writes.
I run core at 144Mhz, so some can't handle it and crap out during flash erase operations.

There is section in docs about it so hopefully I should be able to fix it somehow.
Nice to hear good progress on the flashing front!

Re: RISKY MSX Rev2

Posted: 04 Jun 2025 00:13
by arkadiusz.makarenko
Yes. After following advice from docs everything works as expected now.

I will test some more this and will release it hopefully tomorrow.

Re: RISKY MSX Rev2

Posted: 04 Jun 2025 11:00
by arkadiusz.makarenko

Re: RISKY MSX Rev2

Posted: 04 Jun 2025 17:50
by arkadiusz.makarenko
@ahmsx New release allowing fast flashing.
https://github.com/arkadiuszmakarenko/R ... tag/v3.2.1

Re: RISKY MSX Rev2

Posted: 04 Jun 2025 23:12
by ahmsx
arkadiusz.makarenko wrote: 04 Jun 2025 17:50 @ahmsx New release allowing fast flashing.
https://github.com/arkadiuszmakarenko/R ... tag/v3.2.1
Works fine here, thanks Arek.
Flashing large ROMs seems faster now (the smaller ones flashed already fast enough IMHO).

I looked at the datasheet for the CH32V30x and the typical flash endurance is about 80K (measured, not guaranteed) with a minimum guarantee of 10K.
So I think we can expect the RISKYMSX cartridge to last more than 20 years, even if we flash 10 full sized ROMs per day ;)
Let's see if mine gets to the MSX GOTO60.