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.

need to add a foreign image file to load module

Other Parts Discussed in Thread: PGA900

I am running CCS v6.1.2.00015 IDE.

I have a target with a host MSP430 uC controlling four PGA900 slave devices (among other things).

It is my goal to create an executable image file for the PGA900 device and use the Host to load the PGA900 application through the SPI port Digital Interface and run the PGA900's from the Development RAM (not the OTP Flash Memory). I need a procedure for getting the CCS to link in this foreign PGA900 object into the MSP430 load module. I'll be defining an 8Kbyte space in the MSP430 memory map to store the image. The main application will load the PGA900 code during initialization.

Has anyone done this? Any advice out there?

  • I am not aware of a straightforward, canned solution for this, but please take a look at this related thread. It has some ideas and suggestions that could be helpful.

  • AartiG,

    Thanks for the response. I did read the thread and it was useful. I may just end up merging the two hex files (the PGA900 and the Host) and burn the memory that way instead of getting the CCS Linker to do it.

    I have found I have a more fundamental problem. I temporarily copied the PGA900 binary image into a large array in the MSP430 Host application. I followed the PGA900 documented instructions and loaded the code image through my SPI interface.

    Host puts PGA900 in RESET and sets IF_SEL to host access

    Host clears REMAP bit

    Host loads binary image to Development RAM

    Host sets REMAP bit

    Host puts PGA900 in nonRESET (run) mode and sets IF_SEL to controller access

    The PGA900 application does not run. I needed to initiate a CCS debug session (used symbols only load option) through the XDS200 OWI interface and hit the 'run' button. Then the PGA900 peripheral application works fine. Un-resetting the PGA900 through my SPI interface should have started the PGA900 application.

    Maybe you could shed some light on this.

    Jim Eno

  • James Eno54 said:
    I needed to initiate a CCS debug session (used symbols only load option) through the XDS200 OWI interface and hit the 'run' button. Then the PGA900 peripheral application works fine.

    If the MSP430 code is in Flash then simply power cycling the device should make it start running, similar to starting a CCS debug session and putting the code to run. I'm not sure why the procedure does not work in your case. I am also not familiar with the PGA900 so unfortunately do not have good advice to offer here. Perhaps you could try posting to the Pressure Sensing forum or the MSP430 forum to see if the experts there have other ideas.