E/X-Mag Microcontroller Programming (Atmel AT90S2313)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • StygShore
    Waterford, MI

    • Aug 2002
    • 2854

    #706
    it's OK, we like to hear frome you every now and then to knwo all is well.


    Styg
    Sometimes It's Good to be EVIL

    Comment

    • LorneCash
      Got XMOD? www.NiedTech.com
      • Aug 2005
      • 365

      #707
      Sticky my thread please.

      Comment

      • KayleAGD
        Master tech.
        • Nov 2000
        • 582

        #708
        micro-

        how about one of these ? digikey it had the same footprint but only one counter/ timer..
        "It's my buddies gun"
        "I just bought it"
        "It came that way"
        "I borrowed it "
        I HAVE HEARD THEM ALL, SO BE ORIGINAL !!!

        My gun says I'm holding it back from doing great things ...

        Comment

        • LorneCash
          Got XMOD? www.NiedTech.com
          • Aug 2005
          • 365

          #709
          Originally posted by KayleAGD
          how about one of these ? digikey it had the same footprint but only one counter/ timer..
          link is broken, but if I were to make to choose a new processor now it would be an Atmel ATmega48

          summary datasheet for Atmega48
          http://www.atmel.com/dyn/resources/p...ents/2545S.pdf

          check out pages 18-21 for the different sizes available I'd stick to the 20Mhz chips since that's what the current chip is. the only thing left is to check digikey and see what the availability is because they only stock the common options... which is what we would want anyways.

          These chips have several advantages first if I would ever run out of memory I can get the same chip with up to 16k of memory (8 times the current chip although 4k should be pleanty)

          second they can be really tiny 5x5x1mm... much smaller than the current chip

          and that's just to name a few physical details... there's a few programming advantages too.

          Comment

          • KayleAGD
            Master tech.
            • Nov 2000
            • 582

            #710
            try this digikey pdf


            Attiny861v-10pu-nd

            this processor has the same footprint for the boards it would make it easy ..
            "It's my buddies gun"
            "I just bought it"
            "It came that way"
            "I borrowed it "
            I HAVE HEARD THEM ALL, SO BE ORIGINAL !!!

            My gun says I'm holding it back from doing great things ...

            Comment

            • LorneCash
              Got XMOD? www.NiedTech.com
              • Aug 2005
              • 365

              #711
              Originally posted by KayleAGD
              try this digikey pdf


              Attiny861v-10pu-nd

              this processor has the same footprint for the boards it would make it easy ..
              It looks like a good chip there are 2 things that concern me... the pinnout is different enough so that it could never be a drop in chip, and also it doesn't have as many IO pins. It has 16 instead of 18. That isn't really a problem though because currently only 13 of them are actually used.

              This chip does have some of the advantages of the Mega48 too... the main one is that every IO pin is an interrupt. This means the gun could be put in sleep mode whenever you're not shooting and not kill yout battery... I actually wrote the code to do this before I realized that it would never work because the only interrupt is the trigger.

              Comment

              • KayleAGD
                Master tech.
                • Nov 2000
                • 582

                #712
                Originally posted by LorneCash

                Here is a list of what i found when doing a pinnout of the Board. If anyone wants a full pinnout of the Microcontroller or a reverse engineered schematic on the board let me know and i'll either email it to you or post it if i get enough requests.

                Port B
                PB7 - N/C
                PB6 - ACE
                PB5 - Tournament Lock
                PB4 - Display RS
                PB3 - Display DATA IN
                PB2 - Display CLOCK
                PB1 - Low Voltage
                PB0 - N/C

                Port D
                PD7 - N/C
                PD6 - Display CE
                PD5 - Bottom Button
                PD4 - Top Button
                PD3 - Solenoid/Warp Feed (at the same time)
                PD2 - Trigger (HES)
                PD1 - N/C
                PD0 - N/C

                Can someone double check these? I haven't gotten far enough in the code to use all of them yet and it would be extreemly frustrating if i had this part wrong. Send Me a PM and i'll edit my post so as not to confuse anyone who reads this later.
                Paul ;
                I cannot find a reference to pd7 on the chip diagram. Any thoughts ? Could you e-mail me the schematic of the board ?

                Kayle
                "It's my buddies gun"
                "I just bought it"
                "It came that way"
                "I borrowed it "
                I HAVE HEARD THEM ALL, SO BE ORIGINAL !!!

                My gun says I'm holding it back from doing great things ...

                Comment

                • LorneCash
                  Got XMOD? www.NiedTech.com
                  • Aug 2005
                  • 365

                  #713
                  Originally posted by KayleAGD
                  Paul ;
                  I cannot find a reference to pd7 on the chip diagram. Any thoughts ? Could you e-mail me the schematic of the board ?

                  Kayle
                  Yea guess I put that in there just to make things symmetric... In actuality you're right PD7 does not exist. The other one had 7 so I just made that one have 7 and left is as N/C. sorry for the confusion

                  Comment

                  • KayleAGD
                    Master tech.
                    • Nov 2000
                    • 582

                    #714
                    are there any pins that cannot be moved by programming ? other than VCC and GND

                    old AT90S2313 ...... new ATtiny861

                    PB7 - N/C
                    PB6 - ACE ...... PA2-PIN 18
                    PB5 - Tournament Lock ...... PA3- PIN 17
                    PB4 - Display RS ...... PB0- PIN 1
                    PB3 - Display DATA IN ...... PB1- PIN 2
                    PB2 - Display CLOCK ...... PA4- PIN 14
                    PB1 - Low Voltage ...... PA5- PIN 13
                    PB0 - N/C

                    Port D

                    PD6 - Display CE ...... PA6- PIN 12
                    PD5 - Bottom Button ...... PB6- PIN 9
                    PD4 - Top Button ...... PB5- PIN 8
                    PD3 - Solenoid/Warp Feed ...... PB4- PIN 7
                    PD2 - Trigger (HES) ...... PB4- PIN 4
                    PD1 - N/C
                    PD0 - N/C

                    I can make a crossover to move connections but the fewer the better. Better get youre programming fingers warmed up I think we can do this. Can you send me the diagram of the board ? That would save me alot of time ..

                    Kayle
                    "It's my buddies gun"
                    "I just bought it"
                    "It came that way"
                    "I borrowed it "
                    I HAVE HEARD THEM ALL, SO BE ORIGINAL !!!

                    My gun says I'm holding it back from doing great things ...

                    Comment

                    • LorneCash
                      Got XMOD? www.NiedTech.com
                      • Aug 2005
                      • 365

                      #715
                      Originally posted by KayleAGD
                      are there any pins that cannot be moved by programming ? other than VCC and GND

                      I can make a crossover to move connections but the fewer the better. Better get youre programming fingers warmed up I think we can do this. Can you send me the diagram of the board ? That would save me alot of time ..

                      Kayle
                      I'll send you what I got, but pm me your email again, can't seem to find it.

                      Comment

                      • LorneCash
                        Got XMOD? www.NiedTech.com
                        • Aug 2005
                        • 365

                        #716
                        up

                        Comment

                        • LorneCash
                          Got XMOD? www.NiedTech.com
                          • Aug 2005
                          • 365

                          #717
                          it's a clasic... I gotta bring it up

                          Comment

                          • zigss
                            Registered User
                            • Feb 2006
                            • 23

                            #718
                            figured i'll try to help out the up post

                            Comment

                            • cledford
                              Registered User
                              • Feb 2001
                              • 1386

                              #719
                              Anyone know why Lorne's website is down and if the files are mirrored/archived anywhere? I bought the programmer more than a year ago, but never got around to flashing my gun. Also, any chance the programmer works with Vista?

                              Thanks,

                              -Calvin
                              From a poster at PB Nation:

                              ""Jim, back to your cave. Bob Long is on the batphone..."

                              MY FEEDBACK

                              Comment

                              • mpsd
                                Crazy Brazilian P8Baller

                                • Nov 2005
                                • 2778

                                #720
                                Originally posted by cledford
                                Anyone know why Lorne's website is down and if the files are mirrored/archived anywhere? I bought the programmer more than a year ago, but never got around to flashing my gun. Also, any chance the programmer works with Vista?

                                Thanks,

                                -Calvin
                                Mine is an old serial programmer and it works perfectly with Vista. Don't know about the site but if Lorne doesn't mind I can get you a copy of 1.8. PM him first to make sure, ok?

                                My Feedback

                                Comment

                                Working...