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.

Loading address 0 on my DM6446 EVM

Hi there,

I'm trying to load the following source code at address 0 of a DM6446 EVM (portion of the listing file shown below)

       9 00000000 E59FF018      ldr     pc,     addr_onReset
      10 00000004 E59FF018      ldr     pc,     addr_onUndefined
      11 00000008 E59FF018      ldr     pc,     addr_onSWI
      12 0000000c E59FF018      ldr     pc,     addr_onPrefetchAbort
      13 00000010 E59FF018      ldr     pc,     addr_onDataAbort
      14 00000014 E59FF008      ldr     pc,     addr_onUndefined           ; unassigned vector location
      15 00000018 E59FF014      ldr     pc,     addr_onIRQ
      16 0000001c E59FF014      ldr     pc,     addr_onFIQ

It's part of a common boot.asm file (I think) that sets up the FIQ and IRQ tables so that I can use interrupts.  The problem is that it all loads correctly except for address 0.  It remains what it was before the load (a branch to the ARM bootloader at address 0x4000) and I get a verification error on load time (when I had verification turned on in CCS).  I turned off verification to see what was happening.  So my software obviously won't run corectly. 

There was be an option in CCS to cause this.  ANy ideas anyone??

  • Hi,

    The ROM is loading the vectors and these addresses are hard coded. You can not change them.

    Best regards, Zegeye

  • The code I am trying to load was written and provided by TI.  It's part of the Chip Support Library (CSL) for the DM6446 EVM.  I'm trying to load the 'timer test" example code as part of the CSL.  It should load and run.

    I'm using CCSv4.

  • Hi,

    The CSL is a group of simple functions and is not a standalone code that you can load and run. You probably are referring to the sample tests that ship with EVMs. If that is the case, then you will need to run the GEL file to configure the device prior to loading the code and running it. The EVM and resources are provided by Spectrum Digital. Consult their website for more info.

    I believe the sample code and projects you have downloaded are most likely ccs 3.x not ccs 4.x since the device has been around for some time now. For this reason, I suggest you use the old ccs if have one on your disposal to run it as is.

    Best regards, Zegeye

  • The CSL is also delivered with example software complete with .pjt and .cmd files.  The one I am trying to run is the "timer_test" which will not load.  I already contacted Spectrum Digital and they said that TI wrote all the CSL code and CSL examples and to contact TI.

    Spectrum Digital uses the CSL and developed a Board Support Library (BSL) complete with code and examples.  None of thier examples which use the interrupt feature will load either. 

    I guess it could be CCSv4 but I have no other option.

  • Hi,

    It is possible that CCSv4 could be the issue (not 100% sure). My understanding is that the executable should be able to load regardless of the debugger.

    We will try to duplicate this for you and it is going be taking some time though.

    This is a proven device and the code you are attempting to run is a proven code.

    Best regards, Zegeye

  • Spectrum Digital was able to recreate the problem.  The same .out file would load and run using CCS3.3 but would not load using CCSv4.  They suggested working with TI to determine the migration issue causing the problem.  I've gone through the Wiki migration guide for importing a CCS3.3 project into CCSv4 but still have gotten to the root cause of this.

    Wish I purchased 3.3 when I had the chance.  Ugh

    Any help you cen provide would be greatly appreciated.

    bob

  • Hi,

    Thanks for this info.

    You have done well purchasing CCS v4. Your investment will have a long shelf live since all future devices will be using this debugger. We will work to get this fixed.

    I will move your trade to CCS group who will get you a fix for this.

    Best regards, Zegeye

  • hi,

    I am also facing the same problem. i am using the ccs 4/5 with Blackhawk USB560M ICE. the problem is that until i enable the ITCM by the method given in "SPRUE14C"  page number 28. The processor always generate the undefined exception. after enabling the TCM this problem is resolved. but after each download and debug session i have to restart (power on/OFF) the DVEVM then only next debug (download of code is possible).

    regards

    kapil