support > faq >
products
consulting
shop
support  
  documentation
  applications
  faq  
  fuses of ATmega128
  datasheets
  links
  MC35
forum
search
contact
 

FAQ


i-easy

Which fuse settings have to be applied for flashing the ATmega32(3)L on i-easy pro?

  • ATmega32:
    Set CKOPT! Do not set JTAGEN or OCDEN!
    A usefull setting may be to use BODEN for enabling brown-out detection, but this can increase the power consumption in idle mode.
  • You should make sure that JTAG is disabled, as some of the JTAG-ports are used for S-760X communication!

    Also make sure that the clock settings are set to "Crystal Oscillator, Slowly Rising Power" (ATmega32: CKOPT=0, ATmega323: CKSEL3..0=1010), which reflects the i-easy hardware setup.

    Note: For ATmega fuses "0" means programmed and "1" means unprogrammed!

  • CodeVision AVR:
  • PonyProg2000:
    [ In PonyProg fuse checked means bit="0" (programmed), unchecked="1" (unprogrammed).]
  • Voltage polarity applied to the DC plug.

    For the DC plug, outside is (+), inside is (-).

    When I programmed the i-easy pro it has not been written properly.

    Please check the voltage and current of the power supply.

    (Please use lower current for normal running of the i-easy pro.)

    When I use new i-easy board with S7601A. Do I need to re-write the original demo program for S7600.

    There is no need. Just compile it, and program the demo program to the i-easy board.

    How can I determine my DNS, SMTP, IP address?

    You can ask your isp provider directly. Or search it on some web-server that provide DNS to SP search.

    When I run the demo application the PC terminal displays queer characters!?

    Please change the PC terminal settings to
    115200,8,N,1,HandShake None,Emulation TTY,uncheck RTS


    iChip related (S-760XA)

    Does the iChip S-760XA support Ethernet (802.3) applications?

    The iChip is optimized for dial-up PPP applications. Ethernet 802.3 requires a different set of protocols.

    Does the iChip S-760XA require support ICs?

    Yes. The iChip S-760XA is designed to interface between a low cost microcontroller and some physical layer interface (e.g., external modem). Note that the socket memory required for TCP/IP is contained inside the S-760XA, so no external memory is needed.


    AVR Studio

    Can I use the letATwork ISP programmer on AVR studio? (Now, I'm using another burning program.)
    What is the reason of you recomended the "AT AVR ISP"?

    The serial-port-interfacing ATAVRISP (or compatible) is the (only) supported hardware for the AVR studio internal flashing tool.
    To use the letATwork ISP or other parallel-port programmers, please take the .hex file and burn it with your favorit parallel port supporting burning program.

    We ieasy lib version for CodeVision AVR Compiler does not suffer such a problem, as CodeVision AVR does support serial as well as parallel port dongles.


    letATwork with ATmega128

    Are there any special things I have to think of while flashing the ATmega128?

    The ATmega128 has a lot of additional fuses compared to its predecessor ATmega103.

    [ Fuse Overview ]

    Note that the ATmega103-compatibility-fuse is set by Atmel factory standard.

    • Do not set fuses for external RC oscillators!
      This might appear by accident e.g. if you transfer the standard ATmega103 fuses to the ATmega128 without cross-checking.

      Resulting Problem:
      The ATmega128 letATwork hangs like dead! - The MCU is looking for an external RC signal.

      ! You cannot reburn the Ext. RC Osc. fuses without supplying an external clock signal !

      How to do this is described below.

      A good setting for the clock-fuse on a letATwork board e.g. is
      CKSEL=1111("clock select")
      SUT=11("start up time")
      which sets the MCU to Ext. Crystal/Resonator High Freq.; Start-up time 16K CK + 64 ms;

      >Bad settings< (ext. RC oscillator selected) are e.g.
      CKSEL= SUT=
      010100
      011000
      011100
      100000
      and other fuse combinations setting the MCU to Ext. RC Osc. like indicated in the Fuse Overview.

    • Good Settings in PonyProg2000:
      All SUT and SKSEL Bits (SUT1/0, CKSEL3/2/1/0) unchecked!

      All SUT and SKSEL Bits (SUT1/0, CKSEL3/2/1/0) unchecked!
      [`inverse logic': checked=0 (programmed), unchecked=1 (unprogrammed)]

     

    How do I revive the mega128-letATwork when an external-RC-fuse is set (it hangs like dead)?

    Problem:
    The ATmega128 letATwork hangs like dead!

    Possible Reason:
    The MCU is waiting for an external clock signal on MCU pin XTAL1! This phenomenon occurs when you set fuses for Ext. RC Osc.!
    This might appear by accident e.g. if you transfer the standard ATmega103 fuses to the ATmega128 without cross-checking.

    Solution:
    While supplying an external clock signal, reburn the clock fuses to e.g. Ext. Crystal/Resonator High Freq.; Start-up time 16K CK + 64 ms;[CKSEL=1111 SUT=11]!

    The supplied external clock signal might have any frequency in the mega128 specifications. If you remember, which frequency range was been specified by the fuse ( -0.9 MHz; 0.9 - 3.0 MHz; 3.0 - 8.0 MHz; 8.0 - 12.0 MHz), this will be helpfull.

    There are basically two methods of supplying an external clock:

    1. Using a signal generator:
      Feed a frequency af around 500kHz directly to MCU pin 24 ("XTAL1") (see Photo).
      Remember to connect GND, and select proper voltage (about ...V)!

    2. Using an RC oscillator:
      Following is a RC oscillation clock source connection.
      
            +5V ------Resistor-----|------Cap-------GND
           (VCC)                   |   (min.22pF)    |
                                   |                 |
                                 pin XTAL1          GND
                                 (pin 24)
          
      The values of R and C might be determined following the rule of thumb
      f = 1 / (3*R*C)

      Atmel supplies Application Note concerning RC Oscillators: AVR051.
      For more information on the Resistor Value and Capacitor Value please reference this AppNote.


    letATwork Starter Board

    Voltage polarity applied to the DC plug.

    For the DC plug, outside is (+), inside is (-).

     

    How can I determine the direction of placing the letAtworkII board on the Starter Board.

    On the surface of the Starter Board you will find a rectangle labeled "ISP". This indicates the position of the ISP connector on top of the letATwork module. Please align the ISP connector of the letATwork module to this rectangle.

    Alternatively you can refer to the two marks (A,B) on the letATwork module, which have to be aligned the same direction as the marks (A1,B1) on the Starter Board.

     

    Do I need to connect the LCD to the designated port in the letATworkII Starter Board?

    There is no need to connect the LCD to the designated port. You can connect the LCD to any port you like. Or even re-write the program to allocate the LCD to connect to another PIN.

    For suggestions or more information please contact support@embedded-inet.com.