E/X-Mag Microcontroller Programming (Atmel AT90S2313)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • temilotzin
    Little Huitzil XT00354
    • Mar 2003
    • 204

    #496
    Originally posted by LorneCash
    PROGRAMMERS HAVE ARRIVED!!!



    Luckily I have no plans after work tonight and tomorrow night so I will have plenty of time to get them all shipped by Wednesday. I didn't expect them until wednesday so I'll get BETA 1.6 emailed out to everyone by Friday, which should be before you actually recieve the programmers.

    I ordered 50 and I have 36 still available so if you want one get it now because I will be posting them on ebay by the end of the week.

    NICE!

    Comment

    • VK700
      Registered User
      • Mar 2004
      • 2

      #497
      Originally posted by LorneCash
      I was working on BETA 1.6 again this weekend and I've added the one thing that was holding me back from an official release...

      BETA 1.6 now checks the values read in from the EEPROM and if they are out of normal range (AKA corrupted) it will automaticly reset them to a default value. At the moment I have it so that each value is checked individually and reset individually, I was thinking about it on the way to work this morning and I don't think that is the best approach because there is no way to tell if something has been reset other than flipping through the menu's and trying to remember what you had it set to. I'm going to change it so that if one value is reset they all get resetincluding the display brightness... that way if your values get reset you will be able to tell because your display will be on the dimmest setting. I know if you are actually using the dimmest brightness setting that you wouldn't be able to tell but I don't think most people will use that.

      What do you guys think? Is that a good way of doing it?
      I don't know how much space you have in EEPROM. Can you double buffer?
      Double Buffer Article
      Linked from Murphys Law

      Comment

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

        #498
        Originally posted by VK700
        I don't know how much space you have in EEPROM. Can you double buffer?
        Double Buffer Article
        Linked from Murphys Law
        I thought of doing that but I can't get any of my three X-Mags to corrupt data when I try. So for now I am just going to rely on resetting the values to defaults. If any of my BETA testers or future users complain about having a corruption problem I will change the code to add a miltibuffer read/write to the EEPROM. Otherwise I'll leave it how I have it since what I have takes less code space.

        Comment

        • robnix
          email robnix@gmail
          • Jan 2006
          • 2094

          #499
          Originally posted by LorneCash
          PROGRAMMERS HAVE ARRIVED!!!



          Luckily I have no plans after work tonight and tomorrow night so I will have plenty of time to get them all shipped by Wednesday. I didn't expect them until wednesday so I'll get BETA 1.6 emailed out to everyone by Friday, which should be before you actually recieve the programmers.

          I ordered 50 and I have 36 still available so if you want one get it now because I will be posting them on ebay by the end of the week.
          Dammit! I just knocked my Guiness over in joy.























          Okay, not really, but I'm thrilled! Thanks again for all your hard work.

          Comment

          • Naash
            Registered User
            • Oct 2004
            • 65

            #500
            Good !!!!!!!

            I would be able to use my emag at Millenium in Paris next July !!!!

            And so Mags will rock the world...

            Thanks Lornecash

            Comment

            • mstrdbz
              former cave baller
              • Dec 2004
              • 225

              #501
              Payment sent! Let the revolution begin!

              Comment

              • Rudz
                Registered User

                • Apr 2005
                • 5087

                #502
                omgwtforz11111

                man im speechless....and guess what board my halo has....hmm i wonder how fast this cheetah board really is..should we find out?? heheeh one things for sure..as for my warp halo set up?? this is gonna be gun....
                BEO MAFIA
                sigpic

                Comment

                • dacnar
                  Registered User
                  • Sep 2005
                  • 12

                  #503
                  I can't wait, me and the boys are heading out to castle conquest at EMR, in a few weeks and I am gonna love to see the looks on people's faces when my emag is ripping'em up!!!! Thanks again Lorne, you ARE THE MAN !!!!

                  Comment

                  • cowboy_00
                    Registered User
                    • Feb 2006
                    • 229

                    #504
                    update

                    Will you be sending an updated xmod to all your current testers too?

                    Comment

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

                      #505
                      Originally posted by cowboy_00
                      Will you be sending an updated xmod to all your current testers too?
                      For now keep using BETA 1.5 and as soon as I fix the low battery message I will release BETA 1.6. Don't worry it will be soon I'm sure it's a small problem I just have to stop making programmers long enough to find it.

                      Comment

                      • Rudz
                        Registered User

                        • Apr 2005
                        • 5087

                        #506
                        program

                        lorne can you resend the program to me..i dont have it..thanks..i have the manual..
                        BEO MAFIA
                        sigpic

                        Comment

                        • woodsy
                          Registered User
                          • Mar 2006
                          • 6

                          #507
                          How do I get in on this??? Sounds like a sweet program!

                          Woodsy

                          Comment

                          • zigss
                            Registered User
                            • Feb 2006
                            • 23

                            #508
                            xmod

                            start readin'

                            Comment

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

                              #509
                              Alright guys, I've finally finished making all your cables and packaging everything up. I'm sorry it all didn't ship on Wednesday like I said. I slightly underestimated how long it would take me to make everything. It will be shipped tomorrow morning.

                              Just to let you know, I personally tested each and every programmer and flash cable by flashing BETA 1.6 to my gun before I packaged them up, so I can garuntee you that unless they get smashed in the mail they all work.

                              I've also fixed the low battery message not appearing when it was supposed to and that means that BETA 1.6 is ready for release. Once I modify the manual I will email everyone the Flash and new manual. Tomorrow and Saturday I will work like mad to get the manual modified to include the instructions for how to use the ICProg to Flash your guns. It is much different from the other two programmers and also about 300% faster. The IcProg takes only 7sec to erase, program, and verify the chip as opposed to the AVRISP and STK500 which both take about 21sec.

                              Here's another interesting fact... I have yet to actually fire a gun with my own software with either paint or air. I have been quite broke lately and everything I've made so far has been invested into tools that will help me make the software better. That and I had to buy 2 new mainboards because I managed to fry 2 of them... Sparks and smoke... Not good. Don't worry though you're in no danger of that just don't use a variable DC power supply to power your gun while you're trying to flash it. For testing it works great though. Also Don't connect your battery backwards either I also managed to Fry my ACE board doing that. If anyone else did do that and their ACE board is not working I did manage to fix mine by replacing the transistor. I ordered 10 of them from digikey. The way to tell if it's the transistor that's bad is to smell it. If it smells like burnt electronics I can most likely fix it. Long story short I plan on going to play this Sunday and I am excited to see what I can do.

                              Comment

                              • Lightfoot
                                Registered User
                                • Apr 2005
                                • 37

                                #510
                                thanks for the update

                                thanks for the update lorne

                                you are the man

                                all hail lornecash

                                cant wait for my programmer to arrive



                                and i thought i was the only one to reverse the battery leads on my xmag (to anxious to put the new battery in its case ) fixed it as well

                                Comment

                                Working...