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.

HOW TO UPLOAD AND RUN A .HEX FILE IN THE PGA900EVM USING USB2ANY AND THE GUI

Other Parts Discussed in Thread: PGA900, USB2ANY
We must develop a series of applications for this device.
In the las month, we have been familiarizing with the PGA_900 GUI and the USB2ANY Software and we read a lot about the PGA900 peripherals and functional blocks. We learned how to manipulate the DAC registers in order to obtain an output in the VOUT pin. We did this using the "Digital Interface" tool but we want to do this using the C Code Program that comes with the firmware.
We already have modified the Build options in Code Composer Studio and we generated the .hex file. After many tries, we could not make it upload the program in the microcontroller and make it run.
We know that there is the OTP memory which is non-volatile and there is a RAM memory which may overlap the OTP memory enabling the REMAP bit. We enabled this bit, and loaded the program using the RAM Dev uploader but the program does not run. We checked all the jumpers positions including JP4 that connects the necessary voltage to the OTP memory.
I would like to ask you if you could help us with this. We would like to upload a .hex file that we generated with CCS5 and run it in the PGA900EVM. I am pretty sure that it must be a simple solution with some register or setting in the PGA900 General Software. We already studied a lot about the PGA900 but we are not able to program it using the .hex file.
The documentation that TI has does not explain very well this process.
Thank you,
  • Juan, I think this was address offline already but here is the answer just in case:
    When REMAP bit is 0- DEVRAM is at 0x21000000- OTP is at 0x00000000
    When REMAP bit is 1- DEVRAM is at 0x00000000, that is it overlays the OTP
    - OTP is at 0x00000000
    The DEVRAM downloader in the GUI has been coded to download the hex file to memory address starting at 0x21000000. That means, you have to have REMAP bit set to 0 before downloading software to DEVRAM. So the sequence for downloading and executing out of DEVRAM is:
    1. Reset MICRO2. Set REMAP to 03. Download to DEVRAM4. Set REMAP to 1
    5. Unrest the MicroLet us know if you have any other questions. Thanks,JV
  • Hello Javier,
    Your answer is comprehensive.
    Further to the above question , can I ask following,
    What if "pga900.cmd" is altered such that program bits reside in DRAM instead of OTP under the "SECTIONS{ }" during the development time?

    Thanks