The ADuC834 is a versatile microcontroller that can be programmed using the Arduino IDE, although it requires some additional setup since it is not natively supported by Arduino. Below is a detailed guide on how to get started with programming the ADuC834 using Arduino IDE.
Select “Tools” -> “Programmer” -> “Arduino as ISP”.
Click “Upload”.
Tips and Considerations
Clock Settings: The ADuC834 supports multiple clock sources, including internal clocks and external oscillators. Choose the appropriate clock source based on your requirements.
Fuse Bit Settings: When burning the bootloader, you may need to set the fuse bits to enable the bootloader.
Code Compatibility: While the ADuC834 is compatible with Arduino IDE, some advanced features or libraries may require additional adjustments.
By following these steps, you can successfully program the ADuC834 using the Arduino IDE. This approach leverages the power and simplicity of the Arduino ecosystem to work with the ADuC834, making it accessible for a wide range of projects.
If you encounter any issues or have further questions, feel free to reach out for assistance.
Hi @macbbs. This is a subject that is very interesting to me. I love to see a great diversity in the ecosystem of boards and microcontrollers for which there is open source Arduino framework support.
Unfortunately that link only gives a 404 HTTP response. And the same goes for https://github.com/8051duino, which means there is no user or organization named 8051duino on GitHub.
I also don't find any results from a Google search for "8051duino"
Can you provide any explanation of why the Arduino boards platform you mention doesn't appear to exist, or have ever existed?
Have you personally used this "8051duino" thing? Or is this just something you got ChatGPT to write for you without performing any verification?
@macbbs It is a bit odd that you started here with a "detailed guide" written in English, then in the next reply switched to only providing a cryptic link in Chinese. I don't think it is a very effective way of communicating.
If you are not fluent in English, that is fine. You can simply compose a high quality post in your native language and then use an automated translation service to convert it to English before posting. But your post is low quality even if we disregard the inappropriate language.
I'll fill in some of the information that you were not kind enough to provide. The link in @macbbs's post is the package index URL (AKA "additional boards manager URL") for the "STC51Duino mcs51 plain C core (non-C++)" boards platform. The GitHub repository for the platform is here:
The summary description for the repository translates to:
Arduino software development support package for the 8051 core series of MCUs based on STC 's company is currently the support package for the STC89C52RC learning MCU, which is convenient for developers to learn and use. In the future, it will be adapted to mainstream series chips such as STC12/STC15/STC8.
The information in the description regarding the supported targets appears to be a bit outdated (or maybe the automatic translation was imperfect?) as I see that the platform contains the following board definitions:
STC89C52_Duino
STC8A/G/H/F
STC15F/L/W
STC12C52/12C56/12C5A
STC89CxRC/RD+
Note that the name of this platform does not match the "8051duino" name specified in post #1, and it does not contain an "ADuC834" board definition as specified in that post.
@macbbs please provide a detailed explanation of the discrepancy between post #1 and the link you provided.
Have you verified that it is possible to develop firmware projects for the ADuC834 via the "STC51Duino mcs51 plain C core (non-C++)" boards platform? If so, please provide detailed instructions we can follow to do that.