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.

Calculating flash checksum in CCSv4

Hello,

I am trying to calculate the flash checksum in CCSv4 using the On-Chip Flash tool (menu: tools\On-Chip Flash, then click on the "Calculate Checksum" button), how ever after a long pause I get the following error messages:

C28xx: Calculating checksum...
C28xx: Flash Programmer: Error calculating checksum. Device is locked or not connected. Operation cancelled.
C28xx: Error: Error 0x80000004/-1044 Fatal Error during: Register,  Device driver: Cannot acquire emulator process Possible conflict for device driver usage

I am using a TSM320F2812 DSP, it is connected to the debugger and flash has been loaded with code. In all other respects the debugger works OK. The JTAG port from the F2812 is connected straight through to a Blackhawk USB510L JTAG Emulator. There are no pull up resisitors on the lines and no buffering (the JTAG connector is within an inch of the F2812 pins).

Running CCSv4 Version 4.2.0.10017.

If anyone has any thoughts, please let me know.

Thanks,

Ian.

 

 

  • Ian,

    Just wanted to let you know I am looking into this.  I am having some issues with my board at the moment. Hope to have a response for you tomorrow.

    Regards,

    John

  • Hello John,

    Thanks for letting me know, hope your board issues are resolved soon.

    Cheers,

    Ian

  • Ian,

    The first 2 boards I tried had TMX silicon on them which apparently doesn't support flashing.  I found one with TMS silicon and was able to get it working.

    I flashed some simple programs and was able to calculate the checksum ok.  I am using the same CCS version as well as the BH 510L.  

    If I program a password and lock the device and then try to calculate the checksum I get the same error as you.

    Try clicking the unlock button and then try calculating the checksum.

     

    Regards,

    John

  • Hello John,

     

    Tried that and it worked.  So that function only works on unlocked flash, which makes sense. Would be nicer if it gave a more obvious message :)

    Thanks for your help.

     

    Cheers,

    Ian