• Visit https://www.embeddedcomputers.net/ for Hardware; Software and all other things related to FlashcatUSB

Alice AGPWI alias ADB A4001N need script

pierpiero

New Member
I need to debrick this router.
The JTAG connection works well and the program recognizes the CPU (BCM 6328).
Code:
Initializing EJTAG engine
Device connected in JTAG mode: 7,05
JTAG: IR length set to 10
JTAG engine setup successfully
Detected CPU ID: 0xA917F IMP CODE: 0x810904
Manufacturer ID: 0xBF Part ID: 0xA9
EJTAG Version support: 2.0
Target device supports DMA mode
Checking for a device specific script to automatically load
Loading device specific script: default.bcs
Loading script: default.bcs
JTAG: SPI register returned 0x0
MemoryInit: Failed - device parameters failed Init
Setting device parameter (Intel Flash delay) to 0x96
Setting device parameter (AMD Flash delay) to 0x96
Setting device parameter (Memory Read Delay) to 0x64
I'm not able to find the MX25L128 flash (SPI) start address (I'm using a modified default.bcs)...
Here is a boot of a (working) similar device:

http://wiki.openwrt.org/toh/adb/p.dg_a4001n1

Thank you for your help...

Ciao, Piero.
 
I don't think this device has been configured for JTAG over SPI .
If it has an SPI chip , your best bet is to connect to the SPI chip itself and use the SPI firmware to see if you get a detection.
 
I don't think this device has been configured for JTAG over SPI .
The readme on the newest JTAG firmware for BlackCat says:
Code:
+ SPI over JTAG mode (supports Broadcom and Atheros)
My device has a Broadcom CPU...

If it has an SPI chip , your best bet is to connect to the SPI chip itself and use the SPI firmware to see if you get a detection.
I tried, but by soldering directly on the mounted chip (with no results).
I think I need to remove it from the board (and I don't have an hot air soldering iron)...

Thank you for your reply...

Ciao, Piero.
 
You said it detected the CPU correctly , but looking at the output that is incorrect.
Your CPU is a BCM6328 your output of
Detected CPU ID: 0xA917F IMP CODE: 0x810904
Manufacturer ID: 0xBF Part ID: 0xA9

is not correct. The JTAG points on this device are they indeed the correct points as in the Wiki it is not defined ?

If you soldered directly onto the mounted SPI chip did you use an external power source of 3.3-5v on the VCC of the chip ? ( if you use this method you must not use the power supply in conjunction.).
 
You said it detected the CPU correctly , but looking at the output that is incorrect.
Your CPU is a BCM6328 your output of
Detected CPU ID: 0xA917F IMP CODE: 0x810904
Manufacturer ID: 0xBF Part ID: 0xA9
is not correct.
The program in the "Status" tag says "Connected to device: Broadcom A9"
So I thought it was OK, thinking "A9" as new cpu not yet known by the program...

The JTAG points on this device are they indeed the correct points as in the Wiki it is not defined ?
The JTAG pins (14 pin 2x7) are totally identical to all other similar Broadcom devices, so I think connection is OK.

If you soldered directly onto the mounted SPI chip did you use an external power source of 3.3-5v on the VCC of the chip ? ( if you use this method you must not use the power supply in conjunction.).
No. I powered chip by powering board.
I will retry with your advices...

Thank you.

Ciao, Piero.
 
Try connecting the to the Chip as follows (depending on the chip)

SPI_Connection_ext_VCC.png

or

SPI_Connection_8_ext_VCC.png

Remember when you connect an external source to the VCC pin , DO NOT connect the devices power source at the same time !!!!
 
Back
Top