Show Posts
Pages: 1 [2] 3 4 5
16  Using Arduino / Programming Questions / how to change crystal frequency for MCU on: December 04, 2012, 07:58:12 am
Hi Guys,
           there is any provision so i can change crystal frequency via Arduino IDE??
in my case
i have mega ADK in that board crystal was damaged and i am not good in soldering

if i change fuse bit of Atmega2560 use internal crystal so there is no need of external crystal in this case my ADK board working fine ?? even USB
for this method would i change crystal frequency by IDE if yes so how could i do this??

Any other suggestion??

Thanks in Advance       
17  Using Arduino / Project Guidance / Re: Help in buring bootloader in ADK on: November 23, 2012, 11:49:51 pm
yes i did...with arduino 1.0.0 & 1.0.1 also 1.0.2 with all these version i tried but same result i got.....

Apart this i using side header witch provided MCU side(2560)........is it wrong??

when i check this is the same data line which used
Quote
MISO
 MOSI
 SCK
 RST
 GND
 VCC
 
18  Using Arduino / Project Guidance / Help in buring bootloader in ADK on: November 23, 2012, 01:02:26 am
Hi all,
        i am trying to burn bootloader into mega ADK for that i am using this tutorial http://arduino.cc/en/Tutorial/ArduinoISP
This is the error code i found.......
anyone tell me why this happened my controller is not working or i am doing some thing wrong.

Thanks in advance
Code:
avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "E:\arduino-0023\hardware/tools/avr/etc/avrdude.conf"

         Using Port            : \\.\COM17
         Using Programmer      : stk500v2
         Overriding Baud Rate  : 115200
avrdude: ser_open(): setting dtr
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Send: . [1b] . [02] . [00] . [01] . [0e] . [01] . [17]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:

avrdude: stk500v2_getsync(): can't communicate with device: resp=0x01
         AVR Part              : ATMEGA2560
         Chip Erase delay      : 9000 us
         PAGEL                 : PD7
         BS2                   : PA0
         RESET disposition     : dedicated
         RETRY pulse           : SCK
         serial program mode   : yes
         parallel program mode : yes
         Timeout               : 200
         StabDelay             : 100
         CmdexeDelay           : 25
         SyncLoops             : 32
         ByteDelay             : 0
         PollIndex             : 3
         PollValue             : 0x53
         Memory Detail         :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: Unknown
avrdude: Send: . [1b] . [1e] . [00] . [02] . [0e] . [03] . [90] . [9a]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x90
avrdude: stk500v2_getparm(): failed to get parameter 0x90
avrdude: Send: . [1b] . [1f] . [00] . [02] . [0e] . [03] . [91] . [9a]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x91
avrdude: stk500v2_getparm(): failed to get parameter 0x91
avrdude: Send: . [1b]   [20] . [00] . [02] . [0e] . [03] . [92] . [a6]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x92
avrdude: stk500v2_getparm(): failed to get parameter 0x92
         Hardware Version: 0
         Firmware Version: 118.182
avrdude: Send: . [1b] ! [21] . [00] . [02] . [0e] . [03] . [94] . [a1]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x94
avrdude: stk500v2_getparm(): failed to get parameter 0x94
         Vtarget         : 0.0 V
avrdude: Send: . [1b] " [22] . [00] . [02] . [0e] . [03] . [98] . [ae]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x98
avrdude: stk500v2_getparm(): failed to get parameter 0x98
         SCK period      : 36.9 us

avrdude: Send: . [1b] # [23] . [00] . [0c] . [0e] . [10] . [c8] d [64] . [19]   [20] . [00] S [53] . [03] . [ac] S [53] " [22] . [00] 2 [32]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0xc8
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: Send: . [1b] $ [24] . [00] . [03] . [0e] . [11] . [01] . [01] # [23]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x01
avrdude: stk500v2_disable(): failed to leave programming mode

avrdude done.  Thank you.
19  Using Arduino / Project Guidance / Re: making custom ADK on: November 21, 2012, 08:46:34 am
Hi Guys,
           i am posting my new problem in this thread because this problem related from this thread.
so what i did i tell you...
first solder Power circuitry then 16U2 circuitry then it's working fine(When i plug my board via USB with PC so it detect as port and also detect by arduino IDE)

then solder ATmega2560 circuitry now i tried first upload Arduino ISP sketch which given in example then nothing is happened not a single error comes but when i disconnect usb then it's give error tell "no board is available"

now i don't know what is going there even i double check my connection and whole circuitry nothing missing.......

So any of one know what is going there and any kind of suggestion then it makes a big difference

Thanks in advance
20  Using Arduino / Project Guidance / making custom ADK on: November 09, 2012, 08:18:44 am
Hi all,
        Right now i am trying make custom board for my project.
so my first challenge is how to program 16U2 controller for that i tried AVR ISP programmer with AVR studio for burning hex file in 16U2.

How could i check this 16U2 is working fine or not. in my opinion(I am not sure) if i connected ADK board to USB then serial monitor must be open. but in my case USB says that USB is not recognized so anyone has any idea what is going on any kind of post would be appreciated

