Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Using my ISP Programmer from the Arduino plugin?
Using my ISP Programmer from the Arduino plugin? [message #1767518] Thu, 06 July 2017 13:22 Go to next message
Eclipse UserFriend
Hi,

I am running the C/C++ IDE (Oxygen) with both the Arduino and AVR plugins installed.
I have only been able to create an Arduino Project (Project Explorer | New | Project | Arduino) OR an AVR project (Project Explorer | New | C (or C++) Project | AVR Cross Project Application).

Neither of which will allow me to (easily) create an Arduino program and write it to my ATMega328 via my Olimex AVRISP Mk2 programmer. Currently, I have to build my Arduino project, then drop into a command shell and AVRDude my .hex file to the CPU.

There must be a more elegant way? What about the "Connections" Tab. Is that a possible route? I don't see any USB port options in the New Connection Wizard?

Regards, Martin
Re: Using my ISP Programmer from the Arduino plugin? [message #1767531 is a reply to message #1767518] Thu, 06 July 2017 16:20 Go to previous messageGo to next message
Eclipse UserFriend
The quick answer is, no, there is no elegant way. I'm not even sure there's a complicated way.

The AVR plug-ins are done by someone else. They aren't part of the CDT so I have no idea how they work.

There are some programmers available to the Arduino CDT plug-ins but I don't think I have them really hooked up anywhere.

Since I don't have such things, I would need someone who has such hardware to contribute to making them work.
Re: Using my ISP Programmer from the Arduino plugin? [message #1767532 is a reply to message #1767531] Thu, 06 July 2017 16:26 Go to previous messageGo to next message
Eclipse UserFriend
Hi Doug,

Thank you for the quick reply. Okay, I'll quit trying. Its not the end of the world.

Regards, Martin
Re: Using my ISP Programmer from the Arduino plugin? [message #1767568 is a reply to message #1767532] Fri, 07 July 2017 04:05 Go to previous message
Eclipse UserFriend
You can create an external tool run (run button with briefcase) for AVRDude. Click the triangle right of the button and set up the working directory and parameters for it.

I'm using it for Cortex OpenOCD:
Name: OpenOCD
Working directory: ${project_loc}
Arguments: -f ${project_loc}/openocd.cfg

The location macros can be easily accessed using the 'Variables' button.
Previous Topic:Warning for uninitialized variable in chained constructor
Next Topic:C++ 11 begin() and end() functions
Goto Forum:
  


Current Time: Mon Mar 24 09:40:05 EDT 2025

Powered by FUDForum. Page generated in 0.04150 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top