I've been trying to upload a firmware to the MP3 that works.
Since I destroyed it the first time I tried to update the firmware, I had to find a way to fix it. (I destroyed it by changing an AP file in a dump that wasn't repaired ).
The fix procedure that I used involved using the "T18.bin" original firmware, and then uploading the original dump made with s1fwx.
I uploaded that dump, because the T18.bin file is not enough: the resources are for a MP4 (or something like that, it has big-colour bmps, and my mp3 player has monochrome and small ones). But uploading a dump file with s1fwx after flashing makes it work just fine.
So. My goal is to modify some z80 asm code to start doing weird stuff, but first I'm trying to make a new firmware that works with MP3 Update Tool.
I did this:
- - Uncompressed a repaired dump.bin
- Uncompressed FWIMAGE.FW from that dump
- Uncompressed T18.bin (the original firmware of the mp4)
- Uncompressed FWIMAGE.FW from T18
- Generated a script file, both AFI and FW, for each one.
Then, I created a "merge" directory with the T18 files, and copied the dump files, overwriting. I also merged all the scripts.
Finally, I created a FWIMAGE.FW from the merged script, and then a new .bin file from the merged script aswell.
That merged firmware works with MP3 Update Tool, but after upgrading with the Update Tool, the player starts in ADFU mode.
My guess is that BROM (or BREC?) decides to start in ADFU mode because it finds something bad in that new firmware. But I don't understand what could possibly be wrong... bad checksum maybe?. I don't know how to debug the BROM/BREC.
btw, s1giveio works, loadram works but the LCD pins/port are not ok, and the LCD_Detect doesn't work .
Any ideas? I just need that new firmware working to start modifying AP files :S.