WindowsPrerequisitesOnWindows, you will need a copy of the latest AtmelToolchain, either downloaded
and installed as a standalone package,or installed as part of AtmelStudio.You will need to ensure that the "bin" directory of the toolchain is available
in your system's PATH environment variable.
In addition, you will need to install a ported version of the ZSH or BASH *nix shells,
and a standard set of *nix utilities such as cut, find and sed.
These can be found in the "basic" system package of the of the MinGW installer (http://www.mingw.org).
Once installed, add the "msys\1.0\bin" of the MinGW installation folder is added
to your system's PATH environment variable.The bootloaders currently also require the "bc" application,
which can be installed fromhttp://gnuwin32.sourceforge.net/downlinks/bc.php.Once installed add the "GnuWin32\bin" path of the GnuWin32 installation folder
to your system's PATH environment variable.
Linux Prerequisites
On Linux systems you will need to install the latest Linux distribution
of the standalone Atmel Toolchain from the Atmel website for general development,
or use the latest avr-libc and avr-gcc packages for your chosen distribution's package
manager.For full device support, the Atmel standalone packageis recommended.
How 2 Flash
Connect your Arduino to USB and look witch comport it has
StartFlashMainChipArduinoMega to LW.bat
enter your Comport e.g com2 or com32 what ever
Remove USB
Connect your USBASP to the ISP header behind the USB port
StartFlash8u2-16u2ArduinoMega-with USBASP Dongle to LW.bat
ConnectThe USB port wait for reorgination the DeviceStartChangeArduLW ID.bat
Enter your LEDWIZ ID e.g.1or2 up to 16Thatis it test it withVisualpinball an Pinmame/DOF
Question
cyclemat
Here comes the LWClone on Arduino MEGA 2560
How to Compile
How 2 Flash
have make New packages 23.01.2016
https://mega.nz/#F!bdZHVaxK!3WmePgTED-3xQp8oj-ZfOA
one package with inverted LED ports so that High ist normal and low is on ( for the Relaisboards from ebay)
For Boards that say it gives problems with The STK500 Timeout Error Here ist a Short way to fix it !?!?
1. Connect the USBASP to the ISP connector behind the USB Port.
2.Start the "0. Flash 8u2 - 16u2 Arduino Mega - with USBASP Dongle to Arduino.bat"
3. Connect the USBASP to the Second ISP port
4. Start the "Flash m2560 Unlock fuses, erase, verify - with USBASP Dongle.bat"
5. Start the "Flash m2560 Write the bootloader, set the lock fuse, verify - with USBASP Dongle.bat"
Now you can flash it normaly
when the flash with the USB ASP didnt work test to bridge the GND point on the 10->6 Pole Converter
FOR HELP PLEASE POST YOUR PINMAP.H AS CODE AND WHEN YOU HAVE COMPILING PROBLEMS POST YOUR OUTPUT AS CODE SO I CAN BETTER
HELP
So have make a little Video tutorial don`t say anything about my english have do my best.
Link to comment
Share on other sites
Top Posters For This Question
57
24
21
18
Popular Days
Dec 2
8
Oct 25
6
Aug 25
5
Nov 13
5
Top Posters For This Question
cyclemat 57 posts
UncleSash 24 posts
Aetios 21 posts
Baronimg 18 posts
Popular Days
Dec 2 2013
8 posts
Oct 25 2014
6 posts
Aug 25 2014
5 posts
Nov 13 2014
5 posts
Popular Posts
cyclemat
Here comes the LWClone on Arduino MEGA 2560 How to Compile Windows Prerequisites On Windows, you will need a copy of the latest Atmel Toolchain, either downloaded and installed as a
cyclemat
call me vpin GOD
cyclemat
next week gives a Fix for the Analog support i hope it works with the analog Acelometers !
Posted Images
222 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now