LDmicro and Arduino
LDmicroGitHub edited this page Jun 9, 2017
·
14 revisions
LDmicro provide two ways for Arduino boards users:
- User develop ladder logic diagramm (LD file),
LDmicro "Compile" LD to HEX file,
external programmer burn HEX file to the Arduino board.
See HOW TO: Using LDmicro and Arduino board without an Arduino software - User develop ladder logic diagramm (LD file),
LDmicro generate Arduino Sketch(INO,CPP,H files),
Arduino IDE "Verifi/Compile" Sketch(INO,CPP,H files) to Sketch.INO.HEX file,
Arduino IDE "Upload" Sketch.INO.HEX file to the Arduino board using bootloader,
OR Arduino IDE "Upload Using Programrer" Sketch.INO.HEX file to the Arduino board using an external programmer.
See HOW TO: Integrate LDmicro and Arduino software
For example:
1. 1. LDmicro can generate a HEX file directly for many Arduino boards.
You should select proper processor in LDmicro.
For "Arduino UNO" board you should select "Atmel AVR ATmega328 28-PDIP" in LDmicro.
1. 2. Burning HEX to the Arduino board with an external programmer. Like:
1.2.1. Console utility AVRDUDE - AVR Downloader/UploaDEr
Avrdude Summary
Avrdude Homepage
https://www.arduino.cc/en/Hacking/ParallelProgrammer
1.2.2. You can see a lot of external programmers in AVR Studio menu Tools->Program AVR->Connect...
1.2.x. Propose your AVR burn programmer.