I know some on specific ecus, not about forum stuff
Minimon is not working as it should, because the values for bus configuration, timings, memory layout,... are not set right.
One idea is always to look on similar original file and find the place where all this is set.
Note down all and edit minimon configuration like that. Should be easy, when you know ida.
Now this is the reply that i was expecting in the first place.
Here is how i set the settings in minimon from the disassembly in IDA.
mov CP, #0F200h
nop
mov DPP0, #22h ; '"'
; assume dpp0: 22h (page 0x88000)
mov DPP1, #2Ch ; ','
; assume dpp1: 2Ch (page 0xB0000)
mov DPP2, #23h ; '#'
; assume dpp2: 23h (page 0x8C000)
extr #1
mov XPERCON, #0C03h
bfldh SYSCON, #0FFh, #0E3h
bfldl SYSCON, #0FFh, #0Eh
mov ADDRSEL1, #1008h
mov ADDRSEL2, #880h
mov ADDRSEL3, #180h
mov ADDRSEL4, #0FFF0h
bfldh BUSCON0, #0FFh, #44h
bfldl BUSCON0, #0FFh, #0BFh
bfldh BUSCON1, #0FFh, #84h
bfldl BUSCON1, #0FFh, #8Eh
bfldh BUSCON2, #0FFh, #4
bfldl BUSCON2, #0FFh, #2Eh
bfldh BUSCON3, #0FFh, #84h
bfldl BUSCON3, #0FFh, #0AFh
bfldh BUSCON4, #0FFh, #4
bfldl BUSCON4, #0FFh, #2Eh
extr #1
mov PICON, #0CFh ; '_'
mov STKOV, #0F220h
mov STKUN, #0F2BCh
mov SP, #0F2BCh
einit
I set the exact same values in the exact same order and here is where i am stuck now.
At first i have to say that i am working on a Win8.1 64 bit system, but results are the same on WinXP also.
Minimon is really slow. The only baud rate that it can communicate is 57600.
After it gets a proper reply from the ECU it starts writing to the system registers. This process is really slow.
When setting the SYSCON it says that it failed to get a reply from the mcu.
On the other registers i get no error but it takes like one minute to set all the registers. I would expect it to do it in a couple seconds but it takes almost a minute, maybe more.
I think that the problem is that i dont pull the P0L4 the correct way. I have tried using a 8k resistor and without a resistor. I pull it down first and then power on the ECU. Minimon can init after a couple tries. Should i pull the P0L4 without a resistor, power on, connect with minimon and let the P0L4 floating? I read the datasheet a few times but it is not really clear to me.