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

Netgear CG814CCR v2

Can you get me a full dump using NT and another using BC , so i can compare Also try this script , do not get rid of your old one i just want to test something out with this , and get me a full read of all tabs please
 
No problem thx for testing , screw that script , i will remove it .
 
I have been testing the NT

Its script stops the CG

Here is that script.... :) :)

He also reads it from a different address.

-detect
IDCODE 0334917F
Broadcom BCM3349
IMPCODE 00800904
EJTAG V1, V2.0
DMA supoorted
Found Address= 9f400000 CFI Intel 28F640J3
 

Attachments

  • TCG814WGV28M.rar
    493 bytes · Views: 4
Ok so set your Jtag.Flashbase to (0x9F400000) in the script and see what happens.
 
Here is the script created for the usb jtag NT by USBDM. Maybe with that one you can create the one for the blackcat usb?
 

Attachments

  • TCG814WGV28M.zip
    495 bytes · Views: 4
I have this .xml , but i do not have this modem , TinyOne was assisting me in testing this , but he may be busy with other things , so it has been put on stand-by. If you are intrested in helping you can read through the thread and you should be able to put together what we have done , and we can continue working on this script.
 
Just ammended the script for this router using new v13.5 software , anyone willing to test it out ?
 

Attachments

  • Netgear_CG814CCR_v2.bcs
    6.8 KB · Views: 4
I would be willing to donate a stock CG CCR to you to get this working correctly as I use these modems exclusively for the 32 mb ram...and I need a reliable way to pull the flash from them. I have a bc 1.7 and the new software and it hangs every time...just Email me an addy and i will ship one to you...
 
I'm BACK!!!!!!!!!!!!!!!!!!!!!!!!!!!

And, I brought some Friends...........................

:):):):)
 
@ TinyOne ,,, welcome back.

@ 1/4 mile ,thank you for the offer , i will hold off for now as the software is getting re-done as well as ported to linux and mac. Hopefully with the new changes to the script functions , it will eliviate some of the issues we are experiancing with some of the devices. Also are you having problems extracting just the full flash on RC13.5 ? if so does it extract ok on RC13 or is it the same.

@ zero11 , could you post the full output of your console as well as the script you are using.. There are too many scripts floating about for this device since TinyOne and myself were testing it. We can at least get it to the point where the flash is being detected.

some changes to the new software will be :

There is no longer any "Flash." object in the scripting environment.

From now on, you create a memory interface (which can be RAM, CFI, or SPI) with the usual parameters, and then you can use those interface objects to read or write data to it. Much like how C++ pipes work.

The benefits of this are many, first off, the software will not discriminate on the command, but on the actual interface created. You can create multiple interfaces (and multiple tabs), even from the same memory resource. This will also allow us to easily expand to other types of memory (such as I2C or SPI over JTAG for example).

The command JTAG.MemoryInit returns the index of the memory device created. So if you use that multiple times, save it to a variable so you can use that when you read/write to the device.

So now when you use a Memory.Read or Memory.Write command, you may need to specify the index of which memory device (if you have more than one).

Remember, if you don't specify the index, the index is zero. For example:

Memory(0).Write(MyData,0,BootSize)
is the same as:
Memory.Write(MyData,0,BootSize)


Now it is recommend not to use hard code index values, but rather the variables from the interface you created. First off, you may create a interface that fails (the flash was not present etc). The command to check if a interface is active is Memory.Exist(index). Example:

JTAG.MemoryAddress(0x1FC00000)
JTAG.MemoryType("CFI")
CFGFLASH = JTAG.MemoryInit()
If (Memory.Exist(CFGFLASH))
msgbox("We can now write to flash")
endif



 
I use the last scrip you posted,
Console for BlackcatUSB (Build 260) connected to netgear CG814CCR:

LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 110
Welcome to Blackcat USB interfacing software, build: 260
Running on: Microsoft Windows 7 Ultimate (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6.01
Engine setup successfully
Detected CPU ID: 0x334917F
Loading manufacturer data from device
Checking for a device specific script
Loading script: DPC2100.bcs
Creating memory interface (0x0 / 8388608 bytes)
Flash device detected: Intel 28F640J3 (8388608 bytes)
Located at memory address: 0x1FC00000
Programming mode: Intel (16 bit)
Setting device parameter (AMD Flash delay) to 0xFA
Setting device parameter (Memory Read Delay) to 0x64
Setting device parameter (Memory Read Mode) to 0x1
Flash data does not contain proper firmware format
Script file (DPC2100.bcs) unloaded
Loading script: 1Netgear_CG814CCR_v2.bcs
Creating memory interface (0x0 / 134217728 bytes)
Unable to detect compatible Flash device
Setting device parameter (AMD Flash delay) to 0x1F4
Setting device parameter (Memory Read Delay) to 0x1F4
 
This is after trying to read

LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 110
Welcome to Blackcat USB interfacing software, build: 260
Running on: Microsoft Windows 7 Ultimate (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6.01
Engine setup successfully
Detected CPU ID: 0x334917F
Loading manufacturer data from device
Checking for a device specific script
Loading script: DPC2100.bcs
Creating memory interface (0x0 / 8388608 bytes)
Flash device detected: Intel 28F640J3 (8388608 bytes)
Located at memory address: 0x1FC00000
Programming mode: Intel (16 bit)
Setting device parameter (AMD Flash delay) to 0xFA
Setting device parameter (Memory Read Delay) to 0x64
Setting device parameter (Memory Read Mode) to 0x1
Flash data does not contain proper firmware format
Script file (DPC2100.bcs) unloaded
Loading script: 1Netgear_CG814CCR_v2.bcs
Creating memory interface (0x0 / 134217728 bytes)
Unable to detect compatible Flash device
Setting device parameter (AMD Flash delay) to 0x1F4
Setting device parameter (Memory Read Delay) to 0x1F4
Button Hander::Calling Event: ReadFirmware
Error in script 1Netgear_CG814CCR_v2.bcs on line 88
Reason: Error in Flash.ReadVerify: Flash device not connected
 
this is after trying to write

LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 110
Welcome to Blackcat USB interfacing software, build: 260
Running on: Microsoft Windows 7 Ultimate (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6.01
Engine setup successfully
Detected CPU ID: 0x334917F
Loading manufacturer data from device
Checking for a device specific script
Loading script: DPC2100.bcs
Creating memory interface (0x0 / 8388608 bytes)
Flash device detected: Intel 28F640J3 (8388608 bytes)
Located at memory address: 0x1FC00000
Programming mode: Intel (16 bit)
Setting device parameter (AMD Flash delay) to 0xFA
Setting device parameter (Memory Read Delay) to 0x64
Setting device parameter (Memory Read Mode) to 0x1
Flash data does not contain proper firmware format
Script file (DPC2100.bcs) unloaded
Loading script: 1Netgear_CG814CCR_v2.bcs
Creating memory interface (0x0 / 134217728 bytes)
Unable to detect compatible Flash device
Setting device parameter (AMD Flash delay) to 0x1F4
Setting device parameter (Memory Read Delay) to 0x1F4
Button Hander::Calling Event: WriteFirmware
Error in script 1Netgear_CG814CCR_v2.bcs on line 117
Reason: Error in Flash.Write: Flash device not connected
 
Try this script , i have only altered the flash location to see if we get a flash detection
 

Attachments

  • Netgear_CG814CCR_v2.bcs
    6.8 KB · Views: 5
This is from your current script:

LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 110
Welcome to Blackcat USB interfacing software, build: 260
Running on: Microsoft Windows 7 Ultimate (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6.01
Engine setup successfully
Detected CPU ID: 0x334917F
Loading manufacturer data from device
Checking for a device specific script
Loading script: DPC2100.bcs
Creating memory interface (0x0 / 8388608 bytes)
Flash device detected: Intel 28F640J3 (8388608 bytes)
Located at memory address: 0x1FC00000
Programming mode: Intel (16 bit)
Setting device parameter (AMD Flash delay) to 0xFA
Setting device parameter (Memory Read Delay) to 0x64
Setting device parameter (Memory Read Mode) to 0x1
Flash data does not contain proper firmware format
Script file (DPC2100.bcs) unloaded
Loading script: Netgear_CG814CCR_v2.bcs
Creating memory interface (0x0 / 8388608 bytes)
Error in script Netgear_CG814CCR_v2.bcs on line 11
Reason: Error processing: 0x0x1E000000
 
Apologies , i forgot to remove the extra 0x. Try this 1.
Also in your Autorun.ini file in the scripts folder , add this line : 334917F:Netgear CG814CCR v2.bcs:Netgear CG814CCR v2 , you should then have the drop down box to choose this script and it should then auto load everytime you start the software
 

Attachments

  • Netgear_CG814CCR_v2.bcs
    6.8 KB · Views: 5
Back
Top