Announcement

Collapse
No announcement yet.

More control over widgets

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46
    Good Lord, fellas. I am explaining to you what to expect from us beginners because I wouldn't have expected you to know. Your instructions appeared wrong, very wrong, without the explicit instruction of ICSP to ICSP. I am explaining to you WHY I went straight to the Arduino non-ICSP pins so you understand the level of knowledge, or lack of knowledge, you are dealing with. Just take the experience and learn from it. If you can think like a newbie, you will save yourself and your customers a ton of time and words.

    I am currently at work and realized I could try to see the attachments now... and I can. I use Chrome through home and work, so still not sure why I can't see the attachments at home. That made for no chance to SEE that you were ICSP to ICSP. And, again, I understand you provided the links and I was able to follow them at home. I am passing along an opportunity for you to learn in saying that a link is likely to be a sure thing. It is very frustrating and likely very rare to not be able to see attachments that are just jpg's, but it is apparently possible.

    This has been a loser for you... an $89 kit that you definitely spent more supporting than you made. It's been a loser for me because of the problems with the editor and the bootloader, and the fragmentation of your documentation. Lots to be learned here. I am going to Raspberry Pi items to see if it works better for my project. I've got 5 books on the way, each of which could be used alone, but I tend to go overboard. Each of these books means a lot less searching multiple documents to figure out something. I'm willing to read, but App Notes did not turn out to be a great way to learn for me.

    Customer feedback, and it has not been harsh beyond the "wrong, very wrong", and we now know why that was wrong on my part. I hope you don't get defensive. You've got interesting products, and I say again that you are going to get a glut of newbies working with them if you don't already... I've got hobbyist background in VB6, VBA, C#.NET, WPA, and VB.Net, so I am not too new, and I still had lots of trouble with your documentation. Maybe I know just enough to get myself in trouble.

    I have paid for the pro version of Workshop and I have $89 in your 4Duino... I will play with it again someday and try to get some use out of it. I'm sure I'll be more experienced with microprocessors and displays by then, but I will still be hoping for more organized and complete info geared towards the rube.

    Comment


    • #47
      For me setting Tools - Programmer option to be "ArduinoISP" did not work, generating error "arduino isp avrdude: Error: Could not find USBtiny device (0x2341/0x49) Error while burning bootloader."
      It worked with choosing "Arduino as ISP" instead.
      I use Arduino 1.6.7 IDE on Ubuntu 17.10.
      I found this advice on https://forum.arduino.cc/index.php?topic=392209.0 .

      Comment


      • #48
        Hi all. I come here due my 4Duino board is not being detected by Windows 10 (https://forum.4dsystems.com.au/node/57742). So, I though I need to replace bootloader.

        What I did till now:
        1. I uploaded the "ArduinoISP" sketch to a working Arduino Uno R3
        2. I connected the Arduino Uno with the 4Duino using the ISCP pins 1,2,3,4 and 6 plus the wire from Arduino's pin #10 to 4Duino reset.
        My problems start with I try to burn the bootloader.

        Click image for larger version

Name:	bootloader01.png
Views:	17
Size:	4.9 KB
ID:	72768
        If I use "Arduino as ISP" and then burn the bootloader I got the following output:
        Code:
        C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cstk500v1 -PCOM4 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
        
        avrdude: Version 6.3-20190619
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
        Copyright (c) 2007-2014 Joerg Wunsch
        
        System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
        
        Using Port : COM4
        Using Programmer : stk500v1
        Overriding Baud Rate : 19200
        AVR Part : ATmega328P
        Chip Erase delay : 9000 us
        PAGEL : PD7
        BS2 : PC2
        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 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
        flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
        lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
        signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
        
        Programmer Type : STK500
        Description : Atmel STK500 Version 1.x firmware
        Hardware Version: 2
        Firmware Version: 1.18
        Topcard : Unknown
        Vtarget : 0.0 V
        Varef : 0.0 V
        Oscillator : Off
        SCK period : 0.1 us
        
        avrdude: AVR device initialized and ready to accept instructions
        
        Error while burning bootloader.
        Reading | ################################################## | 100% 0.02s
        
        avrdude: Device signature = 0x1e9587 (probably m32u4)
        avrdude: Expected signature for ATmega328P is 1E 95 0F
        Double check chip, or use -F to override this check.
        
        avrdude done. Thank you.
        I got curious about the Device signature (0x1e9587), so I opened the "avrdude.conf" file in the Arduino IDE installation (under hardware\tools\avr\etc directory) and searched for "0x1E 0x95 0x87" string. I found it under ATmega32u4 part configuration so I thought the board ID is wrong.

        So, I changed the Programmer to "Arduino as ISP (ATmega32U4)"
        Click image for larger version

Name:	bootloader02.png
Views:	9
Size:	5.2 KB
ID:	72769
        And the output now was:
        Code:
        C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM4 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
        
        avrdude: Version 6.3-20190619
        Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
        Copyright (c) 2007-2014 Joerg Wunsch
        
        System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
        
        Using Port : COM4
        Using Programmer : arduino
        Overriding Baud Rate : 19200
        AVR Part : ATmega328P
        Chip Erase delay : 9000 us
        PAGEL : PD7
        BS2 : PC2
        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 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
        flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
        lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
        calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
        signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
        
        Programmer Type : Arduino
        Description : Arduino
        Hardware Version: 2
        Firmware Version: 1.18
        Topcard : Unknown
        Vtarget : 0.0 V
        Varef : 0.0 V
        Oscillator : Off
        SCK period : 0.1 us
        
        avrdude: AVR device initialized and ready to accept instructions
        
        Error while burning bootloader.
        Reading | ################################################## | 100% 0.01s
        
        avrdude: Device signature = 0x1e9587 (probably m32u4)
        avrdude: Expected signature for ATmega328P is 1E 95 0F
        Double check chip, or use -F to override this check.
        
        avrdude done. Thank you.
        So, even if the command line is different, the error seems the same one (removing path):

        Code:
        avrdude -CC:avrdude.conf -v -patmega328p -cstk500v1 -PCOM4 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
        
        avrdude -CC:avrdude.conf -v -patmega328p -carduino -PCOM4 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
        so, the question is: how I can burn the bootloader in the 4Duino-24?

        Comment


        • #49
          Hi

          Welcome to the forum.

          Sorry to hear you are having difficulty carrying out the bootloader install. I haven't done this for a long time but I think the problem is that the Board needs to be set to 4Duino as the connected Arduino is just the tool for the bootloader you are installing. I can't test this here so would it be possible to try this and let me know the result.

          Best regards

          Paul

          Comment


          • #50
            Hi again,

            I finally fixed the bootloader issue using the source from this URL: https://github.com/nickgammon/arduino_sketches

            you can see some connection samples in http://www.gammon.com.au/forum/?id=11633

            Regards,

            Comment


            • #51
              Hi,

              Thanks for letting us know. Glad to hear that fixed it.

              Best regards

              Paul

              Comment

              Working...
              X