Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Steve_C
PostPosted: Oct 17, 2011 - 06:23 PM
Wannabe


Joined: Feb 15, 2011
Posts: 76


I need to know if anyone has figured out where they hid the option for downloading the .hex file to the target Processor? I can't seem to locate it and I have spent 2 hours looking. Sad

I am using the latest versino 5 and I have the 30 dollar atmel made programmer.

I have created and downloaded using version 4 with no problems.

Any suggestions or links to how to do this would be appricieated.


I have searched the forums only to find that I either get a single page with very little results or if I narrow the search to just the topic I am interested in the search errors out.
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Oct 17, 2011 - 06:49 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62365
Location: (using avr-gcc in) Finchingfield, Essex, England

Is it not "AVR Programming" on the Tools menu then?

(that seemed like the obvious place to look to me).

BTW note that dialog will only list programmers that have been detected so the AVRISPmkII must be connected, powered on and have been recognised as a USB device for it to be listed there - maybe this was your problem?

(actually I hate that feature of AS5 - what happened to the "off line" option so you could test options out without actuall having the programmer/debugger??)

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
MORA99
PostPosted: Oct 17, 2011 - 07:11 PM
Hangaround


Joined: Jan 26, 2009
Posts: 224
Location: Horsens, Denmark

In the "AVR programming" there are tabs for chip type, fuses, program etc.

Note that the selected hexfile stays the same, even when you switch projects, pretty annoying :/
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Oct 17, 2011 - 07:16 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62365
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

Note that the selected hexfile stays the same, even when you switch projects, pretty annoying

It's probably because so many people "loved" that feature in AS4 they decided to keep it? Wink

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Steve_C
PostPosted: Oct 18, 2011 - 03:02 PM
Wannabe


Joined: Feb 15, 2011
Posts: 76


Ok played around and watched some you-tube videos.
What I have figured out is that you have to have the device hooked up which was pointed out. Also the area I was looking for was the Memory tab. This was not showing up for me so I could not program. Ironically I got that to work. Now I have another issue with getting the program to download the hex file. It says the hex file is too large and asked if I wanted to send a portion that would fit into the chip. What the hell is that about. Why would I want to download a portion to the chip. I need to further investigate this to figure out what is going on. I think its some setting. Why do they put settings all over the place. Should have all the stuff in one spot with tabs so you can get the app set up the way you need it.
Anyway I will keep folks posted and if I actually get anywhere I will help those who want to use the new tool.
Thanks guys. Smile
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Oct 18, 2011 - 03:27 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62365
Location: (using avr-gcc in) Finchingfield, Essex, England

Quote:

It says the hex file is too large and asked if I wanted to send a portion that would fit into the chip. What the hell is that about. Why would I want to download a portion to the chip.

Offering that sounds like madness. Clearly you need to make the code smaller. if building "Debug" then change the optimisation from -O0 to -Os and it should fit.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Steve_C
PostPosted: Oct 21, 2011 - 01:34 PM
Wannabe


Joined: Feb 15, 2011
Posts: 76


The file was set for the attiny 85 in the initial setup. This was causing the size error.
Sorry for confusion.

All is well again. I will post some good stuff up when I can.
At the moment I am nursing my back injury back to health.

Steve
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits