C is The MOST Beautiful Language!
1:57
Safer C++ - Better C++
24:55
6 ай бұрын
First Milestone! Thank You!
2:05
8 ай бұрын
#3 My bootloader says hello there
8:08
#0 About me
0:55
Жыл бұрын
Пікірлер
@LucianI-s7z
@LucianI-s7z Күн бұрын
try to speak normal please
@velho6298
@velho6298 5 күн бұрын
I was looking to make a board with the ECP5 but my project required the SERDES core from the IC and this wasn't available without buying the licensed software?! I went with Xilinx instead
@matgla95
@matgla95 2 күн бұрын
Yes, lattice has cheap hardware and expensive software, but I think I am able to make my ideas with open source toolchain
@62f100
@62f100 5 күн бұрын
How about a esp32-p4 with hdmi port?
@matgla95
@matgla95 5 күн бұрын
RP2350A will be fine. It also contains an HSTX peripheral to generate a TDMS signal. But instead of creating one card with VGA and DVI connectors, I will make two of them: one with VGA and one with DVI. I won't be using both connectors at once.
@anon_y_mousse
@anon_y_mousse 9 күн бұрын
Wait, this solution was accepted and worked? It's a narrow set of circumstances for scanf() to return EOF, so I'd assume that they piped input because if it came from a terminal you'd have to kill the program manually or it would be an infinite loop. And clearly they didn't care about robustness because malformed input would likewise cause an infinite loop. I suppose I should also mention how wrong it is to mix increment operators while using the same variable in an expression, and that given that it is UB any given compiler could give a wildly inaccurate result as well, though I would hope all would play nice and give the result any normal person would expect. My one complaint that has nothing to do with the correctness of the code is that you separated your output with a space instead of a newline, and worse yet you put the space at the wrong end. I can hardly wait until every compiler generates an error for C89 code, which really should've been voided 25 years ago.
@matgla95
@matgla95 5 күн бұрын
Yes, it compiles and it is working. This code is one huge undefined behavior in many aspects. It works for that particular problem. And I think that it should not be compiled by default. Happily, world is changing, GCC at least 14 compilation will fail by default until you disable checks on demand :) You don't need to kill the program, just send EOF with Ctrl-D on Unix-based OSes (or probably CTRL-Z + enter on Windows).
@anon_y_mousse
@anon_y_mousse 5 күн бұрын
@@matgla95 You don't consider requiring a control sequence manual intervention? I figure anything other than incorrect input counts as manual, even if it's just entering a 'q' as your input.
@OktoPutsch
@OktoPutsch 10 күн бұрын
Can it run Plan9 ? Try it, have fun.
@matgla95
@matgla95 10 күн бұрын
It should be doable, just needs synthesized hardware for it. I want to learn something about CPU design and I think I will start with some simple 8-bit CPU.
@OktoPutsch
@OktoPutsch 10 күн бұрын
@@matgla95 so cool as a first step, then go for mips design later, there are good books about it. Good luck and keep going ! I'll follow the channel now
@theantipope4354
@theantipope4354 11 күн бұрын
Oh jeez. Why would you make soldering so hard for yourself?
@matgla95
@matgla95 10 күн бұрын
To be honest it wasn't so hard. It was easier than I expected.
@mattivirta
@mattivirta 13 күн бұрын
how much cost if you make clone FPGA card same than mesa 7i96 to hobby cnc machine uses. normal mesa 7i96 etc, cards have too expensive buy hobby cnc users budget. lot hobby users need cheapen option buy clone card who can use whit CNC machine and linuxcnc software, less than 100$ have perfect price point.
@matgla95
@matgla95 10 күн бұрын
As I said I am not planning to design other boards right now. To replicate the whole mesa board firstly I should spend a lot of time to find all functionalities and hardware inside. And unfortunately I don't have it for that right now.
@misterbonzoid5623
@misterbonzoid5623 13 күн бұрын
You know you can buy self-flashing LEDs.
@matgla95
@matgla95 12 күн бұрын
Yes, I can buy a fpga dev kit too, but that's not my goal.
@dazealex
@dazealex 14 күн бұрын
Love the content. Just some feedback, reduce the memes/sound effects and lower the volume of background music.
@matgla95
@matgla95 14 күн бұрын
Thank you! I'll take your feedback for next episodes.
@youtubeneedsfix
@youtubeneedsfix 14 күн бұрын
great work! good luck for future adventures!
@matgla95
@matgla95 14 күн бұрын
Thanks!
@mattivirta
@mattivirta 15 күн бұрын
hobby users need cheap mesa 7I96 board clone card, mesa sellers take lot owerprice at mesa cards and hobby users not can buy. what clone cards have possiple in world can buy and build hobby cnc. more input/output,ethernet, than paraller port cards have. i promise hobby users ALL buy if mesa card has made good FPGA card lot cheapen about less than 100$ have perfect price range.
@matgla95
@matgla95 14 күн бұрын
Hi, I just designed my FPGA board as extension board for my "MSPC" computer project to fulfill my needs. I don't think right now about new PCBs development except finishing motherboard, VGA expansion and maybe some kind of network connectivity.
@R.Daneel
@R.Daneel 15 күн бұрын
Showing mistakes is S-tier teacher level. Learning is how well you join your mistakes together with the occasional success into a working project. Excellent work to be proud of!
@matgla95
@matgla95 15 күн бұрын
Thank you! I aim to share both failures and successes in my videos since both contribute to project success or failure. I also think that mistakes are great teachers. If you are willing to finish a project then you deep dive into analysis of what went wrong and how to do it better or in another way.
@martinscheuchenpflug3873
@martinscheuchenpflug3873 18 күн бұрын
Awesome Video!
@matgla95
@matgla95 18 күн бұрын
@@martinscheuchenpflug3873 Thank you !
@beautifulsmall
@beautifulsmall 19 күн бұрын
Great work, re-balling is a pain. I once used a sheet of wire interconnect with vertical wires and clamped the 16x16 BGA chip to the board. but the clamp was huge ! you should be very pleased you reached the desired result with hard work and dedication.
@matgla95
@matgla95 18 күн бұрын
Thanks! Yes, but much more pain is trying to solder with non lead balls :D I've tried with a second fpga while waiting for a stencil.
@Demasx
@Demasx 19 күн бұрын
Absolutely worth being proud of and you have indeed leveled up!
@matgla95
@matgla95 18 күн бұрын
Thank you! Of course it was fun too!
@ЕвгенийШепард-р2х
@ЕвгенийШепард-р2х 20 күн бұрын
Very good!
@matgla95
@matgla95 20 күн бұрын
Thanks!
@mspeir
@mspeir 20 күн бұрын
Reballing a perfectly good BGA is like rebuilding your car's engine every day before you leave for work. 😳 Why?
@matgla95
@matgla95 20 күн бұрын
To change lead-free balls to lead balls. Lead-free is much harder to solder, especially without a full BGA rework station with an automatic soldering process.
@techdoc99
@techdoc99 21 күн бұрын
Amazing patience and perseverance. I have never seen anyone attempt to solder a BGA part, much less a large FPGA chip before. Thanks for sharing your experience. I really enjoyed watching it.
@matgla95
@matgla95 21 күн бұрын
Thank you! I am glad you enjoyed my work :) I had a lot of fun soldering that board! Now I am working on completing the whole MSPC hardware (motherboard + VGA extension card + that FPGA board). Hopefully, I'll release it around the new year, but of course it depends on my free time :)
@techdoc99
@techdoc99 21 күн бұрын
I wish you the best and enough free time in the new year to continue your passion.
@msmith2961
@msmith2961 21 күн бұрын
I think I'd get just boards assembled when I need to try and solder BGA.
@matgla95
@matgla95 21 күн бұрын
Ordering assembled boards is not always feasible. This board is using FPGAs that for a long time were not accessible (now they are back on the market). I had a few of them in my shelf. And anyway it's always fun for me to create a real DIY :D
@CallistoPili
@CallistoPili 26 күн бұрын
to do reballing there are kits to align the frame stencil to the chip, and complete the job quick
@matgla95
@matgla95 26 күн бұрын
That's true. I have the reballing jig, but I ordered wrong stencils for it. Anyway I was unable to find kit that matches my chip footprint. But having just universal stencil, the whole job was quick enough for me.
@Grrr2048
@Grrr2048 28 күн бұрын
Well done, epic music for an epic job well done!
@matgla95
@matgla95 28 күн бұрын
Thanks! I focused during creation of that episode to find matching music and synchronizing it with clips :) I am happy that someone appreciates that!
@linuschegaming
@linuschegaming Ай бұрын
Is there a way to order that pcb and all the parts so I could technically build it myself? Great BGA soldering for first time!
@matgla95
@matgla95 Ай бұрын
Of course, I am always adding repository for project in video description. This one is under: github.com/matgla/mspc/tree/mspc_v2 But please keep in mind that it is not well tested yet. Right now I know about two limitations: 1. I forgot about 3.3 power supply from USB, so it can be delivered only through bus 2. I did misclick on SPI flash CS# line for FPGA configuration. Fix was delivered to mspc_v2 branch, but I am waiting for PCB to test it. 3. Most probably more problems, not yet discovered! About parts, you can check BOM from Kicad project. Right now all parts should be available to order, but there is problem with LFE5-UM which for long time was not available at now, now they are quite expensive.
@marcelig7938
@marcelig7938 Ай бұрын
Great soldering :)
@matgla95
@matgla95 Ай бұрын
Thanks!
@artkhov6060
@artkhov6060 Ай бұрын
I hate BGA😅 Great job!
@matgla95
@matgla95 Ай бұрын
Yes, they are not the best parts to hand solder. But I didn't have a choice :) and I always wanted at least to try solder BGA
@jagagemo8141
@jagagemo8141 Ай бұрын
Doesn't matter if it works, make it readable or I'm not approving your PR.
@matgla95
@matgla95 Ай бұрын
me too, it's totally unuseful code :) and it sometimes works because it uses old GCC compiler implementation hacks
@TT-it9gg
@TT-it9gg Ай бұрын
VGA signal is one thing. VGA card is another!
@matgla95
@matgla95 Ай бұрын
Of course! And this card will be a real "gpu" like card. With VGA( and DVI ) signals driven from PIO. And text and graphic modes frame generation on those 2 cortex-m33. I have a proof of concept on two raspberry pico with rp2040 with even some experiments with simple 3d acceleration.
@shivamsharma-ey7hg
@shivamsharma-ey7hg Ай бұрын
I would really love to see you mod this fpga to simulate retro systems 😊
@matgla95
@matgla95 Ай бұрын
I have plans, but let's the future verify my free time :)
@shivamsharma-ey7hg
@shivamsharma-ey7hg Ай бұрын
Can this play doom
@matgla95
@matgla95 Ай бұрын
Doom is achievable on the pure MSPC mother board, since it is possible to run doom on RP2040: kilograham.github.io/rp2040-doom/
@Thevindu_Senanayake
@Thevindu_Senanayake Ай бұрын
what is the simulation software you are using
@matgla95
@matgla95 Ай бұрын
Hi, it is www.falstad.com/circuit/ I like it for simple circuits, because of its simplicity.
@IronFractal
@IronFractal Ай бұрын
circuitjs by falstad
@gnu-lynx2501
@gnu-lynx2501 Ай бұрын
wow, that's a cool computer! I love the custom graphics! Btw 20k logic elements is already enough for simulating an entire amiga in fpga, so maybe other innovative uses for 84k fpga would be even more attractive. That's close to the 110k of the 68080 Vampire amigas using the cyclone 5 fpga.
@matgla95
@matgla95 Ай бұрын
Yes, most probably more than enough for me :) When I was selecting an FPGA 2 or 3 years ago, I found that the ECP5 family was quite cheap. Initially, I planned to order a 24k/44k LE version, but then I saw that some stores in other EU countries had a reasonable price for an 84k version, so I ordered two. And they have been waiting till now :)
@gnu-lynx2501
@gnu-lynx2501 Ай бұрын
@@matgla95 good decision, they come to perfect use now.
@matgla95
@matgla95 Ай бұрын
Yes, and I am planning to offload some tasks to RP2350 on both the motherboard and VGA extension, so I should be able to save some logic elements for other tasks
@scottspitlerII
@scottspitlerII 2 ай бұрын
Is the external PSRAM or QSPI ram able to be encrypted on the fly or at rest with a key stored using the internal OTP storage? Like is this actually a secure device that will prevent people from hacking your IoT application and dumping your secrets
@matgla95
@matgla95 2 ай бұрын
That's rather question for RP2350 datasheet or designers (through raspberry forum), but looking quickly inside documents I don't think so. RP2350 contains encryption module with secure boot, but the flow is to verify image from QSPI flash then load decrypted image inside SRAM. And I would need to deep dive into datasheet, but I believe there is a way to prevent external access through JTAG/SWD and your software should be quite safe (of course except security leaks inside firmware itself)
@scottspitlerII
@scottspitlerII 2 ай бұрын
Even though you scrapped this I would love to see a video on this, I am curious if you would use something like LiteRPC
@matgla95
@matgla95 2 ай бұрын
It's not scrapped :) It's just evolution, complexity of hardware is going to be reduced, but components inter-working that I mentioned will be implemented to communicate between motherboard and extension cards. Previously I planned to use exactly the same implementation for north<->south communication and for north<->extensions. With RP2350 only north<->extensions is left.
@scottspitlerII
@scottspitlerII 2 ай бұрын
Gosh this is soooooo cool!!!
@matgla95
@matgla95 2 ай бұрын
thanks!
@慨留
@慨留 2 ай бұрын
where can I buy the RP2350 chip?
@matgla95
@matgla95 2 ай бұрын
Standalone chips are not yet available. But you can buy Raspberry Pico 2 which contains RP2350A.
@LoganE01
@LoganE01 2 ай бұрын
Very cool stuff. I hope to study enough to make my own board one day.
@matgla95
@matgla95 2 ай бұрын
Thanks! I hope it'll be working fine after soldering :D
@SvenHeidemann-uo2yl
@SvenHeidemann-uo2yl 2 ай бұрын
Now this is an interesting project. Exited to see it comming to live. A risc5 and arm cpu in 1? 😮
@matgla95
@matgla95 2 ай бұрын
Yes, exactly! Raspberry Pico 2 is already available to purchase. RP2350 inside contains dual core arm cortex-m33 and dual core risc-v, but you have to select which one you are going to use at startup ( as far as I know )
@exithe
@exithe 2 ай бұрын
I think this is great, you skiped some of the detial on VGA technology and how it syncs, and generates frames. I think going into that detail would help others gravitate towards your simple yet more detail then average videos. People want to know how things work but may not want the technical explinations. Great job!
@matgla95
@matgla95 2 ай бұрын
Thanks! This will be covered in a dedicated episode. I plan to make it together with graphs from the oscilloscope. But it must wait for RP2350 arrival and board soldering and most probably fixing :) this video is just a short overview of the first step!
@collimation
@collimation 2 ай бұрын
Nice work! Great piece of engineering 🎉
@matgla95
@matgla95 2 ай бұрын
Thanks!
@olaf_dreyer
@olaf_dreyer 2 ай бұрын
Awesome!
@matgla95
@matgla95 2 ай бұрын
Thanks!
@DenisBodor
@DenisBodor 2 ай бұрын
It's "risk 5" not "risk vee" ;)
@matgla95
@matgla95 2 ай бұрын
Of course you're right! I didn't know that, so thanks! So I'm sorry about my mistake inside video.
@ЕвгенийШепард-р2х
@ЕвгенийШепард-р2х 2 ай бұрын
Good work! Thank you for your video!
@matgla95
@matgla95 2 ай бұрын
Thanks!
@Programentalist
@Programentalist 2 ай бұрын
Interesting video, but I'm afraid I still don't really know how to design a PCB, I thought maybe you would go into detail about the design process but this was more of an overview of what you did.
@matgla95
@matgla95 2 ай бұрын
Yes, that's just overview. I just wanted to cover transition towards RP2350 from my RP2040 board, short overview of design and hopefully in near future short overview of soldering and debugging. Actually design for RP2040 or RP2350 is really well described inside their official hardware design guides. Second thing needed is general knowledge about PCB design and there is a lot of high quality channels with with people much wiser in that domain than me. I personally was learning from Robert Feranec channel.
@olaf_dreyer
@olaf_dreyer 2 ай бұрын
Great work! Looking forward to the next videos.
@matgla95
@matgla95 2 ай бұрын
Thanks! Since I am still waiting for RP2350 availability I am working on video edit for VGA and FPGA extension.
@sweet_cherry_blossoms
@sweet_cherry_blossoms 3 ай бұрын
awesome... i am excited to watch remaining.. i watched all you videos from inception of this series in one day...
@matgla95
@matgla95 3 ай бұрын
Thanks, keeping fingers crossed for your project !
@matgla95
@matgla95 3 ай бұрын
Thanks, new episodes are under recording. Hopefully I will release them soon!
@sweet_cherry_blossoms
@sweet_cherry_blossoms 3 ай бұрын
This is fascinating !!!!
@matgla95
@matgla95 3 ай бұрын
Thanks!
@matgla95
@matgla95 3 ай бұрын
Thanks!
@sweet_cherry_blossoms
@sweet_cherry_blossoms 3 ай бұрын
The overall series is amazing, as a first step i will try to replicate this whole thing from scratch. am sure i will learn a lot.
@matgla95
@matgla95 3 ай бұрын
My goal was to show all steps of the project, but then I realized that it is hard to follow. I hope some day I will find the balance between what to show and what to cut :)
@sweet_cherry_blossoms
@sweet_cherry_blossoms 3 ай бұрын
one more thing i felt is that video length is too long, my suggestion is always keep the video under 20 minutes. and have a series instead of single long video.
@matgla95
@matgla95 3 ай бұрын
Yeah, that's true, that new videos are much shorter.
@sweet_cherry_blossoms
@sweet_cherry_blossoms 3 ай бұрын
may be you could lower the volume of music while you are speaking. its bit distracting. i was trying hard to concentrate on what you are saying by replaying multiple times.
@matgla95
@matgla95 3 ай бұрын
Good to know. Latest videos use spectrum filtering to remove voice frequencies inside music. That one unfortunately does not use that yet.
@sweet_cherry_blossoms
@sweet_cherry_blossoms 3 ай бұрын
I have heard about PIC, but never why it was used, this video explains in a crystal clear manner. and now i have idea about how it does. THanks for the video.
@matgla95
@matgla95 3 ай бұрын
I am glad I helped you. In my experience I realized that almost all concepts are quite simple, even if they look complex.
@sweet_cherry_blossoms
@sweet_cherry_blossoms 3 ай бұрын
Nice Idea.. Keep rocking. !!!
@matgla95
@matgla95 3 ай бұрын
Writing a filesystem from scratch is also interesting. But for now I have to use something already existing.