MIB JITAG

ImDarius
Пользователь
Сообщения: 74
Зарегистрирован: Вт дек 10, 2013 11:19 pm
Откуда: CCCP

MIB JITAG

Сообщение ImDarius »

Кому нибудь удалось подключиться через jtag к миб , как вычитать флеш без выпайки флешки?
congo
Пользователь
Сообщения: 97
Зарегистрирован: Пт мар 11, 2016 10:17 am

Сообщение congo »

JTAG to where, the J5 or the MMX module (Tegra 2/3) ?
ImDarius
Пользователь
Сообщения: 74
Зарегистрирован: Вт дек 10, 2013 11:19 pm
Откуда: CCCP

Сообщение ImDarius »

any jtag to read write flash
congo
Пользователь
Сообщения: 97
Зарегистрирован: Пт мар 11, 2016 10:17 am

Сообщение congo »

In MIB there are three flashes.
One is near the J5 - the IPL is in that flash.
The other two are near T20/30 on the MMX board. One is for the efs-system, efs-persist, qb_recovery and qb_primary the other is for app and navi data.
Unfortunately there is little to no info about that board. I know that its nVidia Tegra VCM (Visual Computing Module)
Do anyone have have bsdl for T20/T30.
ImDarius
Пользователь
Сообщения: 74
Зарегистрирован: Вт дек 10, 2013 11:19 pm
Откуда: CCCP

Сообщение ImDarius »

i need jtag j5 to read s29gl512 , do you know what jtag tool support this board ?
congo
Пользователь
Сообщения: 97
Зарегистрирован: Пт мар 11, 2016 10:17 am

Сообщение congo »

Unfortunately not, i'm also searching about it :)
What happened to your unit ?
Is all flash erased or just some parts of it?
congo
Пользователь
Сообщения: 97
Зарегистрирован: Пт мар 11, 2016 10:17 am

Сообщение congo »

In the new MIB units there are two images joined together in ifs-root.ifs for the RCC
The first one gets mounted in normal and emergency mode the secondary one gets mounted only in normal mode.
Do anyone knows how to remount it for full access or how to build new one?
Scrat
Пользователь
Сообщения: 33
Зарегистрирован: Вс окт 16, 2016 9:38 am

Сообщение Scrat »

Does anyone have photos of the MIB board(s) ?
simaservis1108
Новичок
Сообщения: 24
Зарегистрирован: Ср окт 08, 2014 11:57 am
Откуда: Serbia,Belgrade

Сообщение simaservis1108 »

If you need J5 Ext.Flash I can send you.But you will need to modify the HW Coding block to match your unit,otherwise unit will fail to flash.
Also SWAP certificates will needed to be transfered.
aleka
Новичок
Сообщения: 25
Зарегистрирован: Вт авг 22, 2017 10:01 pm
Откуда: Москва

Сообщение aleka »

MIB2 MMX Board JTAG pins:
4.jpg
1 TDI
2 TCK
3
4 GND
5
6 TMS
7 TDO
8 VTref

