Firmware for the MegaWiFi Programmer.
C C++ Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Board
Config
16c550.c
16c550.h
Descriptors.c
Descriptors.h
Doxyfile
LICENSE.md
README.md
bloader.c
bloader.h
cart_if.h
flash.c
flash.h
makefile
mdma-fw.c
mdma-fw.h
mdma-pr.h
slip.c
slip.h
sys_fsm.c
sys_fsm.h
timers.c
timers.h
util.h
wifi-if.c
wifi-if.h

README.md

mw-mdma-fw

Firmare for the MegaWiFi Programmer. Firmware produced by these sources must be programmed to the microcontroller inside a MegaWiFi Programmer for it to work properly. It is prepared to be used in conjunction with mw-mdma-bl bootloader (a LUFA DFU based bootloader) to be able to boot from the bootloader, and enter bootloader mode for firmware download.

Building

You will need avr-gcc, avr-binutils and avr-libc to be able to build the sources. You will also need a recent LUFA library installation. Edit makefile file, and change the LUFA_PATH definition to match the path where you have installed LUFA library:

LUFA_PATH   ?= $(HOME)/src/avr/lufa/lufa-latest/LUFA

Then cd to the path where the sources of this repository are located and simply run:

$ make

To burn the new firmware you can use your favorite tool. If the microcontroller has a DFU bootloader burned, you can enter DFU mode (e.g. keeping the pushbutton on the programmer pressed while plugging the USB cable) and burn the firmware by running:

$ make dfu

Once flashed, you can use mw-mdma-cli tool to to talk to the MegaWiFi Programmer.

Authors

This program has been written by doragasu. It uses the wonderful LUFA library by Dean Camera.

Contributions

Contributions are welcome. If you find a bug please open an issue, and if you have implemented a cool feature/improvement, please send a pull request.

License

This program is provided with NO WARRANTY, under the GPLv3 license.