Pages: [1]
Author Topic: I have the C167 user manual and its still beyond me.  (Read 3878 times)
ZakDodge
Jr. Member
**

Karma: +2/-0
Offline Offline

Posts: 42


« on: October 13, 2019, 05:38:56 PM »

I have posted before trying to unearth more information on the subject but I think I need to take a step back even farther.

So I guess my next question to those who regularly dabble within IDA pro and assemble their own functions would be, where can I learn more about it? What assembly language are these functions written in?

I need to pinpoint where would be best for me to start reading into to make the information I have collected and somewhat comprehended make a little more sense.

TIA
Logged
jcsbanks
Full Member
***

Karma: +17/-3
Offline Offline

Posts: 126


« Reply #1 on: October 14, 2019, 12:46:15 AM »

They are usually a mix of code generated C from ETAS Ascet or similar, human written C and a sprinkling of assembler.

There is no shortcut to thousands, and usually tens of thousands of hours in related fields to get good at it.

It is way better to write in C, but you need to master assembly first in this case because your are patching something already compiled.
« Last Edit: October 14, 2019, 12:49:15 AM by jcsbanks » Logged
fluke9
Full Member
***

Karma: +26/-1
Offline Offline

Posts: 113


« Reply #2 on: October 14, 2019, 04:09:30 AM »

There is no shortcut to thousands, and usually tens of thousands of hours in related fields to get good at it.

Correct, its the same as you cant learn a language in 2 days.
Rudimentary takes you a few weeks or months, mastery of that language can take you years and more.
Logged
fknbrkn
Hero Member
*****

Karma: +177/-18
Offline Offline

Posts: 1401


mk4 1.8T AUM


« Reply #3 on: October 14, 2019, 07:38:27 AM »

Cmon it's just an asm
Take that move to this, compare etc
A weekend deal

Just take an c167 instructions manual and disassembled flash
And see how things done
Logged
fluke9
Full Member
***

Karma: +26/-1
Offline Offline

Posts: 113


« Reply #4 on: October 14, 2019, 11:44:22 AM »

Cmon it's just an asm
Take that move to this, compare etc
A weekend deal

Maybe for someone who has knowledge of the fundamentals,
if you dont know hex, understand how a cpu is supposed to work, what interrupts are and how on earth special registers work it might be a lot harder.
Whats an eeprom, how is it interfaced, how does a flash work (how does one enable writemode on flashes etc etc). Why are most digital inputs configured as LOW = true and so on and on and on.

But well, in the end it all depends on how deep you want to dig.

Logged
BlackT
Hero Member
*****

Karma: +79/-39
Offline Offline

Posts: 1420



« Reply #5 on: October 14, 2019, 01:06:11 PM »

Cmon it's just an asm
Take that move to this, compare etc
A weekend deal

Just take an c167 instructions manual and disassembled flash
And see how things done
Do you have any example, a file with disassembled flash.  Does that file load to IDA?    I have all that in "air"  and have concept about it. 
Let's say this page, i undestand all how to do, but not how to use IDA, how to load this files. And can I use IDA demo?

https://www.drive2.ru/l/534054239161286663/
Logged
nyet
Administrator
Hero Member
*****

Karma: +604/-166
Offline Offline

Posts: 12233


WWW
« Reply #6 on: October 14, 2019, 01:27:32 PM »

Do you have any example, a file with disassembled flash.  Does that file load to IDA?    I have all that in "air"  and have concept about it. 
Let's say this page, i undestand all how to do, but not how to use IDA, how to load this files. And can I use IDA demo?

https://www.drive2.ru/l/534054239161286663/


None of this is even remotely translatable to you unless you have at least some background on how a CPU works.
Logged

ME7.1 tuning guide (READ FIRST)
ECUx Plot
ME7Sum checksum checker/corrrector for ME7.x

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your experience.
BlackT
Hero Member
*****

Karma: +79/-39
Offline Offline

Posts: 1420



« Reply #7 on: October 14, 2019, 01:31:21 PM »

None of this is even remotely translatable to you unless you have at least some background on how a CPU works.
Test me...
As I said, I have all that thing in 'air' I can take a data sheet and read it for months. But if I have a living exemple like from this link. It can shorten my time for learning that a really much.
That is a learning curve like in school, first you have teory, than some simple exemple. And after that you are by your own for some complex task

IDA demo doesen't alow me to open that first file from link
« Last Edit: October 14, 2019, 02:08:51 PM by BlackT » Logged
fluke9
Full Member
***

Karma: +26/-1
Offline Offline

Posts: 113


« Reply #8 on: October 15, 2019, 04:54:38 AM »

IDA demo doesen't alow me to open that first file from link

IDA demo does not support other CPUs than x86 x64 iirc.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.02 seconds with 16 queries. (Pretty URLs adds 0s, 0q)