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.

DM6437: Project doesn't run after upgrading DSP/BIOS

Hi:

I updated my DSP/BIOS, deleted all generated files for my project and peformed a 'clean' and fresh build.

I loaded the image and put a breakpoint in the first line of main().   After executing, and noticing that the break point was not reached, I hit 'halt' to see where the PC was.

The PC is stuck at GBL_init below.

What is the proper way to upgrade BIOS and get a project originally running with an earlier BIOS running with the upgraded BIOS?

Thanks,

;; MODULE INITIALIZATION
 .sect ".sysinit"
 .global BIOS_init, _BIOS_init
BIOS_init:
_BIOS_init:
 GBL_preamble
 GBL_init
 SEM_init
 MEM_init
 OBJ_init
 BUF_init
 POOL_init
 CLK_init
 PRD_init
 RTDX_init
 IDL_init

  • What you have already done sounds about right as long as there were no changes to the APIs used within the TCF or that your code calls, so aside from making a clean build you may need to tweak your TCF file for any differences, though if you are moving between close versions there may not be any.

    What BIOS versions are you moving from and to?

    Were there any errors or warnings during the build?

    Can you get any BIOS based project to run with your new version?

  • From:

    BIOS 5_31_02

    to

    BIOS 5_32_03.

    I also tried 5_32_02. 

    Knowing a very little about CCS internals, I feel that it is odd to not even get to the main().   It is my understanding that BIOS doesn't get started until after main is exited. 

    There were no warnings besides known src warnings.    What incompatibilies in the TCF should I look for?

    The DM6437 video_preview example seems to run okay.  I didn't connect a TV, but the while() keeps running.

     

  • Bandeg said:
    BIOS 5_31_02

    to

    BIOS 5_32_03.

    I also tried 5_32_02. 

    The BIOS 5.32 series seems to have limited availability on the update advisor site, and it also seemed to have some TSK api issues (causing the limited availability), I am curious where you downloaded this and if you would be willing to look at the 5.33 series (most current).

    Bandeg said:
    What incompatibilies in the TCF should I look for?

    If anything was announced in the release notes, regarding API changes, this is not something you see very often but is potentially an issue porting BIOS versions.

    It has been a while since I have seen this fix something, but it may be worth making a new project and importing all of your source files to it, I have seen this operation fix strange issues like this in the past.

     

  • Bernie Thompson said:

    The BIOS 5.32 series seems to have limited availability on the update advisor site, and it also seemed to have some TSK api issues (causing the limited availability), I am curious where you downloaded this and if you would be willing to look at the 5.33 series (most current).

    I had trouble getting to the update site, and I am a long time CCS user and had already installed these releases but never used them.  I enabled them from the component manager.    

    Today I was able to get into the update advisor site and will install and try 5.33 and report back.   (I confirmed that 5.32 was removed from the site).

  • I have since fixed this problem.  And I'll report here in case this helps anyone.

    My project file had some hard coded paths to the old bios.  (Ouch).

    I have since found and have been using the BIOS environment variables in my PATHS in the project file BIOS_INSTALL_DIR with much better portability between other developers and more consistent operation when upgrading BIOS!

    Regards,
    --B