Home › Forums › TinyG › TinyG Support › Problems flashing firmware
Tagged: firmware flashing tinyg xmega
- This topic has 8 replies, 6 voices, and was last updated 11 years, 7 months ago by Riley.
-
AuthorPosts
-
March 6, 2013 at 7:26 pm #3868greyhound716Member
I had some of this in a different thread, but figured I’d open up thing here in case other people have some ideas.
As of a “while” ago, I’ve been having problems flashing firmware updates using my mkII programmer and Studio 6. It is consistently in the same location in memory (0x17c00) and it always complains that it read the value 0xff. In a few cases I’ve been able to find a version which I can flash, but I believe that’s because that memory location happens to be 0xff anyway (unconfirmed). In fact, the only firmware I’m able to flash right now is the dev default/tinyg.hex.
Some of the things I’ve tried:
1. Reflashing the firmware for the programmer itself.
2. Changing out XMEGA chips(!) to rule out chip memory issues.
3. Changing USB cables and different USB busses.I really don’t want to reinstall Studio 4 to test it’s programmer, but I might try that if I get desperate. I can also try to use a Linux-based programmer, or try the experimental bootloader bootstrapping from the one firmware I can load.
Anyone else have any suggestions on what the problem might be, and a fix?
Thanks,
-MattMarch 7, 2013 at 6:46 am #3869aldenMemberMatt,
I assume you are using AtmelStudio6 for this? Can you list your settings so I can compare to what I use?
Also, have you tried using the bootloader? It’s experimental now but is working well for a few folks that are testing it. It’s in the dev branch and documented here:
https://github.com/synthetos/TinyG/wiki/TinyG-Boot-Loader
Alden
March 7, 2013 at 10:11 pm #3870greyhound716MemberAlden,
After updating to the beta AS 6.1 and the corresponding 1.15 mkII firmware, things seem to work again.
-MattMarch 8, 2013 at 5:42 am #3871aldenMemberThat’s a relief. Good to know.
March 10, 2013 at 10:46 pm #3877rickmellorMemberOK, this thread just saved my bacon. I bricked my board trying to install the latest firmware using Studio 6 SP2. Upgrading to Studio 6.1 beta fixed it for me too. Thanks!
March 12, 2013 at 5:06 pm #3878althielsMemberThanks for setting up this thread, I am going to make sure I have 6.1 and the new firmware installed before I attempt this for the first time. Just to be crystal for someone who hasn’t done this before, I need to download and unzip the contents of the github under: TinyG/Firmware and then in Atmel Studio, I will navigate to and load the Tinyg.hex file located in the default folder. Is this correct? I’m not really a computer guy and though the wiki is great, I am a little green to feel 100% comfortable not bricking the thing with the directions currently up there. Thanks!
March 13, 2013 at 4:52 pm #3879althielsMemberYeah, that worked out fine, not sure why I was worried…
March 26, 2013 at 11:06 am #3956mabelMemberJust to point it out to the admins, the link to the latest firmware from the Wiki for 0.94 and earlier is incorrect. Updating that may help new users not be too worried about whether or not they have the right .hex file.
April 18, 2013 at 7:53 pm #4028RileyKeymastermabel which link are you referring to?
-
AuthorPosts
- You must be logged in to reply to this topic.