Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Reverse Engineering
>
DEFAULT ROMEN bit status for ME7.5
Pages: [
1
]
« previous
next »
Author
Topic: DEFAULT ROMEN bit status for ME7.5 (Read 2892 times)
ottosan
Full Member
Karma: +5/-5
Offline
Posts: 92
DEFAULT ROMEN bit status for ME7.5
« on: February 13, 2021, 05:24:16 AM »
Dear Members,
I have boot read with K-tag S3 8L 018BJ box it dumped .MPC(ROM), .FLS(Flash Content),EEP(95040 eeprom).
After I have created IDA Project and mapped MPC to address 0x0000.
The code in the ROM is as follows:
ROM:00006470 RESET_handler: ; CODE XREF: ROM:RESET↑J
ROM:00006470 ; seg010:j_RESET_handler↓J
ROM:00006470 mov CP, #0F740h
ROM:00006474 mov BUSCON0, #4ADh
ROM:00006478 jnb ROMEN, loc_6482
ROM:0000647C mov SYSCON, #1110011000000100b
ROM:00006480 jmpr cc_UC, loc_6486
ROM:00006482 ; ---------------------------------------------------------------------------
ROM:00006482
ROM:00006482 loc_6482: ; CODE XREF: RESET_handler+8↑j
ROM:00006482 mov SYSCON, #1110001000000100b
ROM:00006486
ROM:00006486 loc_6486: ; CODE XREF: RESET_handler+10↑j
........
It looks like if SYSCON ROMEN bit is enabled the ECU is booting from the internal ROM(MPC in My case) if ROMEN bit is not set than the CPU boots from external Flash(FLS) so I have to map the first 32k from flash to 0x0000 address.
My question is what is usually the ROMEN bit status for ME7.5?
Should I map the internal ROM dump to 0x0000 or first 32k of external Flash to address 0x0000.
Thank you in Advance,
Logged
gremlin
Hero Member
Karma: +196/-9
Offline
Posts: 655
Re: DEFAULT ROMEN bit status for ME7.5
« Reply #1 on: February 13, 2021, 06:02:13 AM »
Quote from: ottosan on February 13, 2021, 05:24:16 AM
My question is what is usually the ROMEN bit status for ME7.5?
Depends of board HW release.
RTFM.
ROMEN bit is set according to pin EA state during reset
Logged
ottosan
Full Member
Karma: +5/-5
Offline
Posts: 92
Re: DEFAULT ROMEN bit status for ME7.5
« Reply #2 on: February 13, 2021, 06:17:00 AM »
Quote from: gremlin on February 13, 2021, 06:02:13 AM
Depends of board HW release.
RTFM.
ROMEN bit is set according to pin EA state during reset
Thank you for fast reply. This is a standard s3 8L me7.5 my 2001. 225 ph.
Could you please tell how I can find the HW release information?
Regards,
Logged
ottosan
Full Member
Karma: +5/-5
Offline
Posts: 92
Re: DEFAULT ROMEN bit status for ME7.5
« Reply #3 on: February 13, 2021, 10:17:28 AM »
Quote from: gremlin on February 13, 2021, 06:02:13 AM
Depends of board HW release.
RTFM.
ROMEN bit is set according to pin EA state during reset
I didn't knew what RTFM means.
Now I know.
IHRFM!
I'm asking because it's not Clear in The FM.
«
Last Edit: February 13, 2021, 10:30:51 AM by ottosan
»
Logged
gremlin
Hero Member
Karma: +196/-9
Offline
Posts: 655
Re: DEFAULT ROMEN bit status for ME7.5
« Reply #4 on: February 14, 2021, 03:19:22 AM »
Quote from: ottosan on February 13, 2021, 06:17:00 AM
Could you please tell how I can find the HW release information?
Open ecu and check mcu pin 99 connection.
If connect to Vcc than ROMEN=1, else ROMEN=0
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Introductions
=> General Discussion
-----------------------------
Noob Zone
-----------------------------
=> Noob Questions
=> Noob Guides and FAQs
-----------------------------
Technical
-----------------------------
=> NefMoto Software
=> Tuning
===> Documents & Helpers & How To's
===> Community Projects
=> Diagnostics
=> Flashing and Chipping
=> Cluster and Immobilizer
===> ECU EEPROM images
===> Original Cluster dumps
===> Original Cluster dump requests
=> Data Logging
=> Reverse Engineering
=> Communication Protocols
-----------------------------
ECU Files
-----------------------------
=> ECU Definition Files
===> ECU Definition File Requests
=> Original ECU Files
===> Original ECU File Requests
=> Checksum Update Requests
-----------------------------
Vehicles
-----------------------------
=> Vehicle Tech
=> Project Cars
-----------------------------
Regional
-----------------------------
=> Canadian Regional Discussion
=> US Regional Discussion
-----------------------------
Classifieds
-----------------------------
=> For Sale
=> Wanted
=> Services
-----------------------------
Miscellaneous
-----------------------------
=> Off Topic
=> Forum Tech Support
=> Bizarro Messages Posted by Bots and Spammers
Navigation
Home
Help
Login
Register
Personal Tools
November 29, 2024, 10:15:26 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
Loading...