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

Unable to verify forceware firmware with BCUSB

I'm not able to use the command Memory.EraseSector(0) it seems it isn't detected as a command like with the Memory.EraseBulk.
 
I think I'm not able to modify the modem at all, if the first backup and the one you asked me to make as it is, are exactly the same, then I'm not able to write anything to the flash. I have tried unchecking the verify option also but don't see any change when I go to address 0x040000, it should say "forceware"somewhere around there right. It is as if I don't have writing privilages and just read only access. However if the flash is untouched how come I no longer can access 192 site, I compared my 1st backup and a latest backup after doing a lot of things on the modem supposely, but they are perfect match from start to end.

Do you know a way to "factory reset" this modem? Like when you reset the TSOP on SB51XX by short circuit, is there something similar that makes the modem gets its default settings back as it seems I still have a good flash.

With the SBV6220.bcs script there is "Full" Read Area that makes a 16MB dump, don't see how this will be relevant since there is no write option for flashing it back or if this modem only has 8MB but will upload it anyways. Also I was able to compare it with my first backup and for the first 8mb they are exactly the same and after that my hex editor detect it as "inserted" but looking at them careful it is another exact copy of the first 8mb.
 

Attachments

  • compared backups.png
    compared backups.png
    49.2 KB · Views: 39
  • SBV6220_FULL.rar
    6.3 MB · Views: 5
  • using sbv6220 script.png
    using sbv6220 script.png
    35.4 KB · Views: 33
It is strange that the command Memory.EraseSector(0) does not work for you.... I think what you need to do is bypass the clip and connect direct to the spi flash . I take it when you connect to the ISP pin all the LED's go out ?
 
Yes when I use the ISP all led's go off, if I don't use the ISP I'm not able to detect the modem.
 
So ISP mode is all OK , only thing we need to be sure of now is that there is no issue with the clip . Can you also verify with a multimeter what voltage you are getting on pins 1,3,5,7,9 on the BCUSB please.
 
I don't have one personally :s but I think I know someone that has one, I will try to get it tomorrow. What voltages should they show?
 
Depending on the setting you have on the BCUSB ( normally should be in the 3v setting) i should expect about 3.3v on each on the pins . You should also then be able to check continuity between the clip and BCUSB.
 
I will try to get that info. I have been focusing on entering the modem for now, assuming flash is ok, link led blinks because it is transmitting data at most times, for some seconds it stays on and then blinks again. I have tried static ip's and also I can confirm that I'm able to ping to modem IP.
 
You should have access to the 192 page , as it gets an IP dynamic or static . Tell me does your browser just time out when trying to access the 192 page ? What i noticed as well is the dump that is on the modem now is actually your stock firmware , correct ? If that is so the n you should have the power LED solid and the next LED down should be flashing . The only time this does not happen with the 2nd LEd is when it has been flashed with modified firmware.
 
I had a weird case twice when I was connecting the clip and using SPI and taking it away and then turning the modem off and on, I'm not 100% sure how I got this behavior on the modem, I recorded this. Look at the video please and tell me if you are referring to that. Because in general I don't get 2nd led flashing, does this has to happen even if ethernet cable is not connected?

I will try to replicate this, but if I remember well I wasn't able to enter 192 still.
 

Attachments

  • VID-20120504-00004.rar
    1,004.3 KB · Views: 10
If you get that then the modem is in it's stock working condition and you should be able to access the gui. Check and make sure nothing is touching on the modem , ie that there is no crap bridging any of the pins on the SPI flash.
 
I haven't been able to replicate that, but I'm certain it happened twice while touching the modem.

Other thing related to the bcusb and clip is that, I'm able to power the bcusb if it is connected to clip and modem to power supply, the red light isn't in its brightest as when it is connected to pc, but it gives it power and that tells something about the clip right, also if I only have the bcusb connected to pc and no power supply to modem I can make all 4 led get a green dimmed light. Sorry for the pictures but I had to take them on dim lighting to appreciate the leds.
 

Attachments

  • bcusb powered by clip.JPG
    bcusb powered by clip.JPG
    509.3 KB · Views: 30
  • bcusb connected to pc.JPG
    bcusb connected to pc.JPG
    502.6 KB · Views: 29
  • before using ISP pin.JPG
    before using ISP pin.JPG
    491.7 KB · Views: 28
  • bcusb to pc and no power supply to modem.JPG
    bcusb to pc and no power supply to modem.JPG
    480.5 KB · Views: 27
Yes that is normal , some power would be sent back to the BCUSB , In the last pic you have a few LED's on and they seem pretty bright , when does it get to this stage ? Also when you are trying to access the 192 page i am assuming you DO NOT have the coax connected ?
 
if you are referring to the picture "before using ISP pin.jpg" that is the stage when the clip is connected and then I connect bcusb to pc and at last I give power to modem. If I give power to modem first while having the clip connected and then connect bcusb to pc I get the 4 green dimmed leds from the moment I give power to modem and doesn't change after connecting bcusb to pc, so I have to turn the modem off and on again, or use the ISP and make then turn off and if I take the pin away is when they look like in the picture "before using ISP pin.jpg" that is what I always look to make it happen since this is what "verify me"that the modem will get detected.

Hope this explanation wasn't hard to understand lol.

I will try to make it in steps.

Case #1
To get power led on and red led of bcusb on (at start you will get 4 green dimmed leds that then turn off and leaves only power led on)
1. Connect clip to chip
2. Use modem's power supply

Case #2
To get 4 green dimmed leds constantly
1. Connect clip to chip
2. Connect bcusb to pc

Case #3
To get power/online leds green dimmed, send/received leds bright blue, link led purple
1. Connect clip to chip
2. Connect bcusb to pc
3. Use modem's power supply

You can go from case #1 to case #3 by making the ISP pin contact and release R362. You need to be on case #3 and then hold the ISP pin to R362 to detect modem.
 
Ok so if you do this :

1. Connect BCUSB (with clip) to the modem
2. Connect ISP to R362
3. Power modem ( at this stage there should be no LED's on the modem)
4. Start software ....does it detect the Chip at this point ??
 
Yes it gets detected. it is like case #3 but instead no lights turn on.

I was talking to another member he told the jumper should be at the side of 3.3V, i had the jumper at the side of 5V. Will try everything with this change.
 
3v is the preferred , but it will function just as well on 5v . Can you see on the clip if all the pins are making contact with the SPI flash when connected ?
 
When it is fully clipped I can't really see the pins but I make sure every slot is correctly inserted to the chip legs.

Should Enable JTAG VCC pin be checked on the software?
 
No that is only for the EJTAG , but it should not affect you as you have nothing connected to that pin
 
Back
Top