Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
kninja_pi Newbie Joined: 02/07/2025 Location: United StatesPosts: 4
Posted: 05:23pm 01 Aug 2025
Copy link to clipboard
Print this post
Would it be possible to do basic OS Dev exercises on the CMM2? I'm not talking about porting Linux or compilers or anything like that. I was thinking something more like writing C code that would display a single character in the upper left hand corner. Would this be possible with the CMM2 Gen2 v2? I'm assuming I could do this using the STM32 dev environment for Linux. I'd probably need external hardware for debugging. I've looked around for these, but I'm not sure which to buy and I definitely don't want to buy the wrong thing. I would be very grateful for any advice at all (even trying to talk me out of it).
Thanks
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10315
Posted: 05:35pm 01 Aug 2025
Copy link to clipboard
Print this post
Are you thinking about a new bare-metal development using the CMM2 hardware as a base?
The simple debugger you would need is a ST-LINK. If you have any of the STM32 Nucleo dev boards these have an ST-LINK built onto them and this can be used to connect to the header on ISCP header on the G2. Alternatively you can purchase a stand-alone st-link V2 or V3 would both work
kninja_pi Newbie Joined: 02/07/2025 Location: United StatesPosts: 4
Posted: 05:42pm 01 Aug 2025
Copy link to clipboard
Print this post
Yes. I definitely want to look into bare-metal development using the CMM2 hardware.
Your suggestion of buying a Nucleo board is an excellent idea as I could get some "basic training" first and then move over to the CMM2 once I've learned a thing or two about playing with the STM32 platform.