Using JTAG to read/write the flash

Hoborg
Новичок
Сообщения: 3
Зарегистрирован: Пн дек 15, 2014 8:00 pm
Откуда: Польша

Сообщение Hoborg »

Oh sorry , I just customized my profile , I'm from Poland. :)
gsmflasch
Новичок
Сообщения: 8
Зарегистрирован: Пн июл 07, 2014 6:17 pm
Откуда: Istanbul

Сообщение gsmflasch »

Hi theed,

I got one XILINX (usb cable platform) FPGA programmer, but on topjtag flash tool is no option to select this device.
Do you know any other tool which is support XILINX Platform Cable usb for connect MMI?

Regards
theed
Пользователь
Сообщения: 65
Зарегистрирован: Вт фев 18, 2014 1:54 am

Сообщение theed »

An update on the jtag flashing, notice it is done by boundary scan.
This means all the pins on the sh7785 are driven the topjtag software.
Boundaryscan is usally used for debugging boards, and most new cpu offer this option.
So what is basically done is the both flashchips are controlled by the cpu in a 'debug' mode.

The programmer I used is the TIAO multi -protocol adaptor with a ft2232, and the topjtag software.
I can confirm this works, my MMI is up and running.
I flashed the IPL, IFS-EMG, FPGA and the BIOS areas with success.
The only problem is that the MMI has somekind of auto shutdown within 5 min, so writing large files must be done in small portions.

Maybe other software with boundary scan will work,I only tested the TIAO and topjtag.
gsmflasch
Новичок
Сообщения: 8
Зарегистрирован: Пн июл 07, 2014 6:17 pm
Откуда: Istanbul

Сообщение gsmflasch »

Do you have any link where i can order this TIAO with ft2232 or any other good tools?

Regards
theed
Пользователь
Сообщения: 65
Зарегистрирован: Вт фев 18, 2014 1:54 am

Сообщение theed »

Hello I used the http://www.diygadget.com/tiao-usb-multi ... erial.html this worked for me.
MMI
Пользователь
Сообщения: 52
Зарегистрирован: Вт фев 03, 2015 7:00 pm
Откуда: Belgium

Сообщение MMI »

Hello, i am new here but i would have a question.

Does anybody know if I would be able to use Jtag for programming new (emty ) flashes on board ? So take the old of replace them with new empty one's ?

And, this special small IFS for sending thru Z-modem to keep the board alive while flashing .

Regards,

Roy
gsmflasch
Новичок
Сообщения: 8
Зарегистрирован: Пн июл 07, 2014 6:17 pm
Откуда: Istanbul

Сообщение gsmflasch »

Have you creat any project files on topjtag programmer?
I can read the flash memory but there is something wrong, lot of bytes are FF.
gsmflasch
Новичок
Сообщения: 8
Зарегистрирован: Пн июл 07, 2014 6:17 pm
Откуда: Istanbul

Сообщение gsmflasch »

sorry double post
mr.jonny83
Новичок
Сообщения: 4
Зарегистрирован: Сб май 23, 2015 8:29 pm

Сообщение mr.jonny83 »

Hello

I got a broken Main Unit from a friend.
The screen was black and they dont't started.
Than i tried to recover the Unit.
But i made a big mistake :mad:


In the IPL mode I wanted to erase the FPGA headers

I did not write

flashit -a 40000 -e 1000

but

flashit -a 4000 -e 1000
I probably need glasses
I have a zero less :sorrow:

After the reboot I have no communication between the Unit and the Putty Terminal.
But the unit reacts if i take the three buttons to reboot the unit.
Can someone give me a tip, how i can recover the Unit.I think I have erase the IPL Image with the wrong command.

I have an IPL.bin file, but I don't know how can I flash it to the chip without the Terminal
Аватара пользователя
Tschako
Местный
Сообщения: 150
Зарегистрирован: Пт окт 03, 2014 4:02 pm

Сообщение Tschako »

If the IPL is dead, as in your case, you have only the way through a JTAG Flash of the memory area. But there is only a very small group of people, which is able to do...
chernobil
Новичок
Сообщения: 1
Зарегистрирован: Вт июн 23, 2015 9:37 pm

