Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« previous next »
  • Print
Pages: [1] 2 3 ... 6

Author Topic: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)  (Read 14060 times)

Offline qorx

  • Member
  • *
  • Posts: 25
ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« on: June 26, 2016, 05:56:20 PM »
Hi,
I'm unable to update my Clip+ from several builds back.
After updating either manually or with rbutil, an ATA error: -2 is shown in rolo. Latest builds all give same error so I reverted to the one I had as backup: c90d42d-160408 which runs fine.
This happens even with all default settings set.
Formatted, checked for file system errors and reinstalled everything again but nothing seems to get past the boot error unless reverting..

If I update to the latest build and replace "Rockbox.sansa" file with the one from my backup, it starts normally, no error shown.

saratoga said in irc that I'm the first to report this error, so as he suggested here's the forum topic.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #1 on: June 27, 2016, 09:07:48 AM »
I believe ATA error -2 just means that the storage couldn't be read.  This is likely due to the recent changes to voltage and frequency scaling.

What was the oldest build you tried that did not work? 
Logged

Offline qorx

  • Member
  • *
  • Posts: 25
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #2 on: June 27, 2016, 10:07:26 AM »
All builds from here: http://www.rockbox.org/dl.cgi?bin=sansaclipplus did not work, so I gave up and installed my backup but it seems that it was around May because the one I have is from 160408 and I've another from 160414 that also runs fine.
If you can get me some builds prior to the ones in that page, I can test more if you want.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #3 on: June 27, 2016, 12:24:59 PM »
We don't have download links for old builds, they must be compiled.  Post the build number for the last build that worked correctly.
Logged

Offline johnb

  • Member
  • *
  • Posts: 207
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #4 on: June 27, 2016, 02:31:38 PM »
Hi,

here is the build that has all the voltage and frequency scaling (rockbox-sansaclipplus.18fecd9.zip  160422). All of my clip+es work fine with it.
https://app.box.com/s/tbii7up8i2btfgegqc3g624igv6yjx4n

Regards
johnb
Logged

Offline qorx

  • Member
  • *
  • Posts: 25
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #5 on: June 27, 2016, 05:50:12 PM »
saratoga, the last one that works in my Clip+ is: c90d42d-160408
johnb, thanks for the build upload, unfortunately the same error is shown with that build too.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #6 on: June 27, 2016, 06:32:00 PM »
The only substantial change between those builds is that we enabled voltage scaling, so here is the current git but with voltage scaling disabled:

http://mit.edu/mgg6/www/rockbox-c7a561e-noVoltage-clip+.7z
Logged

Offline qorx

  • Member
  • *
  • Posts: 25
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #7 on: June 27, 2016, 08:12:15 PM »
That one runs fine, thanks for compiling it. So it must be something with voltage scaling in my player.
How can I help debug?
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #8 on: June 28, 2016, 05:47:43 AM »
saratoga: I think we should try slightly rise (48 - 50) CVDD1 at boost. If it help we can add special case for clip+ as we already have for clip zip at normal freq.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #9 on: June 28, 2016, 07:01:41 PM »
Here is a build with voltage scaling enabled but a slightly higher boost voltage:

http://mit.edu/mgg6/www/rockbox-clipplus-49-voltage.7z

Logged

Offline qorx

  • Member
  • *
  • Posts: 25
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #10 on: June 28, 2016, 07:44:26 PM »
Quote from: saratoga on June 28, 2016, 07:01:41 PM
Here is a build with voltage scaling enabled but a slightly higher boost voltage:

http://mit.edu/mgg6/www/rockbox-clipplus-49-voltage.7z

Same error as before
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #11 on: June 28, 2016, 08:34:59 PM »
Here is a build with the unboosted voltage register increased from 22 to 25:

http://mit.edu/mgg6/www/rockbox-clipplus-25-voltage.7z

By the way, if you have a smartphone could you load a working build without voltage scaling, go to System -> Debug -> View IO Ports and then hit down until you see the screen with "CVDD2" on it and take a picture?  I'm curious if your player has similar voltages as mine does. 
Logged

Offline qorx

  • Member
  • *
  • Posts: 25
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #12 on: June 28, 2016, 09:21:12 PM »
That seems to fix it as it runs without any error anymore.
The "CVDD2" value fluctuates between 2705 and 2720

* IMG_.jpg (65.18 kB, 1125x759 - viewed 240 times.)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #13 on: June 28, 2016, 10:08:58 PM »
Can you try this one as well?

http://mit.edu/mgg6/www/rockbox-clipplus-23-voltage.7z

Your voltages look identical to mine at least.

Edit:  If that fails, here is 24:

http://mit.edu/mgg6/www/rockbox-clipplus-24-voltage.7z

Lower will use less power, so its worth finding the minimum. 
« Last Edit: June 28, 2016, 10:16:01 PM by saratoga »
Logged

Offline qorx

  • Member
  • *
  • Posts: 25
Re: ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
« Reply #14 on: June 29, 2016, 10:16:12 AM »
23-voltage is running ok, it gives an estimated 26h of battery :) Thank you!
I've tried 24 as well and it displayed 25h...

If the voltages are identical to yours, what may be causing the error on mine with a lower value? Any idea?
Logged

  • Print
Pages: [1] 2 3 ... 6
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  ATA error: -2 at boot after updating Sansa Clip+ (dev builds)
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.084 seconds with 14 queries.