Author Topic: Any issues?  (Read 5366 times)

Offline Beanbag109

  • Sr. Member
  • ****
  • Posts: 130
  • "If I bulid it, it will flash and blink"
Re: Any issues?
« Reply #30 on: June 25, 2014, »
okay guys,
I am so close!   ;D  and I'm not depressed, because I am getting a better understanding. Thanks to everyone so far!

I put in the  quotes, tried again and got in the command prompt:


C:\Users\Owner\Documents\MY DOCS\Xmas lights\Panther Sequence Builder>"C:\progra
m files\arduino\hardware\tools\avr\bin\avrdude" -c usbasp -p m328p -b 19200 -U f
lash:w:"C:\Users\Owner\Documents\MY DOCS\Xmas lights\Panther Sequence Builder\Pa
ntherDMXPlayerV200.tex":i -U lock:w:0x0f:m
avrdude: can't open config file "": Invalid argument
avrdude: error reading system wide configuration file ""

C:\Users\Owner\Documents\MY DOCS\Xmas lights\Panther Sequence Builder>pause
Press any key to continue . . .

re-reading the instructions, I saw that it said to drop the HEX file on to the batch file. I was using a TXT file for the PantherDMXPlayerV200 file. So I saved it as a HEX and tried it again. Same response (other that it saying PantherDMXPlayerV200.hex).

Offline TexasStingray

  • Moderator
  • Sr. Member
  • *****
  • Posts: 791
Re: Any issues?
« Reply #31 on: June 26, 2014, »
Not sure exactly what you have in your bat file but it should look something like this

"D:\Arduino\arduino-1.0.5\hardware\tools\avr\bin\avrdude" -c usbasp -p m328p -b 19200 -U flash:w:%1:i -U lock:w:0x0f:m
pause


Note there are only 2 double quotes
Scott Wanner
TX

Watch my videos
You are not allowed to view links. Register or Login

Offline tbone321

  • Sr. Member
  • ****
  • Posts: 3984
Re: Any issues?
« Reply #32 on: June 26, 2014, »
I believe that he is showing you the output from the batch file that he was running.  The %1 in the batch file would be replaced with the fully pathed file name which is enclosed by the second set of quotes.  Is there a limit on the size of file name that avrdude works with since that file name is huge and really doesn't need to be so.  Another thing to look at is what you are creating the file with and how you are saving it.  Make sure that if you are using a Windows program that you save it directly as a hex file or as other.  If saved as text an you give the file a .hex extension, windows in its brilliance will still add the .txt extension to it.  Windows, also by default, hides common known extensions so the file you saved as file.hex may really be saved as file.hex.txt with the .txt extension hidden.  I would also shorten that file name to a Linux type 8.3 file name to eliminate any possible issues there. 
If at first you don't succeed,
your not cut out for sky diving

Offline Beanbag109

  • Sr. Member
  • ****
  • Posts: 130
  • "If I bulid it, it will flash and blink"
Re: Any issues?
« Reply #33 on: June 26, 2014, »
Wow, a lot of info...

I havent had a chance to fiddle a bit, but with windows explorer, I see the file IS a HEX type file, as described by the explorer. is it safe to assume that it is truely a hex file?

Should I move the Arduino folder someplace less "deep" ie C:\Arduino\...\... ?

I have the batch file on my desktop, and drop the hex file onto it from explorer (it too, is buried deep into folders). Should I move them?

Offline TexasStingray

  • Moderator
  • Sr. Member
  • *****
  • Posts: 791
Re: Any issues?
« Reply #34 on: June 27, 2014, »
Ok, lets try this.

1.) copy the hex file to the below folder and give it the name of pdmxpv200.hex

C:\program files\arduino\hardware\tools\avr

2.) open a command window aka a dos prompt window.

3.) type the below command or copy and paste this into the command window and then press the enter key aka return key

CD C:\program files\arduino\hardware\tools\avr

4.) type the below command and press the enter key.

DIR pdmxpv200.hex

5.) verify the the file pdmxpv200.hex did get displayed.

