RE: [avr-chat] Re: [avr-gcc-list] AVR ISP Error
There is no button in the AVRISP. In the docs somewhere it says to power the AVRISP( the led comes on, cycles colors and settles on green I think). You should not connect it to your target as this usually mungs communications with the micro's in the ISP. Once the AVRISP is idle(green status led), clock OK to program it. This is a real pain and your lucky. In my experience, a lot of the time, the ISP will mung code in it's secondary MCU and become dead. Atmel has an appnote on recovering but I have yet to be successful. This message will happen every time you update studio, a choice I think a big mistake. The funcinality should have been left in AVRStudio and the ISP code left frozen. Hope this helps. Let us know how you make out. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daniel Mayo Sent: Thursday, August 25, 2005 6:23 AM To: AVR GCC List; AVR Chat Subject: [avr-chat] Re: [avr-gcc-list] AVR ISP Error Where is the 'program' button on the AVRISP? Andi Suhandi wrote: To Upgrade the firmware you have to: 1. Turn off the STK 2. Press Program Button on STK 3. Turn on the power STK (Program button still pressed) 4. Run the Upgrade.exe program in directory C:\Program Files\Atmel\AVR Tools\STK500 Press Start Upgrade button 5.Then you can release Program Button 6. Wait till upgrade done I hope it will help Andi - Original Message - From: Daniel Mayo [EMAIL PROTECTED] To: AVR GCC List avr-gcc-list@nongnu.org; AVR Chat avr-chat@nongnu.org Sent: Thursday, August 25, 2005 3:17 AM Subject: [avr-gcc-list] AVR ISP Error I just got two new AVR ISPs from Digikey and am getting this error when I try to connect to them via AVR Studio 4.11 Build 401 which seems to be the latest at atmel.com An AVRISP with firmware version 2.01 has been detected. The firmware corresponding to this installation of AVR Studio is 2.00. Press OK to launch the upgrade program to perform a downgrade, or Cancel without downgrading. NOTE! Correct operation is not guaranteed if a downgrade is not performed. If I press Cancel it seems as though everything works. If I press Ok, AVR Studio launches the Atmel STK500/AVRISP Upgrade program but after doing something to the AVRISP so that the LED goes out it then reports that no programmer could be found, and thus no update is performed, and then AVR Studio can't detect the AVRISP until I close AVR Studio AND cycle power to the AVRISP. How do I get rid of either the first warning or the error updating so that I can resolve this? I have looked online at atmel.com and avrfreaks.com, with no luck. ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list ___ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
[avr-gcc-list] Stack Pointer
Hi friends i want to expand stack space to external memory whole 60Kbyte external region. i'm using ATMega128 micro. i want to know is Stack Pointer capable to address external memory? is there anyway to use external memory to place stack frame? Thanks __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
RE: [avr-chat] Re: [avr-gcc-list] AVR ISP Error
Hello everybody, There is no switch in the ISP unit. One has to open the covers and there is a provision on the PCB to solder a two pin jumper (taken out of berg connector). Once the soldering is done, plug in the jumper and power up the unit and after a short while the jumper can be removed. Now the unit ready to program. Note: the power to the ISP is drawn from the target board and through the ISP programming connector. While the ISP unit is being upgraded, the MISO,MOSI and other pins must not be connected to the target board. Therefore use only power and ground pins of this ISP connector to power up the ISP unit. I do agree that this is a bit of a long procedure, but thats the system is designed. Nayani Jim Brooks [EMAIL PROTECTED] wrote: There is no button in the AVRISP. In the docs somewhere it says to power theAVRISP( the led comes on, cycles colors and settles on green I think). Youshould not connect it to your target as this usually mungs communicationswith the micro's in the ISP. Once the AVRISP is idle(green status led),clock OK to program it.This is a real pain and your lucky. In my experience, a lot of the time, theISP will mung code in it's secondary MCU and become dead. Atmel has anappnote on recovering but I have yet to be successful.This message will happen every time you update studio, a choice I think abig mistake. The funcinality should have been left in AVRStudio and the ISPcode left frozen.Hope this helps.Let us know how you make out.Jim-Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] Behalf OfDaniel MayoSent: Thursday, August 25, 2005 6:23 AMTo: AVR GCC List; AVR ChatSubject: [avr-chat] Re: [avr-gcc-list] AVR ISP ErrorWhere is the 'program' button on the AVRISP?Andi Suhandi wrote:To Upgrade the firmware you have to:1. Turn off the STK2. Press "Program" Button on STK3. Turn on the power STK ("Program" button still pressed)4. Run the "Upgrade.exe" program in directory C:\Program Files\Atmel\AVRTools\STK500 Press "Start Upgrade" button5.Then you can release "Program Button"6. Wait till upgrade doneI hope it will helpAndi- Original Message -From: "Daniel Mayo" <[EMAIL PROTECTED]>To: "AVR GCC List"; "AVR Chat" Sent: Thursday, August 25, 2005 3:17 AMSubject: [avr-gcc-list] AVR ISP ErrorI just got two new AVR ISPs from Digikey and am getting this error whenI try to connect to them via AVR Studio 4.11 Build 401 which seems to bethe latest at atmel.com"An AVRISP with firmware version 2.01 has been detected. The firmwarecorresponding to this installation of AVR Studio is 2.00. Press OK tolaunch the upgrade program to perform a downgrade, or Cancel withoutdowngrading. NOTE! Correct operation is not guaranteed if a downgradeis not performed."If I press Cancel it seems as though everything works.If I press Ok, AVR Studio launches the Atmel STK500/AVRISP Upgradeprogram but after doing something to the AVRISP so that the LED goes outit then reports that no programmer could be found, and thus no update isperformed, and then AVR Studio can't detect the AVRISP until I close AVRStudio AND cycle power to the AVRISP.How do I get rid of either the first warning or the error updating sothat I can resolve this?I have looked online at atmel.com and avrfreaks.com, with no luck.___AVR-GCC-list mailing listAVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list___AVR-chat mailing listAVR-chat@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-chat___AVR-GCC-list mailing listAVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list___AVR-GCC-list mailing listAVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
Re: [avr-gcc-list] CALLBACK?????????
On Thu, Aug 25, 2005 at 07:45:22AM -0700, User Tomdean wrote: A callback is a function that will be called as a result of some pre-determined event or condition. The application code starts a function or routine that never returns. To get back to the application code, the callback function is called. For example, in networking, a callback function will be defined to be called by the network code in response to receiving a packet. See also the qsort() function in libc. Its arg list requires the address of a function to call for comparing two elements one is sorting. Qsort() doesn't have to know what it is sorting or how it is being ordered, the comparison function is expected to know. A callback routine by any other name. Yes, the docs say qsort() sorts in ascending order, but if the comparison function inverts its reply then the order is descending. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list