XboxHacker BBS
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2013, 02:13:09 PM


Login with username, password and session length


Pages: 1
  Print  
Author Topic: flash ms25 external programmer - little-endian/big-endian  (Read 1115 times)
bART
Member
**
Posts: 14


View Profile
« on: August 01, 2007, 03:57:40 AM »

I downloaded the firmware of my TS ms25 using mtkflash.
Now I desoldered my chip and put on a socket so I can replace it with a new chip.

I want to program the new chip using an external programmer.
1. How should the bytes be written.. big or little endian?
2. Should I also swap the bytes in a word (since the mn103 is a 32-bit proc).

When I do an objdump of my firmware:
./objdump --adjust-vma 0x90000000 -m mn10300 -D -b binary ORIG.BIN > orig.s
I get the following
Code:
90000026:       33 e8 33        mov     (0x33e8),d3
90000029:       60              mov     d0,(a0)
9000002a:       11              extb    d1
9000002b:       04              clr     d1
9000002c:       60              mov     d0,(a0)
9000002d:       f0 ed           unknown 0xf0ed
9000002f:       33 ec 33        mov     (0x33ec),d3
where especially
  9000002d:       f0 ed           unknown 0xf0ed
does not make much sense to me. Am I doing something wrong here?

thnx,
bART
Logged
robinsod
Global Moderator
Xbox Hacker
*****
Posts: 648


Perl packed my shorts during global destruction


View Profile
« Reply #1 on: August 01, 2007, 04:42:48 AM »



I downloaded the firmware of my TS ms25 using mtkflash.
....
I want to program the new chip using an external programmer.
1. How should the bytes be written.. big or little endian?
2. Should I also swap the bytes in a word (since the mn103 is a 32-bit proc).
When I do an objdump of my firmware:
./objdump --adjust-vma 0x90000000 -m mn10300 -D -b binary ORIG.BIN > orig.s
....
does not make much sense to me. Am I doing something wrong here?

Yes you are, the TS is based on the 8051 NOT the mn103. No byte swapping or other mucking about is required
Logged
Pages: 1
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM