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

Spansion S29GS128 over BCM96358

When you do a detection with BCUSB, what shows in console window , i need to know this as the developer will ask when i ask him to add this flash.
 
this is the log

Code:
LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 150
Welcome to Blackcat USB interfacing software, build: 275
Running on: Microsoft Windows XP Professional (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6,03
Engine setup successfully
Detected CPU ID: 0x635817F IMP CODE: 0x818904
Manufacturer ID: 0xBF Part ID: 0x6358
EJTAG Version support: 2.0
Target device supports DMA mode
Checking for a device specific script
Loading script: default.bcs
Flash device detected: AMD S29GL320 (16777216 bytes)
Located at memory address: 0x1F000000
Programming mode: AMD (16 bit)
Setting device parameter (AMD Flash delay) to 0x1F4

as you can see it is detected as amd s29gl320 but in fact is a Spansion S29GL128P10TF101

Thanks in davance
WBR
 
Do you know the exact size of your flash ? as with CFI it recognizes traits therefore the s29gl320 may be of an exact similar size to your existing flash and thus will therefore work.
 
Ok I have spoken to the developer regarding this , i am awaiting his reply.
 
We are now looking into this flash. So please check this forum often or receive updates so we can quickly resolve the issue.
 
Here is it!

Code:
LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 150
Welcome to Blackcat USB interfacing software, build: 281
Running on: Microsoft Windows XP Professional (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6,03
Engine setup successfully
Detected CPU ID: 0x635817F IMP CODE: 0x818904
Manufacturer ID: 0xBF Part ID: 0x6358
EJTAG Version support: 2.0
Target device supports DMA mode
Checking for a device specific script
Loading script: default.bcs
Setting device parameter (AMD Flash delay) to 0xFA
Setting device parameter (Memory Read Delay) to 0xFA
Script file (default.bcs) unloaded
Loading script: HG556a.bcs
Manufacture ID: 0x01 Part: 0x00227E
Detected Spansion S29GL Family
Cycle 1: 1
Cycle 2: FF
Cycle 3: FF
Cycle 1: 7E
Cycle 2: 21
Cycle 3: 1
Cycle 1: 1
Cycle 2: FFFF
Cycle 3: FFFF
Cycle 1: 7E
Cycle 2: 21
Cycle 3: 1
Failed to add memory device (init failed)
Setting device parameter (AMD Flash delay) to 0x1F4
 
I used my HG556a.bcs script as default for this.

Code:
LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 150
Welcome to Blackcat USB interfacing software, build: 281
Running on: Microsoft Windows XP Professional (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6,03
Engine setup successfully
Detected CPU ID: 0x635817F IMP CODE: 0x818904
Manufacturer ID: 0xBF Part ID: 0x6358
EJTAG Version support: 2.0
Target device supports DMA mode
Checking for a device specific script
Loading script: default.bcs
Manufacture ID: 0x01 Part: 0x00227E
Detected Spansion S29GL Family, ID: 0x7E2101
Flash device detected: Spansion S29GL256M (16.777.216 bytes)
Located at memory address: 0x1F000000
Programming mode: AMD (16 bit)
Setting device parameter (AMD Flash delay) to 0x1F4
 
Code:
LibUsbDotNet version: 2.2.8.104
BlackcatUSB Script Engine running, build: 150
Welcome to Blackcat USB interfacing software, build: 281
Running on: Microsoft Windows XP Professional (32 bit)
Initializing EJTAG engine
Device connected in JTAG mode: 6,03
Engine setup successfully
Detected CPU ID: 0x635817F IMP CODE: 0x818904
Manufacturer ID: 0xBF Part ID: 0x6358
EJTAG Version support: 2.0
Target device supports DMA mode
Checking for a device specific script
Loading script: default.bcs
Manufacture ID: 0x01 Part: 0x00227E
Detected Spansion S29GL Family, ID: 0x7E2101
Flash device detected: Spansion S29GL256M (16.777.216 bytes)
Located at memory address: 0x1F000000
Programming mode: AMD (16 bit)
Setting device parameter (AMD Flash delay) to 0x1F4
Address 0x2020: wrote 0xB5 and read 0xFF (2 mismatches)
Address 0x2020: wrote 0xB5 and read 0xFF (10 mismatches)
Address 0x2020: wrote 0xB5 and read 0xFF (6 mismatches)
Error: data verification at 0x0 failed!
Address 0x2A0CC: wrote 0x6E and read 0xFF (8 mismatches)
Address 0x32632: wrote 0x69 and read 0xFF (4 mismatches)
Address 0x2D450: wrote 0xE1 and read 0xFF (4 mismatches)
Error: data verification at 0x20000 failed!
Address 0x428FE: wrote 0x7E and read 0xFF (22 mismatches)
Address 0x40610: wrote 0xA3 and read 0xFF (24 mismatches)
Address 0x407B2: wrote 0x32 and read 0xFF (20 mismatches)
Error: data verification at 0xC0000 failed!
 
Okay. We will get to the write functions shortly. But first, can you confirm to me if the READ function works?

That is, the data that is in the hex viewer or when you do a full 'READ ALL', is the data correct?
 
How to know?
the router is totally messed. I will try anyway, but I´m not sure if we will be able to know if is ok or not.
 
Okay. It seems the AVR firmware routines the flash is using are for AMD (as there are no Spansion specific CFI devices). Therefor, I will need to make a firmware for you to test.

Do you have a BCUSB 16KB or 32KB version?
 
Back
Top