FS#10672 - EEPROM dump plugin for Cowon D2 players

Attached to Project: Rockbox
Opened by Jonas Aaberg (GMelchett) - Sunday, 11 October 2009, 17:16 GMT
Last edited by Rob Purchase (shotofadds) - Thursday, 29 October 2009, 20:50 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This is a simple plugin that dumps the EEPROM of any Cowon D2 player.
The eeprom is needed for the cowond2_emulator, mentioned on the wiki.

Applies on svn of october 11 2009.
This task depends upon

Closed by  Rob Purchase (shotofadds)
Thursday, 29 October 2009, 20:50 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Functionality added into debug menu in r23408
Comment by Jonas Aaberg (GMelchett) - Sunday, 11 October 2009, 17:17 GMT
The plugin + build file patches.
Comment by Tom Ross (midgey34) - Saturday, 17 October 2009, 06:31 GMT
This seems like it should be in the debug menu rather than a plugin. r23203 basically did the same thing for the Gigabeat S.
Comment by Jonas Aaberg (GMelchett) - Tuesday, 20 October 2009, 16:57 GMT
As it looks like today, I agree with you Tom. But Rob, who did most D2 work, plans to extend this plugin to make a full dump of the internal flash, so I leave the decision to him.
Comment by Rob Purchase (shotofadds) - Tuesday, 27 October 2009, 17:14 GMT
Actually I think midgey's right - I hadn't noticed the convention for doing this kind of thing in the debug menu. And dumping the raw NAND flash will require access to functions that have no place being exported to the plugin API, so I guess I wasn't really thinking straight when I said that! ;-)

I think the best thing to do is to add a new entry to the debug menu (conditional on #ifdef CPU_TCC780X) and move this code to a new function in debug-tcc780x.c. I'll do that tonight and then look at the NAND dumper after that.
Comment by Rob Purchase (shotofadds) - Thursday, 29 October 2009, 20:49 GMT
Well, it was even simpler than that as I just followed the existing convention - there's already a "Dump ROM contents" option in the Debug menu...