With help of TegraRCM ( https://turbo-quattro.com/showthread.ph ... post642068 ) in UNIX system you need to load alternative bootloader and BCT file for Tegra 30, for example q-boot, because in own bootloader JTAG debugging is disabled. Use command: sudo tegrarcm -- bct mmx.bct -- booloader qboot.bin --loadaddr 0x84000000 (qboot.bin your own bootloader, mmx.bct your cutoff of MMX dump in 0 to 17EF adresses)

qboot.bin https://yadi.sk/d/YrR4ZywIGi3BQQ
mmx.bct https://yadi.sk/d/_Xbre2kQ4HQi8A

After booting qboot and BCT don't reboot MIB.

IN JTAG setting select Cortex-a9, Flash Memory Spansion S29GL512S, base address: 4800 0000
4.jpg
4.jpg
4.jpg
4.jpg
4.jpg
Connecting to target via JTAG
TotalIRLen = 8, IRPrint = 0x0011
JTAG chain detection found 2 devices:
#0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
#1 Id: 0x4F1F0F0F, IRLen: 04, ARM7TDMI-S Core
Scanning AP map to find all available APs
AP[3]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x44770001)
AP[1]: APB-AP (IDR: 0x24770002)
AP[2]: JTAG-AP (IDR: 0x14760010)
Iterating through AP map to find APB-AP to use
AP[0]: Skipped. Not an APB-AP
AP[1]: APB-AP found
ROMTbl[0][0]: CompAddr: 80001000 CID: B105900D, PID:04-003BB907 ETB
ROMTbl[0][1]: CompAddr: 80002000 CID: B105900D, PID:04-003BB906 CTI
ROMTbl[0][2]: CompAddr: 80003000 CID: B105900D, PID:04-004BB912 TPIU
ROMTbl[0][3]: CompAddr: 80004000 CID: B105900D, PID:04-001BB908 CSTF
ROMTbl[0][4]: CompAddr: 80005000 CID: B105900D, PID:04-002BB913 ITM
ROMTbl[0][5]: CompAddr: 80006000 CID: B105900D, PID:04-002BB914 SWO
ROMTbl[0][6]: CompAddr: 80020000 CID: B105100D, PID:04-000BB4A9 ROM Table
ROMTbl[1][0]: CompAddr: 80030000 CID: B105900D, PID:04-000BBC09 Cortex-A9
Found Cortex-A9 r2p9
6 code breakpoints, 4 data breakpoints
Debug architecture ARMv7.0
Data endian: little
Main ID register: 0x412FC099
I-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way
D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way
System control register:
Instruction endian: little
Level-1 instruction cache enabled
Level-1 data cache enabled
MMU enabled
Branch prediction enabled
Memory zones:
[0]: Default (Default access mode)
[1]: AHB-AP (AP0) (DMA like acc. in AP0 addr. space)
[2]: APB-AP (AP1) (DMA like acc. in AP1 addr. space)
Cortex-A9 identified.
J-Link>
Вложения
5.jpg
3.jpg
2.jpg
1.jpg
JTAG_pinout.jpg
hrdinaveliky
Пользователь
Сообщения: 47
Зарегистрирован: Пт июн 13, 2014 1:05 am

Сообщение hrdinaveliky »

How connect jtag to Technisat???
chris2011
Пользователь
Сообщения: 35
Зарегистрирован: Пн апр 08, 2019 1:33 pm

Сообщение chris2011 »

thanks @[CENTER]aleka great work can you also post RCC board JTAG ?[/CENTER]
aleka
Новичок
Сообщения: 25
Зарегистрирован: Вт авг 22, 2017 10:01 pm
Откуда: Москва

Сообщение aleka »

chris2011 писал(а):thanks @[CENTER]aleka great work can you also post RCC board JTAG ?[/CENTER]
I don't know RCC JTAG pins, but it not need, if you have working MMX Emergency tool.
chris2011
Пользователь
Сообщения: 35
Зарегистрирован: Пн апр 08, 2019 1:33 pm

Сообщение chris2011 »

hrdinaveliky писал(а):How connect jtag to Technisat???
as i know TSD Jtag is LOCKED
hrdinaveliky
Пользователь
Сообщения: 47
Зарегистрирован: Пт июн 13, 2014 1:05 am

Сообщение hrdinaveliky »

Could you open in the emergency menu.
chris2011
Пользователь
Сообщения: 35
Зарегистрирован: Пн апр 08, 2019 1:33 pm

Сообщение chris2011 »

hrdinaveliky писал(а):Could you open in the emergency menu.
yes but then you just get message "device is now broken" :-) , nothing more.
hrdinaveliky
Пользователь
Сообщения: 47
Зарегистрирован: Пт июн 13, 2014 1:05 am

Сообщение hrdinaveliky »

It's not true.
Audianer2
Новичок
Сообщения: 16
Зарегистрирован: Вс июн 28, 2020 9:17 pm

Сообщение Audianer2 »

Thanks for the pinout for Tegra @aleka
Does anybody know how to connect MIB2 Delphi via JTag?
TT-2016
Новичок
Сообщения: 23
Зарегистрирован: Ср июл 29, 2020 11:24 am
Откуда: Hessen

Сообщение TT-2016 »

Hi aleka,

I managed to kill RCC and MMX on my MIB2.5 HIGH unit (Skoda Columbus).
MMX emergency boot is dead.
RCC still accessible, however no SD/CD/USB can be mounted.

I saw your solution get MMX back.
I also saw a discussion (somewhere else) talking about an emergency button on the bottom of the unit to boot into some kind of emergency mode.
I could locate this button on the PCB.
Вложение IMG_3173_2.jpg больше недоступно
Currently waiting to get the USB dapter to check what's happening (did not want to solder to the unit).

Is this solution similar to yours?

BR
Вложения
IMG_3173_2.jpg
aleka
Новичок
Сообщения: 25
Зарегистрирован: Вт авг 22, 2017 10:01 pm
Откуда: Москва

Сообщение aleka »

Hi. No, i think without JTAG adapter you can not repair MMX flash.
Ответить