Сообщение chernobil »

Hello,
i need some assistance with recovering a MMI unit. I cant enter emergency mode so i can try and recover the MMI unit. I tried to recover it via zmodem but the timeout is a problem because of the transfer speed vs size of ifs-emg.img. I bought a JTAG http://www.seeedstudio.com/depot/FT2232 ... p-737.html and i need some assistance how to flash the file via JTAG or if someone has a smaller file so i can revive the unit.
NikitoS10
Новичок
Сообщения: 9
Зарегистрирован: Пн фев 11, 2013 3:56 pm

Сообщение NikitoS10 »

I connect the JTAG. I press the "read" only reads the piece. The rest - "FF". How do I fix this?
eprst
Местный
Сообщения: 131
Зарегистрирован: Пн апр 21, 2014 2:17 pm
Откуда: Курск

Сообщение eprst »

кто может разжевать это - "and that a24 is connected to W11/cs0_n."?
что тогда в СЕ?
проблема в том - что 1 флешь определяется полностью и работать с ней можно (писать и стирать частично), а вторая определяется частично, в итоге записать ее можно, но стирать ее можно только полностью!! и время работы с ней увиличивается в 4-5 раз... (визуально)

п.с тема рабочая, хотя вопрос выше остался не решенным..
а так - прошил голову

еще вопрос оставшийся без ответа - как топикстартер прошил BIOS?
в моем случае не надо было, но для общего развития было интересно - область
BIOS прочесть не получилось
eprst
Местный
Сообщения: 131
Зарегистрирован: Пн апр 21, 2014 2:17 pm
Откуда: Курск

Сообщение eprst »

Tschako писал(а):If the IPL is dead, as in your case, you have only the way through a JTAG Flash of the memory area. But there is only a very small group of people, which is able to do...
Hello,and if the IPL live,but erased all titles
how to write IFS, EFS..?
using IPL
theed
Пользователь
Сообщения: 65
Зарегистрирован: Вт фев 18, 2014 1:54 am

Сообщение theed »

You can not write the efs to the unit by the ipl, there is not enough time the unit will power off.
Only method is by jtag, i did it and the unit is fully working.
eprst
Местный
Сообщения: 131
Зарегистрирован: Пн апр 21, 2014 2:17 pm
Откуда: Курск

Сообщение eprst »

theed писал(а):You can not write the efs to the unit by the ipl, there is not enough time the unit will power off.
Only method is by jtag, i did it and the unit is fully working.
Thank you, I also did
my works too, I still have one question -
"I flashed the IPL, IFS-EMG, FPGA and the BIOS areas with success." - how you flashed BIOS?
theed
Пользователь
Сообщения: 65
Зарегистрирован: Вт фев 18, 2014 1:54 am

Сообщение theed »

I flashed the bios when running in command mode in the emergency mode, the bios is the most high adress range.
eprst
Местный
Сообщения: 131
Зарегистрирован: Пн апр 21, 2014 2:17 pm
Откуда: Курск

Сообщение eprst »

theed писал(а):I flashed the bios when running in command mode in the emergency mode, the bios is the most high adress range.
ok, thanks
munietas
Новичок
Сообщения: 2
Зарегистрирован: Чт июн 09, 2016 12:25 pm

Сообщение munietas »

Hi.


Thanks to information on this thread, I've owned a TIAO ft2232 JTAG, and TopJTAG Flash software to repair a dead MMI, I've sucesfully flashed flash 1, but when I change pin #WE from W12 to Y17 and try to reconnect, I get a message indicating that flash is not CFI compliant, and chip is not possible to erase chip sectors, it must be erased completely, so flash by steps is not possible. Does anybody had and solve this problem?

Best regards.
tehnosoftex
Новичок
Сообщения: 9
Зарегистрирован: Сб мар 11, 2017 4:12 pm

Сообщение tehnosoftex »

theed писал(а):today i had success with writing a flash to the unit.
Using topjtag and done in two phases, write one chip at a time (switching to different WE lines).
All thanks to crash-100, for the WE lines and that a24 is connected to W11/cs0_n.
How can be a24 connected to W11/cs0_n when CE is connected to the same pin?
Ответить