These steps will debrick your WRT54G if you run out of option with any JTAG. (For old JTAG you get locked when detect). The whole process including program the dd-wrt or openwrt will not last loner than two minutes. Never need to use serial port and TFTP again.
1. type command.
tap c
tap a ffffffff
You should see DEBUG ON. If not power off/on the router.
2. Detect the flash
detect
You should be able to see the flash type now. The DEBUG should still be ON.
3. Erase and program the CFE
ldram cfe
erase cfe
sprogram cfe
You must use "sprogram".
4.Power off /on the router
detect
You should be able to see the flash type and DEBUG OFF.
5. Program the kernel with normal speed.
ldram kernel (dd-wrt or openwrt)
program kernel
Wait for erase and program.
6. (Optional) check to see if the program is ok (0.12)
cmpram kernel
cmpram cfe
If above does not bring the router back you need to erase the NVRAM in step 3.
tried these steps but dont have kernel
step 5 says ldram kernel (dd-wrt or openwrt)
what do you mean ddwrt or openwrt?
where can we find the kernel file? need one fore wrt54g v3?
Everything I say is hy·po·thet·i·cal!
Everything I say I do Is hy·po·thet·i·cal!
I do this to exercise my deficient brain
Newb wrote:tried these steps but dont have kernel
step 5 says ldram kernel (dd-wrt or openwrt)
what do you mean ddwrt or openwrt?
where can we find the kernel file? need one fore wrt54g v3?
This is the firmware you can download from ddwrt or openwrt.
i checked all over but found only cfe file no kernel file found at those sites.
trying with only cfe but doesnt debrick.
i think i need kernel file but cant find one.
Everything I say is hy·po·thet·i·cal!
Everything I say I do Is hy·po·thet·i·cal!
I do this to exercise my deficient brain
I tried this and it doesn't say DEBUG ON when I do tap c and tap a ffffffff. Any idea why that could be? Its a WRT54G-TM and I found this other tutorial as well.
LightworkerNaven wrote:I tried this and it doesn't say DEBUG ON when I do tap c and tap a ffffffff. Any idea why that could be? Its a WRT54G-TM and I found this other tutorial as well.
I tried the above but won't switch to debug on - stays trap on
-detect
IDCODE 0471017F
Broadcom BCM4702
IMPCODE B6DB6DB2
EJTAG V2.6
DMA not supported
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum cffd,5fb9
Most likely you have programmed bad boot (firmware on boot).
One possible solution (risky) is to short pin the CE to 3.3V while enter DEBUG ON. This has to be done quickly. Then erase the boot and you are good to go.