1 (edited by Boz 2013-06-16 05:05:34)

Topic: Firmware Issues (Compiling Error)

I've been hammering away at this all night, and it's getting to the point where I cannot find other options or solutions that would work in my case.

I've been working on adding a fan to my print head, and I needed to change the fan pin from -1 to 4 in the firmware.  Ian's instructions call for a firmware update in the process (I think that's what it says), so I have taken the steps needed to do so.  I've already changed the necessary value to 4, but cannot seem to upload the new firmware to my board.

I've worked with Uno's in the past, so I'm not too uncomfortable with the Arduino platform.  I'm just stuck at this point on finding a solution, and would really appreciate anyone's help in the matter.

Here is a screenshot of my issue.  After hitting upload, this occurs.  It even occurs when trying to use the Verify command under the Sketch dropdown.  I'm lost!  Thanks in advance for the assistance.

http://i.imgur.com/RtXR4v9.jpg

2

Re: Firmware Issues (Compiling Error)

1. Are you using the firmware from my github?

2. Are you using the pre-prepared Arduino 022 linked to in my github?

3 (edited by Boz 2013-06-16 16:36:31)

Re: Firmware Issues (Compiling Error)

I had been using your firmware, but had missed that you had a preconfigured 022.  I appreciate the help.

I just tried it and it worked like it should, which is great.  Unfortunately, my fan is still not working correctly with the "fan" button on repetier.  I was so close too.

Edit:  It seems that the fan is on when I turn my SD3 on, and stays on despite pushing the fan button.

Edit2:  After unplugging and plugging the 12v and ground connection, the fan is no longer on when the machine is, but will still not come on when commanded to.  I've checked the wiring and it is connected as outlined in Ian's blog.

4

Re: Firmware Issues (Compiling Error)

Welp.  I hate to reply to myself, but I'm just going to have to put this project on the back burner until I can figure out what the heck went wrong.  Thanks for the help with flashing my firmware, though, lawsy.

5

Re: Firmware Issues (Compiling Error)

Just a quick check: are you sure you changed the FAN_PIN in the sanguinololu section? pins.h has FAN_PIN defined in multiple places and I also changed it for a different board the first time I tried.

6 (edited by Boz 2013-06-21 12:10:57)

Re: Firmware Issues (Compiling Error)

I will definitely check!  For some reason, I cannot see the list at all, so I've had to CTRL+ALT+RIGHT just to get to it.  I'll have to figure out a way to see the actual name of the tab.

Edit: Rincewind, I feel like a complete dolt right now, but I can't thank you enough for your suggestion.  I was just searching for  "fan" in the search box on the pins.h tab and didn't consider that it was a huge list of all of the boards.  I'm relieved that I didn't wire something wrong!  Thanks!