roberto1903 / companion9x

Automatically exported from code.google.com/p/companion9x
0 stars 0 forks source link

Can`t select new Programmer type #142

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I added a new version of avrdude exe and config file to C9x to add a new 
programmer type.

I can see the new programmer on the "List Available" inside the "Configuration 
AVRDUDE/SAM-BA", but can`t select.
It will not be shown in the pull down list and there is no way to edit the 
"Programmer" field manualy like the "Extra Argument" field.

Thanks

Original issue reported on code.google.com by angoliman@ewetel.net on 5 Mar 2013 at 9:34

GoogleCodeExporter commented 8 years ago
The dropdown list is actually retrieved from the "avrdude.conf" file at the 
standard location (c9x folder on Windows). Is the file correctly named?
Could you post your avrdude.conf here for a check? 

Original comment by bernet.a...@gmail.com on 6 Mar 2013 at 12:38

GoogleCodeExporter commented 8 years ago
Yes, it is correctly named. As I mentioned before I can see it in the List 
Available.
Otherwise this listing would not work.

Attached is the new avrdude.conf file and avrdude.exe.  

Original comment by angoliman@ewetel.net on 6 Mar 2013 at 6:42

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks. But then knowing which programmer you're trying to select might help ;)

Original comment by bernet.a...@gmail.com on 6 Mar 2013 at 7:11

GoogleCodeExporter commented 8 years ago
Oh sorry, it`s "bluec"

Original comment by angoliman@ewetel.net on 6 Mar 2013 at 7:17

GoogleCodeExporter commented 8 years ago
List Available doesn't read the avrdude.conf file, but executes "avrdude.exe 
-c?". By doing this, you ask avrdude to read itself the avrdude.conf file.

As André says, the dropdown list is retrieved either from the avrdude.conf 
file, or comes from the default companion9x list.

I suppose here you have the default companion9x list, or another avrdude.conf 
file is read instead of yours. On Windows, the avrdude.conf must be in the same 
directory than your avrdude.exe file

Original comment by bson...@gmail.com on 7 Mar 2013 at 3:17

GoogleCodeExporter commented 8 years ago
Sorry, I don`t get it what you are saying. I did it correctly as you can see in 
my first post above.
I REPLACED both exe and conf file inside the c9x folder with the new files. 
Then I can see "bluec" in the List Availabe. But I can`t see "bluec" in the 
pull down list.
So where else is c9x looking for conf file for dropdown list if not in his own 
folder ??

Another test shows me that if I start the new averdude.exe from the dos command 
line with bluec as programmer, read and write to Atmega works without any 
problem.   

Original comment by angoliman@ewetel.net on 7 Mar 2013 at 10:09

GoogleCodeExporter commented 8 years ago
OK, I can confirm c9x is supposed to look for "avrdude.conf" in the same folder 
that is specified for the avrdude binary. But for some reason it never finds it 
and thus always reverts to the internal list, even if the specified folder has 
no spaces or such.

Original comment by bernet.a...@gmail.com on 7 Mar 2013 at 11:15

GoogleCodeExporter commented 8 years ago
Fixed in SVN

Original comment by romolo.m...@gmail.com on 12 Mar 2013 at 10:55

GoogleCodeExporter commented 8 years ago

Original comment by romolo.m...@gmail.com on 12 Mar 2013 at 10:56

GoogleCodeExporter commented 8 years ago
Just tested with v1.19 and it works like a charm now !!!
Thanks for your effort.

Original comment by angoliman@ewetel.net on 21 Mar 2013 at 11:10

GoogleCodeExporter commented 8 years ago

Original comment by bson...@gmail.com on 22 Mar 2013 at 6:11