Electronics > Microcontrollers
STC 8051 MCUs: yay or nay?
WattsThat:
Professionally, I have written tons of 8080 and Z80 assembler for industrial control in 80’s and 90’s, never used an 8051 so I felt like I missed a piece of history. When I discovered the cheap Chinese LED clock kits used the STC 15 series parts, I decided it was time to learn and so I wrote my own version of firmware for the clocks from scratch for fun, it’s one of several versions available on Github.
Started out with the bootleg Kiel stuff, which worked well but I didn’t like using it. Switched to SDCC without problem. I never found any buggie peripherals but I was only using the timers and uarts. The stuff just works. My only complaint would be the limited English based documentation and that all the demo programs, of which there are many, are about 95% commented in Chinese.
Would I use it for a product? No. But, that wasn’t the goal. If I had to do it over again, would I change anything? Probably not. But, if I had done it 10-15 years ago, it would have been a different result. What I learned was that the 8051 was a pretty limited machine. Not quite as pea-brained as the 8008 but it was a close second.
SiliconWizard:
I used Cypress FX1 and FX2, something like 15 years ago. For flexible and cheap USB interfacing, that was good enough. Used SDCC with them. A lot of limitations though. Back then, there was not a lot of options, at least at this price point and as flexible.
These days, I wouldn't touch them anymore. There are more MCUs with USB than we can imagine, at various price points. No reason to bother with 8051-based stuff anymore IMO. But the FX2 still finds its way in relatively recent products. I guess one benefit is that it's still cheap for USB 2.0 HS, and it has a FIFO interface.
nctnico:
--- Quote from: wraper on October 18, 2021, 08:35:56 pm ---
--- Quote from: zapzapouch on October 18, 2021, 08:24:31 pm ---VirusTotal still says it's bad: https://www.virustotal.com/gui/file/5127b7bb4886a232127e0fe9b02656e8fe46d01a31c0b6017e9b835bddae223a
--- End quote ---
It doesn't. All that it shows seems to be some false positives from heuristic analysis of mostly bottom of the barrel antiviruses. Not actual virus signature detection.
--- End quote ---
Recently I had a similar incident with my website as well. False positive for a self installing software package :palm: If you don't respond then the domain authority will disable your entire domain. The idiots running the scan service (Netcraft in this case) appearantly treat any installer as a potential virus :rant:
voltsandjolts:
https://www.stcmicro.com/rar/
STC actually have a copy of the Keil C51 compiler in their downloads section, with the crack tool included.
So professional.
zapzapouch:
--- Quote from: wraper on October 18, 2021, 08:35:56 pm ---It doesn't. All that it shows seems to be some false positives from heuristic analysis of mostly bottom of the barrel antiviruses. Not actual virus signature detection.
--- End quote ---
Malwarebytes detects malware, too.
--- Quote from: voltsandjolts on October 19, 2021, 12:07:57 pm ---https://www.stcmicro.com/rar/
STC actually have a copy of the Keil C51 compiler in their downloads section, with the crack tool included.
So professional.
--- End quote ---
It looks like the Keil_lic_v2.exe crack is the file that triggers the Malware.Heuristic. So it's just triggered because it modifies unrelated system files or something?
I guess this isn't the .rar file I actually need, though, if I already have a legit copy of Keil C51.
This page describes the process of adding it to Keil, which is actually done with the stc-ispX.XX.zip files. (Those get flagged as malware, too, but by fewer engines...)
* stc-isp-15xx-v6.88I.zip "3 security vendors flagged this file as malicious"
* stc-isp-15xx-v6.88I-tiny.zip "2 security vendors flagged this file as malicious"
Edit:
Malwarebytes and Avast didn't have a problem with stc-isp-15xx-v6.88I-tiny.zip, so I ran it, but then Avast had a problem with it. "Anti-Exploit shield".
Oh, it may just be from the software trying to contact www.stcmcudata.com which is on URL:Blacklist.
But that file doesn't seem to include the Keil modifications. The other one does? But that one asks for administrator permissions, also gets flagged as malware by a few engines, and includes instructions for modifying your system to allow drivers without signatures.
"由于 Windows10 64 位操作系统在默认状态下,对于没有数字签名的驱动程序是不能安装成
功的。所以在安装 STC-USB 驱动前,需要按照如下步骤,暂时跳过数字签名,即可顺利安
装成功。"
"Since Windows 10 64-bit operating systems by default cannot be installed as a driver without a digital signature for
Therefore, before installing the STC-USB driver, you need to follow the steps below to skip the digital signature for the time being, so that you can install it without any problems."
'电脑重启后,会弹出“启动设置”界面,按“F7”按钮来选择“禁止驱动程序强制签名”项'
'After the computer reboots, the "Startup Settings" screen will pop up, press the "F7" button to select the "Disable driver forced signature" item'
I've never seen any other embedded development software that requires all this...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version