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.

请教5534的bin文件问题

各位专家,现在用ccs5.3开发5534,用hex55生成的bin文件烧入Flash重启后跑飞,表现为JTAG再也连不上,检查bin文件内容后发现按照sprabl7c中的表2,其第4Word为register Configuration count,应该是1~2^16-1,但bin文件中却是0,见附件,这是否是导致跑飞的原因?应该怎么解决?谢谢!

Boot_test_AdReset.rar
  • 这个值是由转换命令cmd文件里的-reg_config后面跟的参数的个数决定的。如果没加就是0.

    比如下面这样生成的bin,就会是00 09,如果把下面绿色这一行去掉就是00 00.

    -boot
    -v5505
    -serial8
    -reg_config 0x1c33,0,0x1c02,0,0x1c03,0,0x1010,1,0x1011,0
    -b
    -o C550xXFLEDtestRaw_3conf.bin
    C550xXFLEDtestRaw.out

  • 补充请教:

    1.http://processors.wiki.ti.com/index.php/C5535_Boot-Image_Programmer中说对于C5535来说不要使用SARAM31,那么对于C5534来说是否不能使用SARAM23?

    2.没想明白怎样在bootloader完成加载后使用保留的SARAM31或23呢?

    Another common mistake is allocating program code to SARAM31 memory. The bootloader writes to SARAM31 (byte address 0x4E000 – 0x4FFFF) thus any user code residing in SARAM31 will be corrupted. Do not use SARAM31 if you intend to convert this code to a boot image. Once the bootloader has finished loading the program into RAM, SARAM31 can be used.