Need some Help Making XML File

Discussion in 'Request corner...' started by Kartenali, Feb 20, 2021.

  1. Kartenali

    Kartenali New Member

    Messages:
    14
    Likes Received:
    5
    Trophy Points:
    3
    Gender:
    Male
    Greetings to all Forum Members
    Its my First Post and i Hope if i made something Wrong that you Point me in Right Direction

    i Would like to Know how to made a .XML for the Broadband Studio for example for a Flash
    What Kind of Data is Important if i Look in Datasheet some Datas i cant Find
    where is the Info or must it be sometimes Generated to put the Real Data in the XML

    Thanks for Reading and hope that someone can Explain it a Little bit how is the right way to make the XML files

    i have here one for Example
    MXIC MX25L3255DXCI10-G
    the Other Flash is
    MT29F2G08ABAEAH4 on the Chip is only NW312 and 3KE17 for the Info

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <Flash maker="Macronix" name="MXIC MX25L3255DXCI10-G" type="Serial">
      <Command type="Spansion" programmode="Block" maxbyte="4" addressinterface="0"/>
      <ID>
        <Maker maxbyte="1" offset="0x00">0xC2</Maker>
        <Device maxbyte="2">
          <DevId offset="0x01">0x20</DevId>
          <DevId offset="0x02">0x13</DevId>
        </Device>
      </ID>
      <Size unit="mbit">32</Size>
      <Sector uniform="true" secure="false">
        <MaxSector>64</MaxSector>
        <Size unit="kbyte">64</Size>
      </Sector>
    </Flash>

    The Other dont match too

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <Flash maker="Micron" name="Micron MT29F2G08ABAEAH4" type="NAND" technology="SLC">
      <Command type="Nand" programmode="Block" maxbyte="2048"/>
      <ID>
        <Maker maxbyte="1" offset="0x00">0x2C</Maker>
        <Device maxbyte="1">
          <DevId offset="0x01">0xDA</DevId>
        </Device>
      </ID>
      <Size unit="mbit">2048</Size>
      <Sector uniform="true" secure="false">
        <MaxSector>2048</MaxSector>
        <Size unit="kbyte">128</Size>
      </Sector>
    </Flash>

    The Datasheet can be found here https://html.alldatasheet.com/html-pdf/934242/MCNIX/MX25L3255DXCI-10G/1156/7/MX25L3255DXCI-10G.html

    next Flash is Following

    https://media-www.micron.com/-/medi...ions.pdf?rev=9baa74efdbaa4148bb8b0f09dc93de68
     
  2. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    You could indeed some things as maker id, type chip, etc find in the datasheet.
    But when I need to make a xml script from a chip that I need, then I often just buy the nand chip and take the info from it with one of my nand flash programmer which gives most of the needed information of the chip.
     
    Kartenali likes this.
  3. Kartenali

    Kartenali New Member

    Messages:
    14
    Likes Received:
    5
    Trophy Points:
    3
    Gender:
    Male
    Thx Johnny for your Answer
    i dont have a Nand Flash Programmer so would not be possible to Repair a Bricked Box without having the Right
    Flash or Nand ??
    If i would Bought a Chip would i Get then any Datasheet with it where all is inside what is needed for making the XML ??
    Just found some Information about how the XML is Made looks like i have something to learn more about it
    on some chips is more the Problem to Identify Them right

    Like this one here https://ibb.co/xCh6Fr9
     
  4. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    If I understand correctly and based on the image link given, do you need the xml script for the MX25L3255D?

    If so, it seems to me that you can use the MXIC MX25L3255DXCI10-G xml script that you already showed.

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <Flash maker="Macronix" name="MXIC MX25L3255DXCI10-G" type="Serial">
      <Command type="Spansion" programmode="Block" maxbyte="4" addressinterface="0"/>
      <ID>
       <Maker maxbyte="1" offset="0x00">0xC2</Maker>
       <Device maxbyte="2">
         <DevId offset="0x01">0x20</DevId>
         <DevId offset="0x02">0x13</DevId>
       </Device>
      </ID>
      <Size unit="mbit">32</Size>
      <Sector uniform="true" secure="false">
       <MaxSector>64</MaxSector>
       <Size unit="kbyte">64</Size>
      </Sector>
    </Flash>
    
    Change the name
    MX25L3255DXCI10-G
    to
    MX25L3255EXCI10-G
    And as for the rest it seems to me correctly based on this datasheet.
     

    Attached Files:

    Kartenali and Aliraza63 like this.
  5. Kartenali

    Kartenali New Member

    Messages:
    14
    Likes Received:
    5
    Trophy Points:
    3
    Gender:
    Male
    Thank you Johnny for your Reply
    i think i forwarded little bit
    but there is now a Message : Master SPI timed out waiting for Response

    what is this message mean
    or is it Blocked somehow and needs some extra Data to be Possible read or Write

    The Chip is BCM7358
    or is it Blocked and not Readable
     
    Last edited: Feb 21, 2021
  6. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    It was a long time ago that I experienced this kind of error which to me it seems to be a communication error and based according to my notes it was related to the (crystal) frequency.

    Some questions due this issue,
    Which receiver do you jtag(i2c) and do you use a I2c cypress board for the communication or another device.
     
  7. Kartenali

    Kartenali New Member

    Messages:
    14
    Likes Received:
    5
    Trophy Points:
    3
    Gender:
    Male
    The Box is a Kaon Ns1000 and the new one is Kaon NS1040

    i Use Cypress Board with SCL SDA and GND Port
    i have here another one that i can Try too maybe the Cypress is going Wrong

    Cypress Board
    https://ibb.co/87nRfw9
    Pins
    https://ibb.co/xjzyKF6

    The NS1000 Box is Out of the Contract and without Subscribtion Useless
    so i wanted to Look maybe to make something from it that can be usefull if Possible to try Put any Other Image on it.

    the NS1040 is similar to the NS1000 Box
    But all Boxes are realy Useless you cant Try Sort Programms on them
    so i came across the idea to use my Card in my Own Box
    i need for that to Read the BCM7358 and look what is inside but i asume it will be Crypted
    But on that way i wanted to learn how that Systems work and what is Possible to get and what not
    i never done something like that before so its Interresting to Look behind how all that works

    so i Hoped somehow to Read the whole Thing across Broadband Studio
    In Command Window there is a Way to Read the Broadcom out i looked on some I2C Commands but i
    dont know if that is same in Broadband Studio or is that for any Scripts and doesent wanted to Brick the Box
    the Point was not bricking it more to Learn something and Try and look where i arrive

    Thank You Johnny for your reply i am very thankfull for any Help and Suggestion and Pointig me in any way to right Direction

    NS1000 Board Front
    https://ibb.co/xS1WRZP
    NS1000 Board Back
    https://ibb.co/KmsKsfm
     
    Last edited: Feb 21, 2021
  8. Johnny B.

    Johnny B. Technical Support Staff Member Moderator

    Messages:
    2,822
    Likes Received:
    1,504
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Netherlands
    Home Page:
    As for the Broadcom Cpu's they are programmed, locked/encrypted etc. from the fabric externally with special hardware and software and so, not trough this I2c port.
    You are be able to send some instructions to it, and change some setting trough the I2c port, but you cant save it to the cpu, it's as far as my knowledge goes in some levels readable, but not writable.
    At least not with the bbs program.

    This I2c jtag method, and by using a cypress board with the bbs software is mostly used to upload a boot loader to a (new) nand chip, and not to program a cpu.

    In any case, a new cpu will (at least to my experiences) not work and there is no (complete) information or hardware info how it can be prepared/programmed.
    And when it exist to buying it, it would probably to expensive to buy the hardware/software etc I think.
    Only a used cpu, and most likely one from a same receiver, may often work.

    Maybe someone else know more about it, but I had this information years ago from dreambox china due the repair of dreamboxes with damaged cpu's.
    In any case, this is what I know from it, not much, but at least something about it.
     
  9. Kartenali

    Kartenali New Member

    Messages:
    14
    Likes Received:
    5
    Trophy Points:
    3
    Gender:
    Male
    Thx Annyway Johnny all info is welcome to learn something and to forward my knowledge
    some Peepz manage to Dump that Boxes and for learning any little Info is welcome

    i will look to find any Jtag Point or similar maybe there is some more chance if there is any without
    put CPU and Flash Outside.

    Looks like i have to go more Fishing then think about Getting any Info from That Boxes :)
     
    Johnny B. likes this.