+ Post New Thread
Page 5 of 7 FirstFirst ... 3 4 5 6 7 LastLast
Results 81 to 100 of 126
  1. #81
    Administrator
    Points: 69,041, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2351 / 2351
    Points
    69,041
    Level
    64
    Blog Entries
    4

    Re: Can 89S programmed using USBasp?

    The stk500.exe doesn't know or care whether the HEX file from a C or Assembly program.

    You're building a commandline, so you can either enter your own commandline in a command window or write a simple batch file script.

    STK500.exe Command Line Programming

    Hope the info helps,

    BigDog



  2. #82
    Advanced Member level 2
    Points: 6,536, Level: 19
    ctownsend's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    571
    Helped
    93 / 93
    Points
    6,536
    Level
    19

    Re: Can 89S programmed using USBasp?

    Does anyone even know 100% for sure that the stk500.exe supports at89s8252?
    I am certain stk500.exe supports 89s51/52 but not the at89s8252/at89s53.

    progisp does support at89s8252, however your usbasp firmware must support this chip. I don't believe there is a version that does.( I Haven't seen it, forgive me if it does exist)

    For older 89s8252 or even the 89s53 i use avrprog.exe (from atmel). It works well on an avr910 board (serial port or usb to serial cable).


    1 members found this post helpful.

  3. #83
    Administrator
    Points: 69,041, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2351 / 2351
    Points
    69,041
    Level
    64
    Blog Entries
    4

    Re: Can 89S programmed using USBasp?

    Quote Originally Posted by ctownsend View Post
    Does anyone even know 100% for sure that the stk500.exe supports at89s8252?
    I am certain stk500.exe supports 89s51/52 but not the at89s8252/at89s53.
    You bring up a valid and important point ctownsend. Unfortunately, it appears the answer is No for the AT89S8252 and AT89S53.

    If you run the command "stk500.exe -?", the list of compatible devices is displayed, AT89S51 and AT89S52 are the only AT89S devices listed.

    BigDog


    1 members found this post helpful.

  4. #84
    Newbie level 6
    Points: 217, Level: 2

    Join Date
    Dec 2011
    Posts
    11
    Helped
    0 / 0
    Points
    217
    Level
    2

    Re: Can 89S programmed using USBasp?

    I ussually use Assembler to programmed 89S52, n I never use USBasp,
    maybe we can using USPasp, but we must know interface that suitable for use USBasp.



  5. #85
    Advanced Member level 3
    Points: 6,062, Level: 18
    Achievements:
    7 years registered

    Join Date
    Jun 2009
    Location
    India
    Posts
    841
    Helped
    163 / 163
    Points
    6,062
    Level
    18

    Re: Can 89S programmed using USBasp?

    Would it make sense if somebody compiles all the useful information from this thread into one DO IT YOURSELF so that it becomes a powerful useful tool that was (and is ) badly needed for USB based programmer for 8051 family.



  6. #86
    Member level 3
    Points: 2,329, Level: 11

    Join Date
    Mar 2006
    Posts
    59
    Helped
    15 / 15
    Points
    2,329
    Level
    11

    Re: Can 89S programmed using USBasp?

    I think i will do that and get back on this in a couple of days.


    2 members found this post helpful.

  7. #87
    Newbie level 4
    Points: 264, Level: 3

    Join Date
    Dec 2011
    Location
    mangalore
    Posts
    5
    Helped
    0 / 0
    Points
    264
    Level
    3

    Re: Can 89S programmed using USBasp?

    can someone provide modified schematic with diode 4148 in place..
    it is not present at USB 8051/AVR programmer - Free 8051 Microcontroller projects



    •   Alt8th January 2012, 05:51

      advertising

        
       

  8. #88
    Junior Member level 3
    Points: 6,975, Level: 19

    Join Date
    Jan 2011
    Posts
    30
    Helped
    8 / 8
    Points
    6,975
    Level
    19
    Blog Entries
    2

    Re: Can 89S programmed using USBasp?

    Quote Originally Posted by sandesh9u View Post
    can someone provide modified schematic with diode 4148 in place..
    it is not present at USB 8051/AVR programmer - Free 8051 Microcontroller projects
    ...you can try this...
    A USB AVR/ ATmega/ AT-89-S-51 Programmer + ISP/ ICSP Capability - Blogs - Forum for Electronics


    1 members found this post helpful.

  9. #89
    Newbie level 4
    Points: 264, Level: 3

    Join Date
    Dec 2011
    Location
    mangalore
    Posts
    5
    Helped
    0 / 0
    Points
    264
    Level
    3

    Re: Can 89S programmed using USBasp?

    can the wrong fuse bits make the usb device unrecognised???

    coz, fuse bit which is required to be burnt is Hfuse=C9 & Lfuse=EF & i cannot write them directly in digit.. so i searched for check box values..

    as per this site: Setting fuse-bits on Atmel Atmega8 AVR at Louic's blog – about science and stuff
    the pattern is

    hfuse:
    bit 7 6 5 4 3 2 1 0
    name RSTDISBL WDTON SPIEN CKOPT EESAVE BOOTSZ1 BOOTSZ0 BOOTRST

    lfuse:
    bit 7 6 5 4 3 2 1 0
    name BODLEVEL BODEN SUT1 SUT0 CKSEL3 CKSEL2 CKSEL1 CKSEL0

    but as per this site:Engbedded AVR Fuse Calculator
    it is different..
    i'm confused which one is right... plz suggest me correct pattern & check box values..



  10. #90
    Newbie level 4
    Points: 264, Level: 3

    Join Date
    Dec 2011
    Location
    mangalore
    Posts
    5
    Helped
    0 / 0
    Points
    264
    Level
    3

    Re: Can 89S programmed using USBasp?

    got it.. the second one is right...
    USBASP working fine now :)
    thanks board members...



  11. #91
    Full Member level 6
    Points: 2,768, Level: 12
    Ogu Reginald's Avatar
    Join Date
    Oct 2011
    Location
    Nigeria
    Posts
    369
    Helped
    45 / 45
    Points
    2,768
    Level
    12

    Re: Can 89S programmed using USBasp?

    I dont think that at89s52 is programmable through usb, I have searched over the internet to see if I can get a circuit for this instead what I keep seeing is the circuit for rs232. It could be that the driver/firmware supports many hardware.

    ---------- Post added at 08:01 ---------- Previous post was at 07:48 ----------

    The problem is not using keil or not after all keil supports assembly language programming.If you can find a firmware that can drive the USB hardware then the problem is solved.



  12. #92
    Administrator
    Points: 69,041, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2351 / 2351
    Points
    69,041
    Level
    64
    Blog Entries
    4

    Re: Can 89S programmed using USBasp?

    Quote Originally Posted by Ogu Reginald View Post
    I dont think that at89s52 is programmable through usb, I have searched over the internet to see if I can get a circuit for this instead what I keep seeing is the circuit for rs232. It could be that the driver/firmware supports many hardware.
    The AT89S52 most certainly can be programmed using a USB based programmer device.

    I've personally used Atmel's AVRisp mkII in conjunction with STK500.exe application and KEIL uVision without any issues.


    BigDog



  13. #93
    Member level 1
    Points: 1,968, Level: 10

    Join Date
    Dec 2005
    Posts
    40
    Helped
    0 / 0
    Points
    1,968
    Level
    10

    Re: Can 89S programmed using USBasp?

    anyone have tried used USBasp to program AT89S8253, I have tried to program S52 and success, but when program AT89S8253, it's say
    program chip enable error. I'm using prog ISP as USBasp GUI.



  14. #94
    Administrator
    Points: 69,041, Level: 64
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    bigdogguru's Avatar
    Join Date
    Mar 2010
    Location
    Southwest, USA
    Posts
    9,832
    Helped
    2351 / 2351
    Points
    69,041
    Level
    64
    Blog Entries
    4

    Re: Can 89S programmed using USBasp?

    The AT89S8253 may not be supported by either prog ISP or USBasp GUI?

    You may need to confirm whether or not the AT89S8253 is supported.

    BigDog
    The Edge... there is no honest way to explain it, because the only people who really know where it is are the ones who have gone over.
    -- Hunter S. Thompson



  15. #95
    Member level 1
    Points: 1,968, Level: 10

    Join Date
    Dec 2005
    Posts
    40
    Helped
    0 / 0
    Points
    1,968
    Level
    10

    Re: Can 89S programmed using USBasp?

    yes, in GUI it's support AT89S8253.
    I Attach the GUI in my post



  16. #96
    Advanced Member level 5
    Points: 20,015, Level: 34
    Achievements:
    7 years registered
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    INDIA
    Posts
    2,777
    Helped
    626 / 626
    Points
    20,015
    Level
    34

    Re: Can 89S programmed using USBasp?

    The 89S8253 is supported by ProgISP1.68v too. I guess it should work well (Programmed by the Firmware modified USBasp) provided it is backed up by the Xtal, and Reset circuit.
    Cheers



  17. #97
    Member level 1
    Points: 1,968, Level: 10

    Join Date
    Dec 2005
    Posts
    40
    Helped
    0 / 0
    Points
    1,968
    Level
    10

    Re: Can 89S programmed using USBasp?

    hi pranam, what sould modified in USBasp firmware, I have tried to make it possible


    this is my firmware that I use.
    Last edited by januar1983; 16th June 2012 at 08:17.



  18. #98
    Advanced Member level 3
    Points: 6,062, Level: 18
    Achievements:
    7 years registered

    Join Date
    Jun 2009
    Location
    India
    Posts
    841
    Helped
    163 / 163
    Points
    6,062
    Level
    18

    Re: Can 89S programmed using USBasp?

    Januar1983
    Can this firmware be used for programming 89S51,52 and 89S8253?



  19. #99
    Member level 1
    Points: 1,968, Level: 10

    Join Date
    Dec 2005
    Posts
    40
    Helped
    0 / 0
    Points
    1,968
    Level
    10

    Re: Can 89S programmed using USBasp?

    Quote Originally Posted by ark5230 View Post
    Januar1983
    Can this firmware be used for programming 89S51,52 and 89S8253?
    Yup, this firmware work well when programming 89s51,52, but not working for programing S8253



    •   Alt18th June 2012, 02:28

      advertising

        
       

  20. #100
    Advanced Member level 5
    Points: 20,015, Level: 34
    Achievements:
    7 years registered
    pranam77's Avatar
    Join Date
    Apr 2008
    Location
    INDIA
    Posts
    2,777
    Helped
    626 / 626
    Points
    20,015
    Level
    34

    Re: Can 89S programmed using USBasp?

    Quote Originally Posted by januar1983 View Post
    hi pranam, what sould modified in USBasp firmware, I have tried to make it possible. this is my firmware that I use.
    The original firmware what is available from USB asp is not capable of programming 89Sxx. next came a new modified firmware whcih is a direct replacement to the later and when used with ProgISP was possible to program the 89Sxx series. What you use is the same what was found as a new firmware and it should work well. many have sucessfully done this which can be found on this thread with ample discussions.
    Cheers



--[[ ]]--