Society of Robots - Robot Forum

Software => Software => Topic started by: the jeenyus on April 06, 2009, 03:10:00 PM

Title: $50 Robot AVR ISPII help
Post by: the jeenyus on April 06, 2009, 03:10:00 PM
Hello. I decided to make the investment and buy the more expensive programmer, and it finds the device and all, but I do not understand a lot of what is going on, so I decided to ask for help!

When I attempted to download the hold servo hex file, I tried to do that in AVR Studio, under the AVR ISPII programer options, on the program tab, and the only options I see are to use 'flash' or 'EEPROM' or something. I dont know what those mean lol. Everything is fine until a message tells me that it only operates under 5kHz or higher. HOw would I adjust that? Please help me, and thank you very much in advance.
Title: Re: $50 Robot AVR ISPII help
Post by: GearMotion on April 06, 2009, 03:18:37 PM
"flash" is the program space where you would put your code. It is the memory that survives from power-up to power-up (as opposed to RAM which is where variablea are stored, but the contents don't survive power going away). The AVR executes the code that you put into flash.

The EEPROM is similar to the flash as the contents remain from power-up to power-up, but EEPROM is for data, not executable code.

The hex file should be programmed to the flash.
Title: Re: $50 Robot AVR ISPII help
Post by: the jeenyus on April 06, 2009, 04:02:39 PM
Thank you very much for explaining that to me. Now, when I attempt to program it, how do I reset the frequency to whatever the program needs?
Title: Re: $50 Robot AVR ISPII help
Post by: GearMotion on April 06, 2009, 04:05:34 PM
Thank you very much for explaining that to me. Now, when I attempt to program it, how do I reset the frequency to whatever the program needs?


The ISP (programming) frequency? There is a "board" tab in the programmer window, and an ISP freq selection.
Title: Re: $50 Robot AVR ISPII help
Post by: the jeenyus on April 06, 2009, 04:14:06 PM
Thank you very much, I sucessfully programmed it.
Title: Re: $50 Robot AVR ISPII help
Post by: GearMotion on April 06, 2009, 04:16:41 PM
Thank you very much, I sucessfully programmed it.

Yay! I'm glad I could help!