i'm not sure how the "arduino" configuration in avrdude works. have you tried the arduino mega template? the difference is that it specifies stk500 as the programmer, inserts the -F option for you, and uses 57600 baud, you still need to pick a port. If that doesn't work, go into command line and just type it all out and see if it's my editor's problem or something else.
Ok, back at the mega template i have had a little success - i was able to upload sketches but i think i may also have found a problem.. could it be that you dont send the auto reset signal? I was onlu able to upload when resetting myself..
Hm, i have the 'Autoreset Problem' on 2 Duemilanove, the Seeeduino Mega and Modified Pico, all show the same exact behavior. Using the original IDE there is no problem with the reset though.
The other thing is that it seems - here, that programs may be compiled and even uploaded but they dont 'show' up on the arduino... The Arduino keeps running the sketch that was uploaded before (or rather: With another IDE)..
Strange.. i wished this IDE did work the way it looks - that would be finally THE ide for me...
what the heck? that is a weird problem, you mean the hex code file is generated, and the programmer reports successful upload, but the chip still executes old code?
my build method should check for the hex file's existence when it finishes, if it reports succcessful, then the hex file does exist.
avrdude, when the burn button is pressed, is set to target that file regardless of whether that file exists or not, if it does not complain that the file is missing, then it is uploading the correct file.
it seems almost as if avrdude used another file on the system, it would be impossible for my program to know where that file is :-/
does avrdude actually say that it was successful?
does the arduino bootloader support verification? all the settings in boards.txt says they use stk500's protocol, am I wrong on this?
might take a day or two to fix these things, i'll also need to burn the bootloader on a chip and test myself, good thing i actually have a freeduino board...
which should translate into something similar to what i did
the -R options will remove those sections, but actual program data should be in .text .data and .bootloader, which are not removed by -R, this is weird
The latest featured alpha version has working intelligent autocomplete. it is variable scope aware, it also checks which files you've #included so it gets all the functions and keywords from there too. each keyword in the autocomplete has a icon with the color indicating where the keyword came from (C, CPP, Arduino, AVR Libc module, or user defined) and a shape indicating what it is (type, function, statement, variable, etc)
it's as close to intellisense as i can get to at the moment without basically writing a C compiler of my own.
New update must be downloaded as a package, it includes a new feature i called "hardware explorer", it displays information about your chip, such as memory, available hardware IO registers (their name, description, bits, descriptions for the bits, R W or RW, etc), available interrupt vectors (name, with new and old vector spellings), pin discriptions for all available packages, and some other stuff.
This looks great but I'm having trouble getting started trying it out. How do I tell it where avrdude and avr-gcc etc. are installed? I don't see any options in the config screen for that, and it can't find either of them (they are in "D:\arduino-0017\hardware\tools\avr\bin" in my case).
it expects you to have an installation of WinAVR, you must be able to launch the avr binary utilities from the command line without a full path or being in their directories.
I am experiencing some problems though with code that compiles ok in the Arduino IDE, but not with yours. For example, I am using NewSoftSerial and SoftwareServo in my PDE. For both libraries I have an include. For example, I get messages: 'NewSoftSerial' does not name a type, 'Servo1' was not declared in this scope. Maybe it is a setting I am not aware of, but like I said, I don't get these messages in the Arduino IDE.
I also have a couple of suggestions:
For example, Ctrl-G, to Go To a line (like in VS editor)
Automatic save of (changed) files for backup every 5 minutes or so (I mention this because I let my computer on last night, for some reason the computer shut down and I lost my changes)
At first!: very nice project! Your IDE feels and looks very nice! Keep up the good work! Works like a charm when configured correctly!
I have some small issues though:
In the Project Configuration screen, the AVRDUDE Command Builder parameters reset every time, except for the port override option. Also tried it applying the Atmega328p template, but it still resets to the first items in the list. When configuring the right options, save&close the dialog, then program it does work correctly. Though it does not seem to read back the project data or something when reopening the project config dialog.
I have a library file in my project dir, "libACW001.a" and .h. which I use for several functions. In AVR Studio 4 this works fine, by setting my project dir as library path. The files then appear as libraries which can be added in the project config dialog in AVR Studio. Though AVR Project IDE seems not to search this dir? The file libACW001.a does not appear in the available link objects list, where it does in AVR Studio.
Manually adding the file via the add file option introduces the entire path as well causing the following error: