Hello all,

Nowadays I am hacking some Freescale based stuffs, so I would like to 
share my additions to the urjtag:

I have generated jtag files for the Freescale MPC8347 and the MPC8313(e) 
from the Freescale provided BSDLs:
http://dl.dropbox.com/u/4295670/freescale_devices.patch

My board has an Spansion S29LV032-04 flash with 16 bit wide data bus.
I am using my MPC8347 based board with the mpc837x bus with these arguments:
initbus mpc837x MUX WIDTH=16

By default the flash is detected by the amd.c flash driver which did not 
suppports the unlock bypass programming mode.
The amd_flash.c supports it, but it cannot detect it, because it's 
detection method is called after the amd.c detection.
And at the other hand it supports only 8 bit wide data bus..

So I have decided to patch the amd.c:
http://dl.dropbox.com/u/4295670/bypass%2Bmux.patch

My board uses a latch to latching the addresses from the common 
address/data bus. This causes 2 BSR shifts in every write operation.
I have added a variable to store the last write address, to eliminate 
the latching of the addresses when it not neccessary (Two consecutive 
write cycle to the same address).
The address of the unlock bypass program sequence is don't care, so if I 
use the address to be programmed in the first command so I spare the 
half of the BSR shifts.

So the writing time is reduced to the 1/8th of the original. Now I can 
write a ~200K u-boot image in 3 minutes using an Usbblaster (12Mhz TCK).

Regards,
Miklós Márton

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to