may be this is happens because i dont know what is the FUSE bit setting any kind of suggestions 
in my circuit only 16U2 and circuit power circuit only solder

Thanks in advance
21  Using Arduino / Programming Questions / error in usb lib 1st bad code for proto: 5 getProto: on: October 30, 2012, 04:36:35 am
Hi all,
        when i am trying to connect android device to ADK board then i get this
ADK demo start
ADK Init
Got 1st bad code for proto: 5

getProto:

i m using usb library this usb library
https://github.com/felis/USB_Host_Shield_2.0
and this is my device
http://www.gsmarena.com/samsung_galaxy_y_s5360-4117.php
any of us know what is going on this so please tell me
any kind of help will be appreciated

22  Development / Other Software Development / Re: [IDE] for Visual Studio - 100% Compatibility. Producers vs Hackers! on: October 29, 2012, 01:25:43 am
@Visual Micro,
Quote
1)
Are you saying that Visual Studio compiles this project correctly for you with the Arduino 1.0.1 IDE?

2)
There was a problem with Arduino 1.0.0 and Visual Studio?
1)
 yes it's happens with me it strange but true
 may be i m doing some thing wrong with it.. smiley-razz

2)
May be i am not sure
But in opinion it has because when i tried to work with(Arduino 1.0.1) then i just change the path for new Arduino version and it work perfectly i dont know what is going on with it.

And the bed thing is when i try to compile any other library to visual studio 2010 with Arduino 1.0.0 so it's work perfectly but for USB library it not working
when i complies with arduino 1.0.1 this time every single library working fine.

Second bed thing for me this is first time when i m using visual studio so if you have any tutorial for debugging then it's good for me.
23  Development / Other Software Development / Re: [IDE] for Visual Studio - 100% Compatibility. Producers vs Hackers! on: October 27, 2012, 02:12:11 am
if i am using Arduino 1.0.1 IDE then it's working for me
24  Development / Other Software Development / Re: [IDE] for Visual Studio - 100% Compatibility. Producers vs Hackers! on: October 27, 2012, 01:58:19 am
Thanks for replay,

same example i am trying. that is blink_led.

No i am using Arduino 1.0.0 IDE

Yes my project compiles correctly in Arduino IDE

And also i getting error not warnings.

Tools>Options>Visual Micro>Compiler>Verbose = False
Tools>Options>Visual Micro>Compiler>Warnings = False

This is by default in my system i never changed even i also tried to make true but nothing special for me
25  Development / Other Software Development / Re: [IDE] for Visual Studio - 100% Compatibility. Producers vs Hackers! on: October 26, 2012, 02:16:48 am
same thing i have done with visual studio 2010 in windos Xp.
i am able to compile all code and all library expect usb2.0 which developed by oleg it show me too much error.

and all error come due to undefined variables. in my opinion it happens because it did not get header file but it happens only usb library.

and most horrible thing is if i am trying to compile ADB library then it working fine. so as of now i dont know what i have to do any suggestion how could i compile usb library?

This is USB library link
https://github.com/felis/USB_Host_Shield_2.0
26  Development / Other Software Development / Re: Arduino IDE on usb android devices on: October 26, 2012, 02:02:09 am
hey,
      this is the great idea and also very useful for everyone. in my opinion if we able to program arduion board via tablet(Android) using usb so that also good deal
27  International / India / Re: [Help]Create own Arudino ADK board on: October 09, 2012, 12:34:00 am
109 viewer but no reply what should i think.....may be no one get my point then i should try to more clear my point ....??
28  International / India / [Help]Create own Arudino ADK board on: October 08, 2012, 01:06:55 am
Hi all,
        i saw the tutorial to make own UNO broadhttp://www.instructables.com/id/How-to-make-your-own-Arduino-board/?ALLSTEPS
So i try for that same type tutorial for ADK board but i did not find something really helpful if anyone know about this so please tell me.

My biggest worry is how i can program 16U2 controller. i find some tutorial on DFU mode. in this mode we can update firmware but can be load firmware at very first time or my mean is if my controller is blank then is it work on DFU mode?? so i can easily program 16U2 controller.

any more suggestion is most well come
29  Using Arduino / Microcontrollers / Arduino IDE for Android on: October 07, 2012, 02:32:01 am
Hi all,
        i want know is it any kind of tool available which can program arduion development board. Or in simple words i need arduino IDE which run on android. i try to find but i did not find that. may be it is silly question. if any of that tool is available then please tell me. thanks in advance
30  Using Arduino / Programming Questions / help in DFU mode for ADK on: October 03, 2012, 07:41:58 am
Hi all,
       i am trying to put my ADK in DFU mode.
My steps:-
1. Put jumper on ICSP on 8U2.
2. Put 10K resistor with respect to HWB and GND.
3. Power the ADK.
4. remove the jumper

 At that time i am getting some problem it asking for driver..... i dont have it or i dont know what i have to do for that. if some know then plz tell me thanks for advance.
Also i attached screen shot which of error
PS:- This time my serial monitor of IDE is not working.
Pages: 1 [2] 3 4 5