Skip to main content
5 votes
Accepted

Remotely uploading code to an Arduino board over the internet

You can upload to your Arduino board over Ethernet if you flash it with a special bootloader named Ariadne. You will need an Ethernet module or shield that uses the W5100, W5200, or W5500 Ethernet ...
per1234's user avatar
  • 4,298
5 votes

Wiring when burning the bootloader of esp8266

The ESP8266 already has a bootloader to upload new firmware over UART. You don't need to burn anything, and you don't use SPI to program it. AVR microcontrollers are programmed (aka flashed, or ...
tttapa's user avatar
  • 1,330
5 votes
Accepted

Is it possible to extract a hex file via UART from an Arduino?

AVRDUDE which is used by the IDE to send the content of HEX file from your computer, as a feature letting it to get back the data of the flash, in order to compare and see if data are correct. For a ...
Peter's user avatar
  • 365
5 votes

Upgrade ESP-01 firmware on MacOS

Here is the step-by-step on upgrade the ESP-01 AT Command firmware (for running on macOS). Wiring For flashing the ESP-01 firmware, you need to have a USB-TTL adaptor as a programmer. +----------------...
hcheung's user avatar
  • 1,978
3 votes
Accepted

Creating firmware redundancy on Arduino Nano

More powerful MCU with large flash memory have partitioning or flash memory banks where they can switch between different versions of the firmware. They have a register to set the start address so the ...
Juraj's user avatar
  • 18.3k
2 votes
Accepted

Is it possible for Arduino firmware to recognise only one computer?

No. However, it is possible to place unusual and/or secret requirements on the computer's drivers or application software - however those software components could be present on multiple computers ...
Chris Stratton's user avatar
2 votes

Can the WiFi on ESP8266 be disabled?

Many esp8266 devices by default start in (WIFI_AP) SoftAP mode, and will appear as a wifi network access point, waiting for stations to connect. User code in any sketch, should explicitly set wifi to ...
DWB's user avatar
  • 141
2 votes
Accepted

How to get ESP8266 firmware version?

ESP8266 and the AT firmware are products of Espressif. They have everything documented on the web site. The AT command for version is AT+GMR.
Juraj's user avatar
  • 18.3k
2 votes

Using the Broadcom AFBR-S50 with Arduino

I also have been digging for information about the AFBR-S50MV85G and similar sensors for the past week. Well, I am trying to port it to ATxmegas (ICs that are similar to those ATmegas used in the ...
Felipe Schneider's user avatar
2 votes

Using the Broadcom AFBR-S50 with Arduino

I recently looked into this again, and it turns out that Broadcom had released a porting guide for this library in August 2020 (nearly a year after I originally posted this question) that should prove ...
Joseph's user avatar
  • 51
2 votes
Accepted

Firmware backup and restore

Yes. You need to create a factory partition and upload your bin file to there. You can read more about ESP32 partitions here Note that none of the partition schemes in the ESP32 core have factory ...
Majenko's user avatar
  • 106k
2 votes

Why is my esp8266 still visible under "available connections" when connecting to WiFi?

It's because you don't actively program the WiFi - you just give instructions to configure it, and those instructions are stored elsewhere in flash, separate to a sketch. The WiFi code is always ...
Majenko's user avatar
  • 106k
2 votes

Is it possible to extract a hex file via UART from an Arduino?

It looks like my other answer was completely wrong, so I've deleted it. Yes, you can read back the flash using the USB interface, as Chris Stratton pointed out, and Peter mentioned in his answer. The ...
Nick Gammon's user avatar
  • 38.9k
2 votes

Unable to upload code to my digispark ATtiny 85 after upgrading bootloader

It seems the latest version (1.6.7) of the Digispark board support package is quite old, older than I'd have guessed. And so it does come with an old Micronucleus programming tool. The tool appears to ...
timemage's user avatar
  • 5,719
2 votes
Accepted

Create a system of hot swap firmware update on Arduino Nano?

The InternalStorageAVR in my ArduinoOTA library can write a binary into the upper half of a classic AVR MCU flash. The library doesn't allow to use it with Nano because of the small flash size, but it ...
Juraj's user avatar
  • 18.3k
2 votes

Create a system of hot swap firmware update on Arduino Nano?

That sounds similar in principle to some of the SD card bootloaders that I recall reading about a few years ago. These bootloaders would look for a file on SD card when triggered and then write that ...
user85471's user avatar
  • 836
2 votes

Can the ATTiny88 be programmed via I2C from a Raspberry Pi?

According to the datasheet: The device provides a self-programming mechanism for downloading and uploading program code by the MCU itself. The self-programming can use any available data interface ...
Nick Gammon's user avatar
  • 38.9k
1 vote

Micropython installation on Arduino nano

Welcome to Arduino StackExchange: Firstly your computer translates double dashes into single long dashes. the dashes should be double dashes (--) for options such as --offset, --port, etc. The ...
b1n3t's user avatar
  • 286
1 vote

Updating the firmware of Arduino Mega2560

https://www.mathworks.com/help/supportpkg/arduinoio/ug/configure-setup-for-arduino-hardware.html This link has the instructions for connecting the Arduino board. Look right at the first where it ...
Delta_G's user avatar
  • 3,391
1 vote
Accepted

How to store firmware configuration or image in source-control?

For libraries only add comment next to #include with version number and author's name if the library is in Library Manager or the download location if it is not in Manager. Example: #include <...
Juraj's user avatar
  • 18.3k
1 vote
Accepted

EEPROM: managing address mapping between firmware versions

There's lots of ways you could handle this. Two thoughts right off the top of my head: Have a "Version" identifier in the EEPROM. The firmware then needs to know the EEPROM layout of all versions ...
Majenko's user avatar
  • 106k
1 vote

Is it possible to extract the firmware of an Arduino BLE or IoT board wirelessly?

Technically, the firmware can read its own application section, but it won't send it to you wirelessly (or via any interface) if such a feature isn't implemented in that firmware. If you were to ...
Sim Son's user avatar
  • 1,878
1 vote

How to extract code on one DT-06 board to another board?

Okay. I found a way to extract the binary file (stock firmware) from one DT-06 and flash it to another modified DT-06, by using esptool command /*To extract firmware */: esptool.py -p COM4 -b 460800 ...
bthoven's user avatar
  • 31
1 vote

ESP8266-01E is not responding after successful flash

SOLVED My module is esp8266-01S, i need to set the SPI MODE to DOUT, BAUDRATES=115200, SPI SPEED 40MHz and the software is NODEMCU FLASHER. The important keyword is "DOUT". I have been flash ...
Muhammad Ikhwan Perwira's user avatar
1 vote

Can Only Upload Arduino Sketch Once to Custom Mega2560 Board

Your RESET circuit is wrong. You have no pullup resistor on the RESET pin of the ATMega3560. You have an extraneous pulldown resistor on the D7 pin of the 16U2. That means your 16U2 will not be able ...
Majenko's user avatar
  • 106k
1 vote
Accepted

AT firmware upgrade in ESP-01 using Arduino UNO R3

Do I need to remove the Microcontroller Chip from the DIP socket before burning firmware? No, just connect RESET to GND to stop the MCU from running. Does it going to affect Arduino Bootloader? No.
Majenko's user avatar
  • 106k
1 vote

Why is their need of response time needed in esp8266 AT commands?

Your esp8266 firmware isn't required to wait before responding to the atmega2560, but the reality is that it simply can't respond in zero-time. The esp will take some processing to interpret the ...
JRobert's user avatar
  • 15.4k
1 vote

samd21 linking, change the base addresse from the default

A typical LD script consists of two sections - one that defines memory ("MEMORY") regions, and another that defines what to put in those memory regions ("SECTIONS"). To carve holes in an existing ...
Majenko's user avatar
  • 106k
1 vote

Remotely uploading code to an Arduino board over the internet

This will do it. ESP8266 as wireless AVR (arduino) ISP programmer. https://github.com/rene-win/esp_avr_programmer or https://github.com/jeelabs/esp-link The ESP8266 can be programmed with the ...
Rudy's user avatar
  • 993
1 vote

GPRS Based OTA to the NODEMCU

Download the bin file over GPRS and then use the Update singleton object. It is declared in Update.h. Example is ArduinoOTAClass::_runUpdate() in ArduinoOTA.cpp or ESP8266HTTPUpdate::runUpdate() in ...
Juraj's user avatar
  • 18.3k

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