Can't Update Firmware on ATTINY104 XPLAINED NANO

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In Atmel Studio 7 under Device Programming it shows my device "mEDBG ATML2678....." for the tool, ATtime104 for the Device and TPI for the interface. When I click on Apply I get a popup message that mEDBG firmware must be updated before continuing from 1.01 to 1.07. I click on Upgrade and it comes back that mEDBG firmware successfully upgraded.

 

Then the Tool shows as "mEDBG[Disconnected] ATML2678....". When I click on Apply I get an error that it's unable to connect to tool mEDBG (ATML2678....) with details of: componentid of 20000, status code of 0 and message of "The tool specified has been disconnected. Please reconnect the tool or choose another one". 

 

So I unplug the USB cable and reinsert so that the Tool now shows mEDBG with the device (No disconnected message). When I click apply the message to upgrade the firmware comes back up, putting me in a firmware upgrade loop. 

 

Am I doing something wrong or is there something going wrong with the firmware update to mEDBG on this ATtiny104 Xplained Namo? By the way, I purchased two of these boards and have used two different USB cables, all with the same results as above. 

 

Thanks in advance for any help!

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I wonder if you have resolved this problem yet. I get exactly the same error message and results. 

Cheers

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What did Microchip support say when you asked?

 

 

 

(Possum Lodge oath) Quando omni flunkus, moritati.

"I thought growing old would take longer"

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi ki0bk. Only yesterday received the ATTINY104 Xplained Nano from Element14 (after waiting 8 days for arrival) and had started work on an urgent time-frame deliverable for an education establishment's exam timer.  So, I haven't yet contacted Microchip support. A cursory glance at some of the other topic headings on my initial search made me think that I would be waiting quite some time for a response from Microchip, so I decided to see if others had encountered the problem ... and found a solution. Certainly at least one other has encountered the problem. My next move, given the deliverable requirements was to use another device for which there were no issues.  (I used an Arduino Nano instead). Now that the dust has settled I'll go through the time-honoured channels for support.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Here is an update. Consulted Microchip support and they were very helpful and indeed very prompt.  Via email they guided me through getting a 'back-end' log which they quickly analysed and concluded that the firmware was actually being updated, but the update software wouldn't accept the result and continued to try to update. Here was their recommended 'get-around' ... and yes, it did allow me to access the microcontroller.

 

After going through the 'Update Firmware process at least once'.

 

1. Go to Atmel Studio

2. Tools --> options -->tool setting-->check firmware

3. Make check firmware as "false" so the IDE does not check for firmware update every time.

 

Hope this helps someone else. 

Cheers