Connect with us

How to Program this chip..

Discussion in 'General Electronics Discussion' started by bowlingo, Jul 3, 2011.

Scroll to continue with content
  1. bowlingo

    bowlingo

    40
    0
    Jun 29, 2011
    Hi all,

    I really want to make this project..

    http://www.siliconchip.com.au/cms/A_102670/article.html

    As far as my electronics knowledge goes I can solder and understand basic components etc..

    I can get the board from a company in Australia and also the components

    Where I think I am going to get well and truly stuck is obtaining and programming the chip

    The chip is described as

    AT90S8515-8 or ATMega8515-16 microcontroller (40 pin) (IC1), programmed with SMS.HEX

    As of the provided info from the sms controller part 2 aritcle that I also had to pay for
    http://www.siliconchip.com.au/cms/A_102994/article.html as far as programming the chip its providing the following info..



    Microcontroller Programming
    If you’re building this project from a kit, then the microcontroller (IC1) will have been programmed and you can ignore the following information. Alternatively, if you’ve sourced all the components separately, then you’ll need to program the microcontroller yourself.

    [​IMG]


    Fig.10: if you're programming your own ATMega8515 micro, you must also program the fuse bits. Here's how they're configured in AVR Prog, as used with the AVR ISP Serial Programmer. Once you've set all of the options exactly as shown, click on the "Write" button.A 10-way header (CON5) has been included on the PC board for connection to an "in-system" type programmer. We described a suitable low-cost programmer in the October 2001 edition of SILICON CHIP. Kits for the programmer are currently available from Altronics (Cat. K-2885), on the web at www.altronics.com.au.

    Note that if you are using this particular programmer, the "Atmel AVR ISP" software described in the instructions is no longer available. A suitable alternative, named "PonyProg", is available free from www.lancos.com. Set up PonyProg for the "AVR ISP (STK200/300)" parallel port interface as described in the included documentation for compatibility with the programmer.

    Some readers may also be familiar with the more recent "AVR ISP Serial Programmer", described in the October 2002 edition. This newer programmer will do the same job but connects to your PC via a serial (rather than parallel) port. Kits for this programmer are available from AutoSpeed Electronics (Cat. KC-5340) – see AutoSpeed

    As published, the AVR ISP Serial Programmer can successfully program the AT90S8515 microcontroller. However, to program many of the newer generation micros, including the ATMega8515, the code in the programmer’s on-board micro must first be updated. An update is available from the SILICON CHIP web-site.

    Once you have a suitable programmer, together with the necessary cables and Windows software to drive it, all you need to complete the job is a copy of the microcontroller program for the SMS Controller. This can be downloaded from our web site in a file named "SMS.ZIP".

    "SMS.ZIP" contains the file "SMS.HEX", which needs to be programmed into the micro’s program (FLASH) memory. Just follow the instructions provided with the programmer and software to complete the task.

    Fuse bits

    [​IMG]


    Fig.11: the parallel port programmer (October 2001) uses PonyProg, which has an entirely different fuse configuration menu. Again, copy this example and hit the "Write" button. Don't be tempted to experiment with different fuse settings unless you know exactly what you're doing, as certain combinations can render the micro inoperable!We’ve specified either AT90S8515-8 or ATMega8515-16 microcontrollers for this project. Although it has many improvements over its predecessor, the ATMega8515 is a pin-for-pin replacement for the AT90S8515. In fact, we’ve tested this project with both devices to ensure compatibility.

    The only additional requirement when using the ATMega8515 is to ensure that the fuse bits are correctly programmed (see Figs.10 & 11). The default fuse settings in the AT90S8515 are OK and should not be altered.

    The AT90S8515 & ATMega8515 micros are both stocked by Jaycar. The ATMega8515 is also available from Dontronics, on the web at www.dontronics.com.


    Thanks
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,474
    2,820
    Jan 21, 2010
    I think you are being a little unclear here.

    From my understanding, you can get all the stuff and an unprogrammed chip, but you need to program it.

    And from our discussions it appears you're in the UK. So If there's anyone local who can help you...
     
  3. bowlingo

    bowlingo

    40
    0
    Jun 29, 2011
  4. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,474
    2,820
    Jan 21, 2010
    Well, they're selling pre-programmed chips, but not for Silicon Chip projects.

    Remember that each project will have different software programmed on to the chip. In this case the firmware I pointed you to (firmware is what you program onto the chip) would have to be given to them too -- they probably don't provide that service -- but you could ask.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-