help with arduino dock



  • Hi,
    would someone be able to help out with the arduino dock. I was able to do the initial setup, and it looks like it worked..

    • the result ----
    root@Omega-0B03:~# sh /usr/bin/arduino-dock flash bootloader                                                                                                  
    > Flashing bootloader...
    
    avrdude: AVR device initialized and ready to accept instructions                                                                                              
                                                                                                                                                                  
    Reading | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: Device signature = 0x1e950f                                                                                                                          
    avrdude: erasing chip                                                                                                                                         
    avrdude: reading input file "0x3f"                                                                                                                            
    avrdude: writing lock (1 bytes):                                                                                                                              
                                                                                                                                                                  
    Writing | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: 1 bytes of lock written                                                                                                                              
    avrdude: verifying lock memory against 0x3f:                                                                                                                  
    avrdude: load data lock data from input file 0x3f:                                                                                                            
    avrdude: input file 0x3f contains 1 bytes                                                                                                                     
    avrdude: reading on-chip lock data:                                                                                                                           
                                                                                                                                                                  
    Reading | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: verifying ...                                                                                                                                        
    avrdude: 1 bytes of lock verified                                                                                                                             
    avrdude: reading input file "0x05"                                                                                                                            
    avrdude: writing efuse (1 bytes):                                                                                                                             
                                                                                                                                                                  
    Writing | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: 1 bytes of efuse written                                                                                                                             
    avrdude: verifying efuse memory against 0x05:                                                                                                                 
    avrdude: load data efuse data from input file 0x05:                                                                                                           
    avrdude: input file 0x05 contains 1 bytes                                                                                                                     
    avrdude: reading on-chip efuse data:                                                                                                                          
                                                                                                                                                                  
    Reading | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: verifying ...                                                                                                                                        
    avrdude: 1 bytes of efuse verified                                                                                                                            
    avrdude: reading input file "0xDA"                                                                                                                            
    avrdude: writing hfuse (1 bytes):                                                                                                                             
                                                                                                                                                                  
    Writing | ################################################## | 100% 0.01s                                                                                     
                                                                                                                                                                  
    avrdude: 1 bytes of hfuse written                                                                                                                             
    avrdude: verifying hfuse memory against 0xDA:                                                                                                                 
    avrdude: load data hfuse data from input file 0xDA:                                                                                                           
    avrdude: input file 0xDA contains 1 bytes                                                                                                                     
    avrdude: reading on-chip hfuse data:                                                                                                                          
                                                                                                                                                                  
    Reading | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: verifying ...                                                                                                                                        
    avrdude: 1 bytes of hfuse verified                                                                                                                            
    avrdude: reading input file "0xFF"                                                                                                                            
    avrdude: writing lfuse (1 bytes):                                                                                                                             
                                                                                                                                                                  
    Writing | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: 1 bytes of lfuse written                                                                                                                             
    avrdude: verifying lfuse memory against 0xFF:                                                                                                                 
    avrdude: load data lfuse data from input file 0xFF:                                                                                                           
    avrdude: input file 0xFF contains 1 bytes                                                                                                                     
    avrdude: reading on-chip lfuse data:                                                                                                                          
                                                                                                                                                                  
    Reading | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: verifying ...                                                                                                                                        
    avrdude: 1 bytes of lfuse verified                                                                                                                            
                                                                                                                                                                  
    avrdude done.  Thank you.                                                                                                                                     
                                                                                                                                                                  
                                                                                                                                                                  
    avrdude: AVR device initialized and ready to accept instructions                                                                                              
                                                                                                                                                                  
    Reading | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: Device signature = 0x1e950f                                                                                                                          
    avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed                                                                            
             To disable this feature, specify the -D option.                                                                                                      
    avrdude: erasing chip                                                                                                                                         
    avrdude: reading input file "/usr/share/arduino-dock/twibootloader.hex"                                                                                       
    avrdude: input file /usr/share/arduino-dock/twibootloader.hex auto detected as Intel Hex                                                                      
    avrdude: writing flash (31808 bytes):                                                                                                                         
                                                                                                                                                                  
    Writing | ################################################## | 100% 1.19s                                                                                     
                                                                                                                                                                  
    avrdude: 31808 bytes of flash written                                                                                                                         
    avrdude: verifying flash memory against /usr/share/arduino-dock/twibootloader.hex:                                                                            
    avrdude: load data flash data from input file /usr/share/arduino-dock/twibootloader.hex:                                                                      
    avrdude: input file /usr/share/arduino-dock/twibootloader.hex auto detected as Intel Hex                                                                      
    avrdude: input file /usr/share/arduino-dock/twibootloader.hex contains 31808 bytes                                                                            
    avrdude: reading on-chip flash data:                                                                                                                          
                                                                                                                                                                  
    Reading | ################################################## | 100% 1.14s                                                                                     
                                                                                                                                                                  
    avrdude: verifying ...                                                                                                                                        
    avrdude: 31808 bytes of flash verified                                                                                                                        
    avrdude: reading input file "0x0f"                                                                                                                            
    avrdude: writing lock (1 bytes):                                                                                                                              
                                                                                                                                                                  
    Writing | ################################################## | 100% 0.01s                                                                                     
                                                                                                                                                                  
    avrdude: 1 bytes of lock written                                                                                                                              
    avrdude: verifying lock memory against 0x0f:                                                                                                                  
    avrdude: load data lock data from input file 0x0f:                                                                                                            
    avrdude: input file 0x0f contains 1 bytes                                                                                                                     
    avrdude: reading on-chip lock data:                                                                                                                           
                                                                                                                                                                  
    Reading | ################################################## | 100% 0.00s                                                                                     
                                                                                                                                                                  
    avrdude: verifying ...                                                                                                                                        
    avrdude: 1 bytes of lock verified                                                                                                                             
                                                                                                                                                                  
    avrdude: safemode: Fuses OK (E:05, H:DA, L:FF)                                                                                                                
                                                                                                                                                                  
    avrdude done.  Thank you.                                                                                                                                     
                                                                                                                                                                  
    > Done                                                                                                                                                        
    root@Omega-0B03:~#  
    
    
    I get an error once trying to run the pgm blink2, because I'm not seeing the Omega in the port menu in the Arduino IDE, I'm using the second method, 
    
    > Flashing application 'blink2.hex' ...
    device         : /dev/i2c-0       (address: 0x29)
    version        :                  (sig: 0x00 0x00 0x00 => unknown)
    flash size     : 0x0000 /     0   (0x00 bytes/page)
    eeprom size    : 0x0000 /     0
    invalid memsize: 0x0c8a > 0x0000
    > Done
    

    any help would be great

    Thanks
    Claude


  • administrators

    @claude-hurtubise
    can you try pressing the MCU_RESET button and running i2cdetect -y 0 on the command line right after?

    post the output of the command and we can debug further from there :)



  • Thanks for your reply

    this is what I get after executing the follwoing, i2cdetect -y 0

    root@Omega-0B03:~# i2cdetect -y 0
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
    10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
    20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
    30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
    40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
    50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
    60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
    70: 70 71 72 73 74 75 76 77
    root@Omega-0B03:~#


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.