Other Parts Discussed in Thread: CCSTUDIO
Hi
I am working on c6713 dsk kit and have designed one project that is running
successfully through CCSv3.3. When i convert the .out file to hex code, there
have no issue for hex conversion. but when burn the hex code into flash memory,
most of time, code is not working. In my code, i have used all library & function like EMIF, GPIO port,
CPLD and pow() etc. When i have call some functions from main program, after flash burn is not working.
when i use pow() function, is not work. This type of random issues has arise after flash burn.
I have tried many way to modify my code, but not got any solution and reason.\
I am really hopeless. Kindly help me with proper solution and reason.
Some details of my program has given below for your reference :
******************************************************************************
Flash burn .cmd file for hex conversion:
BlinkDSK6713.out /* Input File: COFF file format (.out) */
-a /* Output Format: ASCII Hex format (.hex) */
-image /* Select image mode */
-memwidth 8 /* Set memory width */
-o BlinkDSK6713.hex /* Output File: ASCII Hex file (.hex) */
ROMS
{
FLASH: org = 000h, len = 0x14000, romwidth = 8
}
******************************************************************
Hex Conversion output in command prompt:-
C:\CCStudio_v3.3\bin\utilities\flashburn\c6000\dsk6713\BlinkDSK6713>hex6x.exe Fl
ashBlink_ahex.cmd
Translating BlinkDSK6713.out to ASCII-Hex format...
"BlinkDSK6713.out" ==> vectors
"BlinkDSK6713.out" ==> bootload
"BlinkDSK6713.out" ==> .text
"BlinkDSK6713.out" ==> .cinit
"BlinkDSK6713.out" ==> .const
[Note: Flash burn tool :- FlashBurn v3.11 (Software Design Solutions Inc)]
******************************************************************************************
project ink.cmd file for .out file :-
MEMORY
{
vecs: o = 00000000h l = 00000200h
boot: o = 00000200h l = 00000200h
IRAM: o = 00000400h l = 0000FA00h
CE0: o = 80000000h l = 01000000h
}
SECTIONS
{
"vectors" > vecs
"bootload" > boot
.cinit > IRAM
.text > IRAM
.stack > IRAM
.bss > IRAM
.const > IRAM
.data > IRAM
.far > IRAM
.switch > IRAM
.sysmem > IRAM
.tables > IRAM
.cio > IRAM
}
*****************************************************
Project header file :-
#include<stdio.h>
#include<string.h>
#include <math.h>
#include <csl_gpio.h>
#include <csl_gpiohal.h>
#include <csl_chip.h>
#include <csl_irq.h>
#include <csl_emifhal.h>
#include <csl_emif.h>
#include "c6713dsk.h"
#include "cpld.h"
#include "timer.h"
#define ADDRESS 0xA0000000
#define GBLCTL 0x01800000
#define CE2 0x01800010
#define pi 3.14
#define N 1 //32768
extern int *output11=(int *)ADDRESS;
extern int *ce2 = (int *)CE2;
***********************************************************
Your kind reply soon will be highly appreciated.
Regards
Gopal