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.

Does lib file can be converted to ais file

Hello,

I am using custom board with base TIDM648.

That board is designed with a Flash of Two chunks in DspMemory Map.

First Flash is of 8MB starts from 0xA0000000

Second Flash is of 8Mb starts from 0xB0000000.

 

Now I am suppose to burn UBL and application on First flash.Which is possible and I could do.

Now I want to put .lib files and Dictionaris in Second Flash which are called in the above application which is burn on First Flash.

How can it be done...?

Please any clue...would be appriciated.

 

Regards,

Geetha

 

  • What specifically are you trying to do? Do you want to put only the code/data from some library files in the second flash and access them directly from there? Do you need to copy them into RAM at boot-time or run-time?

    Putting code in Flash is easy, but depending on what you want to do with that code the method changes. If you can tell me exactly what you need to do I think we can be more help in getting you going.

  • Hi TimHarron,

    Thanks a lot for your quick response.

    Step 1: Burn UBl and Application on First Flash 8MB

    Step 2:Application burn at Step 1 wants to use dictionaries which are regularly changed.

              Here I would like to tell about Dictionaries.

    Dictinaries are nothing but  creating a variable array with data say GUCtemp[100]={1,3,4,5,6} and this is first created in C and converted to .lib

    using CCS.Now I have similar such .lib files.Those lib files are used in application.say Regin is a variable in application

    Regin=GUCtemp;

    Paramin=Regin;

    Earlier in normal way I would add these in CCS in libraries section of Application project  and use it.But Now according to client specification those dictionaries may change so they want those .lib files to keep it in different

    memory so that they can repeatedly use or modify those .lib files with out disturbing the application.Hence I want to burn it on Second flash.

    Step 3:after Step 2 .Since now .lib are independent from application and once Application is put to DDR2 by UBL.Application needs those lib files.Hence I want to copy those .Lib files from Secondary flash to DDR2 from which

    application can use those dictionary lib files.

    Please guide me to reach the above things...

     

    Best Regards,

    Geetha

     

  • Hi TimHarron,

    I could solve the above issue.

    I am with next problem.This is regarding...16MB flash .

    Normal AIS boot is properly working.sample application is also doing fine.

    But the actual application program when I am trying to burn.it burned successfully..

    From target m/c we use few batch file to do some interruption from dsp to PC.

    at one module input its hangup.it wont proceed next...so what would be issue ...if it is

    booting related.what things to be taken care .

     

    Please suggest me..for the same.

    Best regards,

    Geeta

  • Take a look at the BOOTCMPLT register to see if it captured any errors during the boot process. Do you know if the boot completes or if the code is failing at run-time?

  • Hello TimHarron,

    I checked BOOTCMPLT register it is 0.After burn on flash when I restart  target m/c with CCS disconnected and then

    try to run the application.It hangs up at one specific module.

    1.When the new  application burnt on 16MB flash, it burnt successully.
    2.Restarted the Target PC.
    3.Testing - client has VC simulator workspace through which inputs are given to this Application.
    Interrupts are properly taking place for the first few modules. When it reaches one specific module, it is stopping.
     
    That Module uses APIs whose definitions are defined in one .LIB file. Exactly when it reaches one of those APIs, it is hanging up or stops.
    If I put break point at that location it is not moving ahead. If I skip that API then it is properly proceeding with
    others tasks.
     
    Reason that made me to ask the query on this specific nature of the Booted application is that
    1. This application is perfectly working when it is run through CCS and giving interrupts or inputs
    from VC simulator set in target machine. Hence Here I am bit confused what could be happening.
    2. Those APIs definition are not disclosed by Endclient .PA has been provided with only .lib file in which those APIs are defined.
     
    How to fix this issue.
     
    My Observations:
    ->I checked with Bios/settings.Used same BIOS/settings of New Dss1application  and could run small applciaton
    it would run properly.
    ->Changed few pin settings in UBL (PSC enable for only UART,GPIO and EMIFA but not others.Initially
    PSC was enabled for all peripheral pins ).Still the same problem exists.
    ->I checked with "Enable EXC module exception processing" in Hardware Interrupt Service Routine Manager
       with uncheck and check options .But was unable to find the actual issue