MegunoLink Pro’s Program Device visualiser can be used to program Arduino’s, or any device supported by AVRDude. The Program Device visualizer supports a variety of programming tasks including:

  • Upload Arduino .hex files: like the Arduino IDE’s Upload command, this writes a program to an Arduino. Helpful when you’re done with development and just need to program devices, it also supports writing a bootloader and setting fuses. If you’re using a 3rd party development tool, MegunoLink can automatically detect changes to the .hex file and upload your program after each build.
  • Write Unique Ids to the Arduino’s EEPROM: wireless networks often need a unique address for each device. The EEPROM Id Writer lets you store a unique Id in each device’s EEPROM, which can be used for the device address
  • Download Arduino Program/EEPROM: the Downloader panel can download the program from the Arduino’s FLASH memory or EEPROM. Once you have the program you’ll be able to write it to other devices.
  • Starting an external program: this panel starts a batch (.bat) or program (.exe). It can be used to run custom test programs or upload programs to other micro-processors
  • Report test results: the Test Monitor Panel can be used to report pass/fail results from self-test code running on the Arduino. This lets you build simple tests for new boards as part of a production run

You can customize the programming visualizer for your application using these panels. Each programming step can run independently or you can run all steps in parallel or one after another. The Program Device visualizer is often used for setting up new devices with bootloaders, fuses and user program.

Programming Hardware Supported

MegunoLink’s Program Device visualizer supports a variety of programming hardware including:

  • Arduino serial bootloaders: the standard serial programmer used with COM ports.
  • AVR Dragon: AVR’s Dragon debugger and programmer.
  • AVR Mk II ISP: AVR’s ISP programmer.
  • Arduino ISP: use one Arduino to program another.

Setting up a Programmer

First you’ll need to create a Program Device visualizer in MegunoLink. This visualizer window hosts each of the programming panels. You can have different Program Device visualizers for different tasks. For example, you might want one for test programs and another for writing a bootloader and fuses onto a new device.

program Arduino devices

The Program Devices visualizer can be used to upload new Arduino programs, write ids and download Arduino memory simply by adding more programming panels to the visualizer. Here the visualizer is shown with a programmer panel.

Use the Add Programmer (add programmer) button on the toolbar to add the appropriate programmer. You can choose from:

MegunoLink will add a new programmer panel so you can configure the settings and program your device.

You can add as many programmer panels as you like. Use the Order Programmers button on the toolbar if you’d like to change the order.

Start Programming

Use the Program button to start each programmer separately. If you’d like to start all programmers at once, select Program All in Parallel from the programming sequence drop-down on the Program Device visualizer’s toolbar. This is useful for uploading a program to multiple devices in parallel. To run each program panel in series, select Program All Sequentially from the programming sequence drop-down. Check out Programming Sequences for more information.

MegunoLink captures the output from the external programs, such as AVRDude, that it uses. This output often contains more information that can helpful you figure out the problem when something goes wrong. To display the captured output, click the Show upload details button on the main toolbar.

Start typing and press Enter to search