Hello friends,
I'm trying to run an example from the set of header files and peripheral
examples which is provided by TI. It's a ePWM Timer Interrupt example which
is configured to run on flash memory...
I'm using;
Board: eZdspF2808 (Rev B)
CCS v3.1
Flash API 2.0 (Both CCS and Flash API are provided by Spec. Digital)
Flash Programmer settings:
sectors (A,B,C,D) are selected
Erase, Program, Verify is selected
No code security has been set
Load Symbols, Display Tooltips are selected.
Problem #1: When I choose Display Diagnostics (under flash programmer settings)
and try to program flash, an error message pops
"Flash API Error #14: Unknown Error during Flash operation" when I uncheck
Display Diagnostics it doesn't complain and seems to be programming.
Problem #2: After programming the Flash like that, I set an HW Breakpoint inside
main, and try to run the app. But it doesn't reach the breakpoint.
Then I changed the view to C/ASM mixed code and I realized ASM instructions on
the section A (where the main was supposed to reside) consisting of ITRAP1
instructions instead of assembly translation of the code. So I assumed that the
application wasn't programmed on the corresponding sector.
Although this example is provided by TI, is it necessary to check out that
common F2808.cmd file? Did anybody try to run this example on flash?
Is there any difference if I program flash with CCS Plugin or Spectrum
Digital's SD Flash Utility?
While programming flash, does the selected type of booting matter?(SARAM or
Flash)
Thanks in advance
Problems and Questions Related to Flash Programming on F2808
Started by ●November 7, 2007
Reply by ●November 16, 20072007-11-16
Hello friends,
I fixed the problem and I wanted to mention the solution in case somebody else is having the same problem...
This problem occurs if your 2808 is silicon revision c and you are using flash api v2.0
If you contact TI about this issue they will send you the update...
But to be honest I'm disappointed because of Spectrum Digital.
They just bundled an obsolete version of the software with a new silicon revision without even testing it...
Hello friends,
>
>I'm trying to run an example from the set of header files and peripheral examples which is provided by TI. It's a ePWM Timer Interrupt example which is configured to run on flash memory...
>
>I'm using;
>Board: eZdspF2808 (Rev B)
>CCS v3.1
>Flash API 2.0 (Both CCS and Flash API are provided by Spec. Digital)
>
>Flash Programmer settings:
>sectors (A,B,C,D) are selected
>Erase, Program, Verify is selected
>No code security has been set
>Load Symbols, Display Tooltips are selected.
>
>Problem #1: When I choose Display Diagnostics (under flash programmer settings) and try to program flash, an error message pops
>"Flash API Error #14: Unknown Error during Flash operation" when I uncheck Display Diagnostics it doesn't complain and seems to be programming.
>
>Problem #2: After programming the Flash like that, I set an HW Breakpoint inside main, and try to run the app. But it doesn't reach the breakpoint.
>Then I changed the view to C/ASM mixed code and I realized ASM instructions on the section A (where the main was supposed to reside) consisting of ITRAP1 instructions instead of assembly translation of the code. So I assumed that the application wasn't programmed on the corresponding sector.
>
>Although this example is provided by TI, is it necessary to check out that common F2808.cmd file? Did anybody try to run this example on flash?
>Is there any difference if I program flash with CCS Plugin or Spectrum Digital's SD Flash Utility?
>While programming flash, does the selected type of booting matter?(SARAM or Flash)
>
>Thanks in advance
I fixed the problem and I wanted to mention the solution in case somebody else is having the same problem...
This problem occurs if your 2808 is silicon revision c and you are using flash api v2.0
If you contact TI about this issue they will send you the update...
But to be honest I'm disappointed because of Spectrum Digital.
They just bundled an obsolete version of the software with a new silicon revision without even testing it...
Hello friends,
>
>I'm trying to run an example from the set of header files and peripheral examples which is provided by TI. It's a ePWM Timer Interrupt example which is configured to run on flash memory...
>
>I'm using;
>Board: eZdspF2808 (Rev B)
>CCS v3.1
>Flash API 2.0 (Both CCS and Flash API are provided by Spec. Digital)
>
>Flash Programmer settings:
>sectors (A,B,C,D) are selected
>Erase, Program, Verify is selected
>No code security has been set
>Load Symbols, Display Tooltips are selected.
>
>Problem #1: When I choose Display Diagnostics (under flash programmer settings) and try to program flash, an error message pops
>"Flash API Error #14: Unknown Error during Flash operation" when I uncheck Display Diagnostics it doesn't complain and seems to be programming.
>
>Problem #2: After programming the Flash like that, I set an HW Breakpoint inside main, and try to run the app. But it doesn't reach the breakpoint.
>Then I changed the view to C/ASM mixed code and I realized ASM instructions on the section A (where the main was supposed to reside) consisting of ITRAP1 instructions instead of assembly translation of the code. So I assumed that the application wasn't programmed on the corresponding sector.
>
>Although this example is provided by TI, is it necessary to check out that common F2808.cmd file? Did anybody try to run this example on flash?
>Is there any difference if I program flash with CCS Plugin or Spectrum Digital's SD Flash Utility?
>While programming flash, does the selected type of booting matter?(SARAM or Flash)
>
>Thanks in advance
Reply by ●November 18, 20072007-11-18
thx for sharing your experience !
A.SALMETOZ
Veuillez rondre t...@superonline.com
Envoypar : c...
Pour : c...
cc :
Objet : [c28x] Re: Problems and Questions Related to Flash Programming on
F2808
Hello friends,
I fixed the problem and I wanted to mention the solution in case somebody
else is having the same problem...
This problem occurs if your 2808 is silicon revision c and you are using
flash api v2.0
If you contact TI about this issue they will send you the update...
But to be honest I'm disappointed because of Spectrum Digital.
They just bundled an obsolete version of the software with a new silicon
revision without even testing it...
Hello friends,
>
>I'm trying to run an example from the set of header files and peripheral
examples which is provided by TI. It's a ePWM Timer Interrupt example
which is configured to run on flash memory...
>
>I'm using;
>Board: eZdspF2808 (Rev B)
>CCS v3.1
>Flash API 2.0 (Both CCS and Flash API are provided by Spec. Digital)
>
>Flash Programmer settings:
>sectors (A,B,C,D) are selected
>Erase, Program, Verify is selected
>No code security has been set
>Load Symbols, Display Tooltips are selected.
>
>Problem #1: When I choose Display Diagnostics (under flash programmer
settings) and try to program flash, an error message pops
>"Flash API Error #14: Unknown Error during Flash operation" when I
uncheck Display Diagnostics it doesn't complain and seems to be
programming.
>
>Problem #2: After programming the Flash like that, I set an HW Breakpoint
inside main, and try to run the app. But it doesn't reach the breakpoint.
>Then I changed the view to C/ASM mixed code and I realized ASM
instructions on the section A (where the main was supposed to reside)
consisting of ITRAP1 instructions instead of assembly translation of the
code. So I assumed that the application wasn't programmed on the
corresponding sector.
>
>Although this example is provided by TI, is it necessary to check out
that common F2808.cmd file? Did anybody try to run this example on flash?
>Is there any difference if I program flash with CCS Plugin or Spectrum
Digital's SD Flash Utility?
>While programming flash, does the selected type of booting matter?(SARAM
or Flash)
>
>Thanks in advance
A.SALMETOZ
Veuillez rondre t...@superonline.com
Envoypar : c...
Pour : c...
cc :
Objet : [c28x] Re: Problems and Questions Related to Flash Programming on
F2808
Hello friends,
I fixed the problem and I wanted to mention the solution in case somebody
else is having the same problem...
This problem occurs if your 2808 is silicon revision c and you are using
flash api v2.0
If you contact TI about this issue they will send you the update...
But to be honest I'm disappointed because of Spectrum Digital.
They just bundled an obsolete version of the software with a new silicon
revision without even testing it...
Hello friends,
>
>I'm trying to run an example from the set of header files and peripheral
examples which is provided by TI. It's a ePWM Timer Interrupt example
which is configured to run on flash memory...
>
>I'm using;
>Board: eZdspF2808 (Rev B)
>CCS v3.1
>Flash API 2.0 (Both CCS and Flash API are provided by Spec. Digital)
>
>Flash Programmer settings:
>sectors (A,B,C,D) are selected
>Erase, Program, Verify is selected
>No code security has been set
>Load Symbols, Display Tooltips are selected.
>
>Problem #1: When I choose Display Diagnostics (under flash programmer
settings) and try to program flash, an error message pops
>"Flash API Error #14: Unknown Error during Flash operation" when I
uncheck Display Diagnostics it doesn't complain and seems to be
programming.
>
>Problem #2: After programming the Flash like that, I set an HW Breakpoint
inside main, and try to run the app. But it doesn't reach the breakpoint.
>Then I changed the view to C/ASM mixed code and I realized ASM
instructions on the section A (where the main was supposed to reside)
consisting of ITRAP1 instructions instead of assembly translation of the
code. So I assumed that the application wasn't programmed on the
corresponding sector.
>
>Although this example is provided by TI, is it necessary to check out
that common F2808.cmd file? Did anybody try to run this example on flash?
>Is there any difference if I program flash with CCS Plugin or Spectrum
Digital's SD Flash Utility?
>While programming flash, does the selected type of booting matter?(SARAM
or Flash)
>
>Thanks in advance






