Technical discussions about the TI C28x DSPs (including the C2810, C2811, C2812, F2801, F2806, F2808, F2810,, F2811, F2812, R2811 and R2812).
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 You can post a message or access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c28x/1.php _____________________________________
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 You can post a message or access and search the archives of this group on DSPRelated.com: http://www.dsprelated.com/groups/c28x/1.php _____________________________________
thx for sharing your experience ! A.SALMETOZ Veuillez r=E9pondre =E0 t...@superonline.com Envoy=E9 par : c...@yahoogroups.com Pour : c...@yahoogroups.com cc :=20=20=20=20=20 Objet : [c28x] Re: Problems and Questions Related to Flash Programming on=20 F2808 Hello friends, I fixed the problem and I wanted to mention the solution in case somebody=20 else is having the same problem... This problem occurs if your 2808 is silicon revision c and you are using=20 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=20 revision without even testing it... Hello friends, > >I'm trying to run an example from the set of header files and peripheral=20 examples which is provided by TI. It's a ePWM Timer Interrupt example=20 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=20 settings) and try to program flash, an error message pops=20 >"Flash API Error #14: Unknown Error during Flash operation" when I=20 uncheck Display Diagnostics it doesn't complain and seems to be=20 programming. > >Problem #2: After programming the Flash like that, I set an HW Breakpoint= =20 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=20 instructions on the section A (where the main was supposed to reside)=20 consisting of ITRAP1 instructions instead of assembly translation of the=20 code. So I assumed that the application wasn't programmed on the=20 corresponding sector. > >Although this example is provided by TI, is it necessary to check out=20 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=20 Digital's SD Flash Utility? >While programming flash, does the selected type of booting matter?(SARAM=20 or Flash) > >Thanks in advance You can post a message or access and search the archives of this group on D= SPRelated.com: http://www.dsprelated.com/groups/c28x/1.php _____________________________________ =20