Hi!
Thanks for your reply. Using OpenOCD is not an option for me at the moment, unfortunately I do not have actually the time to setup the environment for this. A few month ago, I played around with it, but without success - I remember there were some issues with the reset line – I guess it´s fixed now, but for now I have too less time to check this.
Nevertheless - a big thanks for the contact details - when I have a few more time, I will try OpenOCD again!
I have done a small check with the different versions of zjtag today. At first of all I updated the USB Driver to the latest version available (also tested it on a second PC) – without success.
Important notice – I have changed the flash chip on the board (but I am sure the soldering is correct, when using v0.4 everything works as expected, Bootloader comes up after flashing and Flashing the firmware is also no problem) – I am using an 16MB Intel Chip.
With 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 and 1.8RC3 I get the "dma write not correctly" error using this command:
zjtag-1.x -flash:cfe /L1:4 /delay:100
With Version 1.7 the CPU is not being detected:
Z:\>zjtag-1.7 -flash:cfe /L1:4 /delay:100
==============================================
zJTAG EJTAG Debrick Utility v1.7 R4
==============================================
*** INFO - sleep <100> (ms) per internal command ***
Dev 0:
Flags=0x2
Type=0x6
ID=0x4038a98
LocId=0x331
SerialNumber=TIVBCAHOA
Description=TIAO USB Multi-Protocol Adapter A
ftHandle=0x0
Set I/O speed to 6000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Detected IR chain length = 8
Probing bus ... Done
CPU Chip ID: 00000000000000000000000000000000 (00000000)
*** Unknown or NO CPU Chip ID Detected ***
With Version 0.4 everything is fine:
Z:\>zjtag-0.4 -flash:cfe /L1:4 /delay:100
==============================================
TUMPA EJTAG Debrick Utility V0.4
==============================================
*** INFO - sleep <100> (ms) per internal command ***
Set I/O speed to 6000 KHz
USB TAP device has been initialized. Please confirm VREF signal connected!
Press any key to continue... ONCE target board is powered on!
Probing bus ... Done
Detected IR Length is 8
CPU assumed running under LITTLE endian
CPU Chip ID: 00000101001101010010000101111111 (0535217F)
*** Found a Broadcom manufactured BCM5352 REV 01 CPU ***
- EJTAG IMPCODE ....... : 00000000100000000000100100000100 (00800904)
- EJTAG Version ....... : 1 or 2.0
- EJTAG DMA Support ... : Yes
- EJTAG Implementation flags: R4k MIPS32
Issuing Processor / Peripheral Reset ... Done
Enabling Memory Writes ... Done
Halting Processor ... <Processor Entered Debug Mode!> ... Done
Clearing Watchdog ... Done
Loading CPU Configuration Code ... Skipped
Probing Flash at Address: 0x1FC00000 ...
Detected Chip ID (VenID:DevID = 0089 : 0018)
*** Found a CFI Compatiable Flash Chip from Intel
- Flash Chip Window Start .... : 1C000000
- Flash Chip Window Length ... : 01000000
- Selected Area Start ........ : 1C000000
- Selected Area Length ....... : 00040000
*** You Selected to Flash the CFE.BIN ***
=========================
Flashing Routine Started
=========================
Total Blocks to Erase: 2
Erasing block: 1 (addr = 1C000000)...Done
Erasing block: 2 (addr = 1C020000)...Done
Loading CFE.BIN to Flash Memory...
Done (CFE.BIN loaded into Flash Memory OK)
=========================
Flashing Routine Complete
=========================
elapsed time: 78 seconds
*** REQUESTED OPERATION IS COMPLETE ***
Any ideas on this? I would like to use the most recent version to be “future-safe”
Thanks,
Sebastian