12

Depending on how recent a version of the AT Instruction Set interpreter your chip has, the two instructions you tried may not be valid ones; they are not listed in Espressif's ESP8266 AT Instruction Set document. Searches for either "CIOBAUD" or "IPR" in the current document (version 1.5.3) return no results. The baud rate commands are now "AT+UART_CUR" ...


7

To answer the aspect of your question regarding the "firmware" on the ATmega328p MCU used in most of the Arduino boards: There is no firmware on the ATmega at all aside from the bootloader. The programs you write are running directly on the hardware. There are certain "fuse" settings which are set with a ISP programmer. However, there are only 24 of ...


7

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 controller chip. You can not use the ENC28J60 Ethernet controller with Ariadne. You will need an ISP programmer to burn the Ariadne bootloader to your Arduino ...


5

The teensy series from pjrc.com allows USB MIDI natively (full USB speed!). It works well and does not require any firmware tomfoolery. It can also do HID keyboard/mouse/joystick natively as well. There's the 2.0, which is 32u4, and the 2.0++ which has more pins and memory. If you want to step off the Atmel reservation the teensy 3.0 and 3.1 have more ...


5

Note the below chart, in regard to your under/over volting the device for different F_CPU, indicates the relationship. As a result you find most Arduino's run at 5V and a clock rate of 16MHz. While there are some 3.3V variants that run at 8MHz. However, the core library provided with the IDE typically has specific #if's for both 8 and 16 MHz F_CPU speeds, ...


4

There's two ways you can go about this - hardware and software. To do it in software would mean writing a new bootloader that supported whatever wireless medium you chose. The bootloader might end up quite large and thus restrict the size of sketch you are able to support. It may also require advanced programming techniques in order to fit it into memory. ...


4

I bricked my Esp with the same command, too. After hours of searching I found a way to reset the bricked esp. https://developer.mbed.org/users/sschocke/code/WiFiLamp/wiki/Updating-ESP8266-Firmware I had to set the baudrate to 115200 instead of 9600, and between the uploading files I had to disconnect the esp from power. I hope that helps you and everybody ...


4

I Connected an FTDI232 module at 115200 baud and could read the specs of the ESP8266 module now: AT+GMR AT version:0.40.0.0(Aug 8 2015 14:45:58) SDK version:1.3.0 Ai-Thinker Technology Co.,Ltd. Build:1.3.0.2 Sep 11 2015 11:48:04 OK After that I sent the AT+IPR=9600 command, which first seemed to do the trick. But after reboot of the module, all I got ...


4

In general, yes. The compile routine creates a .hex file in a temporary directory that contains the flash image for the device. One can use AVRDUDE to upload this .hex file to the Arduino from the command line. It is simply a matter of getting the command arguments correct in order to tell it where and how to upload the image. Enabling verbose output in the ...


4

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 uploaded) using ISP (in-system programming) over SPI. They don't support programming over UART out of the box. To receive new firmware over the serial port, a ...


4

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 UNO try: avrdude -patmega328p -carduino -P/dev/cu.usbmodemFD121 -b115200 -U flash:r:"flash.bin":r I think it would not be very hard to change that for a Mega....


3

There are plenty of examples of Arduinos being used to reprogram Arduinos: Using an Arduino as an AVR ISP (In-System Programmer) Standalone AVR ISP Programmer Shield Kit Atmega chip stand-alone programmer to upload .hex files Atmega bootloader programmer So the obvious choice here is to have two chips. One does the real work, the other one programs the ...


3

