Skip to main content
14 votes

Can I program for Arduino without having a real board?

Edit 2: Please hit the like button to support free Arduino simulator 😀 I am working with the new Wokwi Arduino Simulator. Wokwi Arduino simulator is based on AVR8js engine which is made open-source. ...
ArduinoFan's user avatar
  • 1,059
5 votes
Accepted

Is it possible to use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage?

The answer is "yes, you can use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage, very similar to an STM32 microcontroller." One of these days I'm going to write an Arduino ...
Gabriel Staples's user avatar
5 votes

Is it possible to use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage?

Yes you can. This Arduino IDE add on lets you make calls to code store in the bootload of memory so you can make changes to the flash memory. https://majek.sh/en/writing-to-internal-flash-on-arduino/ ...
CrossRoads's user avatar
  • 2,415
3 votes

Can I program for Arduino without having a real board?

a way I can write my code and emulate/test it using a desktop computer If you mean being able to "unit test" using a desktop computer, I can offer a library I wrote called arduino_ci. It doesn't ...
Ian's user avatar
  • 181
3 votes

Is there an Arduino Simulator or Emulator that runs on OS X?

I am using the Wokwi Arduino simulator for a long time. It runs on all three platforms. Mobile, Windows OS, and macOS. I have checked the working of the simulator in both Android and iPhone. Both give ...
Sonder's user avatar
  • 191
3 votes

How compile an Arduino program for a desktop PC

If you want to run the Arduino sketch on your desktop, you just have to implement the Arduino core library for your PC. It may not be as bad as it sounds. If your program makes only minimal use of ...
Edgar Bonet's user avatar
  • 43.3k
3 votes

is there any real arduino emulators (so I can upload and run machine code on it)

Disclaimer: I have no affiliation with Wokwi (based on opensource AVR8js engine) except that I have learnt a lot from it. I just tried it on the free Wokwi Arduino simulator(my favourite Arduino ...
ArduinoFan's user avatar
  • 1,059
1 vote

Emulating Arduino Uno with QEMU: interrupts do not work

The documentation of qemu-system-avr says: [...] ATmega controller, which model is limited to USART & 16-bit timer devices, enough to run FreeRTOS based applications [...] It means the emulator ...
1 vote

Can at least one Arduino emulate a USB hub?

Since an Arduino is "just" a microcontroller with some specific bootloader and commonly programmed via the Arduino IDE, you can also program it like any other microcontroller. There are ...
the busybee's user avatar
  • 2,088
1 vote

is there any real arduino emulators (so I can upload and run machine code on it)

There are many different processors used in making many different types of Arduino boards. So there is no one way to write Arduino machine code. There are emulator for simpler processors available ...
st2000's user avatar
  • 7,340
1 vote

Is it possible to use extra AVR Flash memory as non-volatile EEPROM-like Flash memory storage?

Take a look at section 30.8 in the datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42735-8-bit-AVR-Microcontroller-ATmega328-328P_Datasheet.pdf It has all the information to ...
SDF's user avatar
  • 11
1 vote

Can I program for Arduino without having a real board?

An alternative to simulators are services similar to online compilers like coliru, which allow users to build and run their code on a remote system. This approach has the same limitations as online ...
Dmitry Grigoryev's user avatar
1 vote

Can I program for Arduino without having a real board?

Yes you can, and fairly easily. There is a wonderful online simulation (completely free) called TinkerCAD. It has an excellent breadboard simulation, with parts like transistors, LEDs, ICs, and ...
I. Golsby's user avatar
  • 161

Only top scored, non community-wiki answers of a minimum length are eligible