Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

keyborad scaning c program please explain

Status
Not open for further replies.
No sir I haven't hardware debugger may i know more about it ..

Finally solved .....
thanks to all
 

The three most common hardware debuggers available from Atmel:

AVR Dragon

AVR JTAGICE mkII

AVR JTAGICE3


There are clones available for the original JTAGICE and the JTAGICE mkII:

**broken link removed**

**broken link removed**

Just search eBay for JTAGICE.


There are also design plans, schematics and firmware available for the original JTAGICE:

Build your own AVR JTAG ICE clone

AVR JTAG Debugger/Programmer

Make your own AVR JTAG debugger


Hardware debuggers allow code execution to be momentarily pause so that the current value contained within variables can be observed at that point in execution.

You can also single step through each line of code to observe the effect on variable, output ports and other states of the device.



I believe the original JTAGICE is not longer supported in the latest version of AVR Studio, you may have to use AVR Studio 4 or purchase a Dragon, JTAGICE mkII or JTAGICE3 if you wish to use AVR Studio 6 or later

Knowledge of hardware debugging is a very powerful tool when developing code.

BigDog
 
How did you solve the problem?

Code:
 if[COLOR="#FF0000"](pos==3[/COLOR])
              {
                return(((1000*key[0])+(100*key[1])+(10*key[2])+key[3]));        //save the password in 16 bit integer
                //return(1234);
                break;
                //Wait for enter key or reset key

changed
Code:
 if[COLOR="#FF0000"](pos==4)[/COLOR]
              {
                return(((1000*key[0])+(100*key[1])+(10*key[2])+key[3]));        //save the password in 16 bit integer
                //return(1234);
                break;
                //Wait for enter key or reset key

thanks again
 

The following is another demo for the newer JTAGICE mkII:


The video demonstrates many of the features available in a hardware debugger.

BigDog
 
thanks ..
i got the concept of debugger .
its really healpful ...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top