I played around more with it, and this code works: void MMA8452::initMMA8452(unsigned char fsr, unsigned char dr, unsigned char sr, unsigned char sc, unsigned char mt, unsigned char mdc) { MMA8452Standby(); //Set up the full scale range to 2, 4, or 8g. if ((fsr==2)||(fsr==4)||(fsr==8)) writeRegister(XYZ_DATA_CFG, fsr >> 2); else ...


3

A "jumper" is a little piece of metal (or a 0-ohm resistor) that connects two pads or pins together. So, create an electrical connection across J3 ("DFU programming jumper" in all the pictures). You will then be able to program the shield via USB.


3

To turn of the WiFi add the WiFi library and use WiFi.forceSleepBegin(); Firmware is the program/sketch that controls a MicroController Unit aka MCU (and in this case a Arduino). Best explanation I know is here: https://en.wikipedia.org/wiki/Firmware


3

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 unless you also take measures to node lock them. You could customize the USB VID/PID and descriptors, causing the device not to be recognized by a usual driver ...


2

Let focus on one thing at a time, that is flashing the 16u2. You can see if you've successfully done that when you can see the Arduino in your device-manager. First of, MEGA-dfu_and_usbserial_combined.hex is, as stated on the github page, for the 8u2, not the 16u2. Since you already have a ISP programmer you don't need the dfu functionality. You can just ...


2

You don't need to do something magical. Here's how you can use the Arduino IDE's affiliates. Once you compile or upload a sketch, the .hex file is automatically created and stored in your computer's drive that has the OS installed (I've found this on Windows). You can access it by navigating to the directory containing temporary files. Typically, the path ...


2

It is possible, but it's kind of hard(especially if you want to mod both the 8u2 AND the 16u2. I'd recommend the Teensy(https://www.pjrc.com/teensy/index.html) I recently posted a question about a question similar to yours and after hearing about all the pitfall I decided to go with the Teensy. I has much richer USB/HID support by default (You can start on ...


2

There are plenty of sites out there that document how to make/build such. Example: http://hunt.net.nz/users/darran/ or https://github.com/harlequin-tech/arduino-usb GOOGLE: build usb keyboard 16u2 Please note that when attempting this on the Uno R3, the DFU is updating the code on the 16U2 and not the 328p. I would suggest for novices to use the ...


2

The HEX file is simply a translated version of the AVR executable, which is in turn a translated version of AVR source code. There are many tools available for turning (compiling) AVR source code into an AVR executable, including but not limited to the Arduino IDE, Ino, AVR-GCC, and Atmel Studio. Note that all four tools will compile the code the same way, ...


2

http://altlab.org/d/m/jpralves/recover_atmega2560/ Change fuses/firmware depending on which side you are flashing (M2560/M16U2) Firmwares: Arduino-COMBINED-dfu-usbserial-atmega16u2-Mega2560-Rev3.hex / stk500boot_v2_mega2560.hex 1st command: avrdude -C avrdude.conf -P usb -p m16U2 -b 57600 -c usbtiny -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -...


2

This is the best solution I have found so far (source: GitHub gist) The two functions below are all you need to toggle your WiFi chip. The huge advantage of using these is that they work without having to invoke an ESP.deepsleep() call. Mind you, if you have already done an ESP.deepsleep(time, WAKE_RF_DISABLED) that means that your WiFi chip has been ...


2

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.


2

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 included and always running regardless of what you include or don't include in your sketch. Uploading a sketch doesn't replace those settings, and so they remain. ...


2

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 ESP8266httpUpdate.cpp


2

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 partitions, so you will need to create a custom one and link it to a menu entry (look at the boards.txt file to see how that is done). The existing partition ...


2

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. +---------------------+---------+ | | RxD Vcc | | Top View | IO2 RST | | | IO0 CPD | | | GND TxD | +------...


1

As noted in the I/O-Ports – Introduction section of the ATmega2560 datasheet, ... writing a logic one to a bit in the PINx Register, will result in a toggle in the corresponding bit in the Data Register. In addition, the Pull-up Disable – PUD bit in MCUCR disables the pull-up function for all pins in all ports when set. Bits masked with a zero won't be ...


1

The Electronics Stackexchange question avrdude error - stk500_paged_write() protocol error has answers that suggest three different tactics for protocol errors: • Upgrade the Arduino IDE from 1.00 to 1.05, or install "AVR-GCC Toolchain" via Homebrew; • Disconnect everything from TX / RX (Arduino digital pins 0 and 1); • Use shorter or different USB cables, ...


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