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.

TMS320F28335: UNIFLASH downloading errors

Part Number: TMS320F28335
Other Parts Discussed in Thread: UNIFLASH

Hello,

I am working on F28335 DSP and using UNIFlASH 2.2 I am trying to download the .OUT file. I have following queries

a) Through UNIFLASH LED blinking is slow(approx.10 sec) but if downloaded same through CCS7.2 then blinking is fast(approx.2 sec).

b) Similarly, I wrote the code to read and display ADC values continuously on LCD display. When downloaded through CCS7.2, it works but downloaded the .OUT file through UNIFLASH 2.2 then it displays only one first scan values and stops? why this happened in UNIFLASH? Can you suggest any solution to this? 

  • The method you choose to program the flash should not make any difference in how the application executes.

     

    a) Through UNIFLASH LED blinking is slow(approx.10 sec) but if downloaded same through CCS7.2 then blinking is fast(approx.2 sec).

    Which L.E.D is this? Where is it connected in the MCU?

     

    b) Similarly, I wrote the code to read and display ADC values continuously on LCD display. When downloaded through CCS7.2, it works but downloaded the .OUT file through UNIFLASH 2.2 then it displays only one first scan values and stops? why this happened in UNIFLASH? Can you suggest any solution to this? 

    Are you initializing the PLL and the flash wait-states correctly in your code?

  • 1) Which L.E.D is this? Where is it connected in the MCU?

        We used bicolor SMD LED and it is connected to GPIO8-15 of DSP.

    2) Are you initializing the PLL and the flash wait-states correctly in your code?

       Yes, the program works when downloaded the code from CCS7.2. Is there any settings in UNIFLASH 2.2 software to execute code in real time as it is in CCS7.2 resume?

  • Do you observe this after you disconnect the JTAG cable and cycle power? 

    Please do the following:

    After programming, turn off power and remove JTAG cable. Now power on and see if there is any difference between the programming methods. If you still find a difference, re-connect the device and examine the value written to the PLLCR register and PLLSTS.DIVSEL

  • i have checked by removing JTAG emulator and  at power ON I didn't  see any difference the result is same as before that is shows only one value. The value in PLLCR and PLLSTS register is 0x000A and 0x0101 respectively.

  • As mentioned before, the method chosen for flash programming should make no difference. Please download the flash image and save it into a hex file. Compare the two images and see if the contents are different. 

  • Closing thread due to inactivity.