This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The BIN2NAND software is used to convert the BIN file which generated by the CCS,(bin2nand willl add ecc data to bin file ),.Then use the image tool to generate an IMG file from the BIN file(BIn file is convert by bin2nand). The img file can be directly loaded into NAND_FLASH.
The BIN2NAND found at present does not support BCH16,just support BCH8, I would like to ask whether there is a new BIN2NAND that supports BCH16
Hi,
Version bin2nand-1.0.5.0 is the latest that we have and it only supports BCH8.
Regards,
Jianzhong
HI Jianzhong
thanks for your reply ,and Customers can only make a software product which supports BCH16 by oneself?
if AM3352 have BCH16 ,why not make a software produce which supports BCH16? I think just need port code for am3352.
it should easy。
looking foward to your reply。
Customers can only make a software product which supports BCH16 by onesel
Yes, that's correct. Users will need to add BCH16 by themselves. Some customers have done that already, for example, this thread has a StarterWare patch to implement BCH16.
if AM3352 have BCH16 ,why not make a software produce which supports BCH16? I think just need port code for am3352.
We currently don't have any plan to add BCH16 to bin2nand tool.
Best regards,
Jianzhong
this just add bch16 at startWare,and this work i had do it 。i do not know what is the relationship between the two.
i need add ecc data at .bin file which generated by the CCS, add bch16 at stareWare? how does it achivev my goal?
i think i should explain my need again by a example
for example ;my project name is nand_boot,and it can generate a .bin file by ccs generated,this file name is nand_boot.bin which generated by the CCS.and the nand_boot.bin is not contain ECC data。so we use BIN2NAND (is a applied software ) to add ECCdata at nand_boot.bin,it will create a new file ,like nand_boot_oob.bin。 and then i can use tool load this file in nand_flash before it soldering to the circuit board.
so i can not understand what is the relationship between the add bch16 at stareware and my need?i think there is no relationship between them,because add bch16 at stareware,the ecc data also calcute by am3352,users only can get ecc data ,but do not know how to calculate。so it get ECC data must by am3352.but i want get ECC data just by PC。
so the question is user not have algorithm which AM3352 calculate ECC by BCH16,how to add ECC data at .bin file by pc?
Hi,
Sorry about not making my point clear earlier. What I meant was that we had customers who implemented BCH16 by themselves. The example I gave was for bootloader, not for bin2nand tool. My point was it shouldn't be too difficult to implement BCH16 in bin2nand tool.
Thanks and regards,
Jianzhong
thansk for your reply
implement BCH16 in bin2nand tool just need bch16 algorithm,i not find it , bch16 algorithm which AM3352 used is open source ?
if not open source ?how to implement BCH16 in bin2nand tool. if open source , it is easy to implement BCH16 in bin2nand tool.
Hi,
Sorry for my delayed response. So you wanted to know how BCH16 is implemented by the AM335x hardware, right?
Thanks,
Jianzhong
Not quite right
bin2nand supportts BCH8, the tool uses algorithms with BCH8, now if it want support BCH16,we need algorithms with bch16,Actually I don't care how BCH16 is implemented by the AM335x hardware, i just need TI can Provide an interface.I just need input data ,it can output BCH16 Data。then i can add ECC data at .bin file by pc
Understand you point. But we don't have BCH16 support in bin2nand tool and don't plan to provide it in near future, you'll need to implement it by yourself. To do that, you would need to know how it is implemented on AM335x SOC. Is that right?
Hello Mengdong,
Sorry for taking longer than I had expected. Our internal team updated the bin2nand tool to support BCH16. I've sent you a friend invitation. I'll email the updated tool to you once we're connected.
Thanks for your patience.
Regards,
Jianzhong
thanks for your support, and i have accepted your fiend invitation. thanks again.
Continuing discussion is on another thread: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1044247/am3352-bin2nand-which-supports-bch16. Closing this one.