Hi, I need to develop a program in C# that has the arduino code in a string, and need to upload that with the arduino code like de Arduino official prgram do. Someone can give me some information abouy that? Thanks
the arduino code in a string
The Arduino code is binary data, not a string.
and need to upload that with the arduino code like de Arduino official prgram do.
Something wrong with the IDE?
Enable verbose mode, and learn how the IDE does it. Then, make your C# application do the same stuff.
Could take a look here too:
SerialBootloader is a standalone, serial boot loader utility consisting of two parts: embedded bootstrap code that is loaded into the flash memory of a supported MCU, and the PC-based application that sends data to the embedded bootstrap over a serial link. The embedded bootstrap code uses the received data to program the internal flash memory and/or EEPROM of the MCU. A simple communication protocol is used to ensure proper programming.