6.) type the below command or copy and paste it exactly in the command window,  DO NOT press the enter key until you have verified everything is typed exactly. Note the below text may appear on multiple lines in this post, but it should be typed as 1 line, also note that as you type or paste this it may wrap to multiple line in the command window, This is perfectly fine.

.\bin\avrdude -c usbasp -p m328p -b 19200 -U flash:w:pdmxpv200.hex:i -U lock:w:0x0f:m

7.) post your results.

Scott
« Last Edit: June 27, 2014, by TexasStingray »
Scott Wanner
TX

Watch my videos
You are not allowed to view links. Register or Login

Offline Beanbag109

  • Sr. Member
  • ****
  • Posts: 130
  • "If I bulid it, it will flash and blink"
Re: Any issues?
« Reply #35 on: June 28, 2014, »


avrdude: can't open config file "": Invalid argument
avrdude: error reading system wide configuration file ""

Offline Beanbag109

  • Sr. Member
  • ****
  • Posts: 130
  • "If I bulid it, it will flash and blink"
Re: Any issues?
« Reply #36 on: June 28, 2014, »
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Owner>CD C:\program files\arduino\hardware\tools\avr

C:\Program Files\Arduino\hardware\tools\avr>DIR pdmxpv200.hex
 Volume in drive C is Gateway
 Volume Serial Number is C07F-D317

 Directory of C:\Program Files\Arduino\hardware\tools\avr

06/25/2014  09:38 PM            55,068 pdmxpv200.hex
               1 File(s)         55,068 bytes
               0 Dir(s)  103,168,069,632 bytes free

C:\Program Files\Arduino\hardware\tools\avr>.\bin\avrdude -c usbasp -p m328p -b
19200 -U flash:w:pdmxpv200.hex:i -U lock:w:0x0f:m
avrdude: can't open config file "": Invalid argument
avrdude: error reading system wide configuration file ""

C:\Program Files\Arduino\hardware\tools\avr>

Offline TexasStingray

  • Moderator
  • Sr. Member
  • *****
  • Posts: 791
Re: Any issues?
« Reply #37 on: June 28, 2014, »
From a dos windows execute this command so we can see what version of avrdude is installed.

"C:\program files\arduino\hardware\tools\avr\bin\avrdude"

Thanks
Scott Wanner
TX

Watch my videos
You are not allowed to view links. Register or Login

Offline TexasStingray

  • Moderator
  • Sr. Member
  • *****
  • Posts: 791
Re: Any issues?
« Reply #38 on: June 28, 2014, »
Can you post a photo of how you have the cables connected to the Panther DMX Player.
Scott Wanner
TX

Watch my videos
You are not allowed to view links. Register or Login

Offline Beanbag109

  • Sr. Member
  • ****
  • Posts: 130
  • "If I bulid it, it will flash and blink"
Re: Any issues?
« Reply #39 on: June 28, 2014, »
avrdude version 5.11

Offline TexasStingray

  • Moderator
  • Sr. Member
  • *****
  • Posts: 791
Re: Any issues?
« Reply #40 on: June 28, 2014, »
is there an avrdude.conf file located in the below folder?

C:\program files\arduino\hardware\tools\avr\etc

Scott Wanner
TX

Watch my videos
You are not allowed to view links. Register or Login

Offline Beanbag109

  • Sr. Member
  • ****
  • Posts: 130
  • "If I bulid it, it will flash and blink"
Re: Any issues?
« Reply #41 on: June 28, 2014, »
yes, avrdude.conf is there

Offline Beanbag109

  • Sr. Member
  • ****
  • Posts: 130
  • "If I bulid it, it will flash and blink"
Re: Any issues?
« Reply #42 on: June 28, 2014, »
set up

Offline tbone321

  • Sr. Member
  • ****
  • Posts: 3984
Re: Any issues?
« Reply #43 on: June 28, 2014, »
It sounds like the system path has not been set. 
If at first you don't succeed,
your not cut out for sky diving

Offline TexasStingray

  • Moderator
  • Sr. Member
  • *****
  • Posts: 791
Re: Any issues?
« Reply #44 on: June 28, 2014, »
Try this command from the same directory
.\bin\avrdude -c usbasp -p m328p -v

Post your results.
Scott Wanner
TX

Watch my videos
You are not allowed to view links. Register or Login