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.

help for C6474 emulation problem



Dear all:

I use BlackHawk USB-560BP emulator to emulate our custom C6474 board! But something really troubles me!

1. I can't connect the target board under CCSv4, but with CCSv3.3, the connection works well! I installed the emulator driver http://www.blackhawk-dsp.com/downloads/EMU_ByEmulator.aspx ! So do I need to install another driver for CCSv4? From the target configuration, BH-USB-560BP Emulator is available!

2. Under CCSv3.3,  after the connection, once I load the DDR test program downloaded from spectrum digital C6474 evm, an error "Trouble Reading Memory Block at 0x800000" appears! But with our 560PCI emulator, the load of the program works well, the problem with the PCI emulator is when the CPU tries to test the memory from 0x80000000 to 0x8fffffff, the emulator disconnects because of power failure! I wondered why the usb emulator can connect the target but can't load the program into the target while the PCI emulator can. And why the PCI emulator encouters the disconnection becaus of the serious power failure? The DDR is the same as the Spectrum EVM and the same gel is used!

3. As to the gel file, I found that from the gel for the Spectrum EVM, the L2 address and size may be configured not that correct! The size of L2 can't be 0x180000 for all the three cores! And as to the PLL Controller Divider, from the C6474 datasheet, only PLLDIV11 and PLLDIV13 can be programmed, why the EVM use PLLDIV4 and PLLDIV5?

Thanks all for your reply!

touse

  • I can't comment on 2 and 3 but for #1, CCSv4 comes with drivers for Blackhawk. There should be no need to install anything extra from Blackhawk for CCSv4.

    ki

  • touse said:
    1. I can't connect the target board under CCSv4, but with CCSv3.3, the connection works well! I installed the emulator driver http://www.blackhawk-dsp.com/downloads/EMU_ByEmulator.aspx ! So do I need to install another driver for CCSv4? From the target configuration, BH-USB-560BP Emulator is available!

    Would you please paste the error message and possibly attach a screen shot of the board configuration you're using as well? The C6474 EVM configuration will not necessarily work for custom boards depending on how your board is laid out.

    touse said:
    2. Under CCSv3.3,  after the connection, once I load the DDR test program downloaded from spectrum digital C6474 evm, an error "Trouble Reading Memory Block at 0x800000" appears! But with our 560PCI emulator, the load of the program works well, the problem with the PCI emulator is when the CPU tries to test the memory from 0x80000000 to 0x8fffffff, the emulator disconnects because of power failure! I wondered why the usb emulator can connect the target but can't load the program into the target while the PCI emulator can. And why the PCI emulator encouters the disconnection becaus of the serious power failure? The DDR is the same as the Spectrum EVM and the same gel is used!
    I'm not sure about this. I'll have to think about it and get back to you.

    touse said:
    3. As to the gel file, I found that from the gel for the Spectrum EVM, the L2 address and size may be configured not that correct! The size of L2 can't be 0x180000 for all the three cores! And as to the PLL Controller Divider, from the C6474 datasheet, only PLLDIV11 and PLLDIV13 can be programmed, why the EVM use PLLDIV4 and PLLDIV5?
    You are right about the sizes of each L2 space; however, you should probably submit this to Spectrum Digital as they maintain the GEL files for their C6474 EVM. Regarding the PLLDIV registers, the GEL was probably designed using an older version of the documentation and is modifying registers that are not currently supported. Even though this code works, there is no guarantee that it will continue to work (especially if and when the silicon is updated to a new revision). This is probably something else to bring up to the folks at Spectrum.

  • Thanks, Ki! I contact with the local FAE, they suggest maybe the unstability of CCSv4 cause the disconnection, so the development under CCSv3.3 is recommended! So probably I'll use CCSv3.3 instead!

    touse

  • Thanks very much, Tim!

    The first error of using CCSv4 to connect our target board through BH-560USB is just link a error dialog "Error initialize I/O"! Follow the suggestion of the local FAE, I probably will pick CCSv3.3 as my development platform!

    As to the connection of the emulator, following the instruction of the BlackHawk troubleshooting, I re-install the emulator drivers! Although the connection isn't as stable as the PCI emulator, loading the program works well now! But the running of the program may encounter "power failure" or "can't run target CPU" error! The error message are in the error file!

    as to the gel file, I'll contact spectrum to confirm the correct configuration! Thanks!

    touse