8051 is terrible architecture
one dollar STM32F103C8T6 is much-much better and much-much more comfortable for programming.
I agree! ... tho the STM32F103 announced in 2007 is getting a little old in the tooth and has a few limitations that the newer STMF or L models don't.
CAN Bus Shares memory with the USB hardware, which means that USB and CAN cannot be enabled at the same time
Serial Comms No Autobaud
Nevertheless a STM32F103C8T6 is *immensely capable*, lightning fast, 32 bits, 53 peripherals on chip has every development tool one could ever ask for, and all Free.
I bought 10 off STM32L162RDY6TR from Arrow a couple of weeks ago for $0.90 AUD each and free shipping. These 32 bit MCUs have 384KB of Flash, 12 KB of eeprom and 48KB of ram and 46 peripherals on chip. just like the STM32F103C8T6, this mcu also has every development tool one could ever ask for, and all Free.
I also bought 10 off STM32L053C8 for $0.46 AUD with free shipping.
Delivery from the USA to my doorstep in Australia via TNT ... 4 days including a weekend !
If you shop carefully there is no reason to buy seemingly cheap Chinese homegrown 8041 mcus with no tools, scant English documentation and few internal resources when you can get really cheap, proven ARM Cortex-M's with established and proven, free toolchains for around half a dollar