Example XPC567XRKIT PinToggleStationery CW210

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example XPC567XRKIT PinToggleStationery CW210

Example XPC567XRKIT PinToggleStationery CW210

********************************************************************************

* Detailed Description:

* Application performs basic initialization, setup PLL to maximum allowed freq.,

* initializes interrupts, blinking one LED by interrupt, second LED by software

* loop (by second core), initializes and display notice via UART terminal and

* then terminal ECHO.

* The example configures the device for maximum performance (OPTIMIZATIONS_ON).

* For XPC567XKIT516 it initializes EBI for mounted external SRAM device.

*

* ------------------------------------------------------------------------------

* Test HW:         XPC567XKIT516 - MPC567xADAT516 Rev.D, MPC567XEVBFXMB Rev.C

* MCU:             PPC5676RDMVY1 3N23A

* Terminal:        19200-8-no parity-1 stop bit-no flow control on eSCI_A

* Fsys:            180MHz

* Debugger:        Lauterbach Trace32

*                  PeMicro USB-ML-PPCNEXUS

* Target:          RAM, internal_FLASH

* EVB connection:  ETPUC0(J24-0) -> USER_LED_8 (J5-8)

*                  ETPUC1(J24-1) -> USER_LED_7 (J5-7)(to see blinking LEDs)

*

********************************************************************************

Labels (1)
Attachments
Comments

Thank you very much for your demo! I will try my best to study the demo before programming on the device.

Hi David,

thank you for your demo! I've already learned few new things with your code. However, I am having a hard time to compile the entire project. I am using S32, C project, Newlib. I copied your *.h files into `include` and the *.c into `src`. What else? This is the output of the compiler:

make -j8 all
Building file: ../src/main.c
Executing target #7 ../src/main.c
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -c -o "src/main.o" "../src/main.c"
In file included from ../src/main.c:65:0:
/home/fab/Projects/gm/quicksilver/testl/testl_Z7_0/include/Exceptions.h:21:0: warning: ignoring #pragma section RX [-Wunknown-pragmas]
 #pragma section RX ".__exception_handlers_p0"
 ^
/home/fab/Projects/gm/quicksilver/testl/testl_Z7_0/include/Exceptions.h:26:21: error: expected ')' before string constant
 __declspec (section ".__exception_handlers_p0") void EXCEP_DefaultExceptionHandler(void);
                     ^
/home/fab/Projects/gm/quicksilver/testl/testl_Z7_0/include/Exceptions.h:44:7: error: expected '(' before 'void'
 __asm void EXCEP_InitExceptionHandlers(void);
       ^
In file included from ../src/main.c:66:0:
/home/fab/Projects/gm/quicksilver/testl/testl_Z7_0/include/IntcInterrupts.h:36:7: error: expected '(' before 'void'
 __asm void INTC_InitINTCInterrupts(void);
       ^
src/subdir.mk:109: recipe for target 'src/main.o' failed
/home/fab/Projects/gm/quicksilver/testl/testl_Z7_0/include/IntcInterrupts.h:52:0: warning: ignoring #pragma section RX [-Wunknown-pragmas]
 #pragma section RX ".__exception_handlers_p0"
 ^
/home/fab/Projects/gm/quicksilver/testl/testl_Z7_0/include/IntcInterrupts.h:58:21: error: expected ')' before string constant
 __declspec (section ".__exception_handlers_p0") void INTC_INTCInterruptHandler(void);
                     ^
In file included from ../src/main.c:67:0:
/home/fab/Projects/gm/quicksilver/testl/testl_Z7_0/include/uart.h:29:2: error: #error _MSL_CONSOLE_SUPPORT must not be defined to 1.
 #error _MSL_CONSOLE_SUPPORT must not be defined to 1.
  ^
../src/main.c:111:8: error: expected identifier or '(' before 'asm'
 static asm void BranchPredictionEnable(void);
        ^
../src/main.c:119:8: error: expected identifier or '(' before 'asm'
 static asm void External_SRAM_MMU_init(void);
        ^
../src/main.c: In function 'DisableWatchdog':
../src/main.c:193:5: error: expected '(' before '{' token
     {
     ^
../src/main.c:194:9: error: unknown type name 'mfhid0'
         mfhid0  r11       /* Move from spr HID0 to r11 (copies HID0) */
         ^
../src/main.c:195:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'li'
         li      r12, 0xBFFF  /* Load immed. data of ~0x4000 to r12 */
         ^
../src/main.c:216:13: error: invalid storage class for function 'External_SRAM_init'
 static void External_SRAM_init(void)
             ^
../src/main.c: In function 'External_SRAM_init':
../src/main.c:221:5: warning: implicit declaration of function 'External_SRAM_MMU_init' [-Wimplicit-function-declaration]
     External_SRAM_MMU_init();
     ^
../src/main.c: In function 'DisableWatchdog':
../src/main.c:305:8: error: expected identifier or '(' before 'asm'
 static asm void External_SRAM_MMU_init(void)
        ^
../src/main.c:339:13: error: invalid storage class for function 'eTPU_RAM_init'
 static void eTPU_RAM_init(void)
             ^
../src/main.c: In function 'eTPU_RAM_init':
../src/main.c:355:5: error: expected '(' before '{' token
     {
     ^
../src/main.c:356:9: error: unknown type name 'lis'
         lis r3, 0x1004
         ^
../src/main.c:356:17: error: expected identifier or '(' before numeric constant
         lis r3, 0x1004
                 ^
../src/main.c:356:13: warning: unused variable 'r3' [-Wunused-variable]
         lis r3, 0x1004
             ^
../src/main.c:413:13: error: invalid storage class for function 'FMPLL_init'
 static void FMPLL_init(void)
             ^
../src/main.c:441:13: error: invalid storage class for function 'GPIO_init'
 static void GPIO_init(void)
             ^
../src/main.c:464:13: error: invalid storage class for function 'PIT3_isr'
 static void PIT3_isr(void)
             ^
../src/main.c:484:13: error: invalid storage class for function 'PIT3_init'
 static void PIT3_init(void)
             ^
../src/main.c:512:13: error: invalid storage class for function 'Interrupts_init'
 static void Interrupts_init(void)
             ^
../src/main.c:535:13: error: invalid storage class for function 'Terminal_ECHO'
 static void Terminal_ECHO(void)
             ^
../src/main.c:576:5: warning: 'main' is normally a non-static function [-Wmain]
 int main(void)
     ^
../src/main.c: In function 'main':
../src/main.c:578:22: warning: unused variable 'cnt' [-Wunused-variable]
     register int32_t cnt = 0;
                      ^
../src/main.c: In function 'eTPU_RAM_init':
../src/main.c:608:1: error: expected declaration or statement at end of input
 }
 ^
../src/main.c: In function 'DisableWatchdog':
../src/main.c:608:1: error: expected declaration or statement at end of input
../src/main.c: At top level:
../src/main.c:113:13: warning: 'FMPLL_init' used but never defined
 static void FMPLL_init(void);
             ^
../src/main.c:117:13: warning: 'eTPU_RAM_init' used but never defined
 static void eTPU_RAM_init(void);
             ^
../src/main.c:118:13: warning: 'External_SRAM_init' used but never defined
 static void External_SRAM_init(void);
             ^
../src/main.c:112:13: warning: 'GPIO_init' declared 'static' but never defined [-Wunused-function]
 static void GPIO_init(void);
             ^
../src/main.c:114:13: warning: 'Interrupts_init' declared 'static' but never defined [-Wunused-function]
 static void Interrupts_init(void);
             ^
../src/main.c:115:13: warning: 'PIT3_isr' declared 'static' but never defined [-Wunused-function]
 static void PIT3_isr(void);
             ^
../src/main.c:116:13: warning: 'PIT3_init' declared 'static' but never defined [-Wunused-function]
 static void PIT3_init(void);
             ^
../src/main.c:120:13: warning: 'Terminal_ECHO' declared 'static' but never defined [-Wunused-function]
 static void Terminal_ECHO(void);
             ^
make: *** [src/main.o] Error 1

17:13:53 Build Finished (took 322ms)

Can you help me with this? I would like to be able to use the UART for a very important project we are working on.

Fab

Hi, pay attention to following link:

https://community.nxp.com/docs/DOC-335330 

Colleagues ported some of our PinToggleStationery example project into S32DS environment.

Hope it helps

%3CLINGO-SUB%20id%3D%22lingo-sub-1111079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20XPC567XRKIT%20PinToggleStationery%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20Application%20performs%20basic%20initialization%2C%20setup%20PLL%20to%20maximum%20allowed%20freq.%2C%3C%2FP%3E%3CP%3E*%20initializes%20interrupts%2C%20blinking%20one%20LED%20by%20interrupt%2C%20second%20LED%20by%20software%3C%2FP%3E%3CP%3E*%20loop%20(by%20second%20core)%2C%20initializes%20and%20display%20notice%20via%20UART%20terminal%20and%3C%2FP%3E%3CP%3E*%20then%20terminal%20ECHO.%3C%2FP%3E%3CP%3E*%20The%20example%20configures%20the%20device%20for%20maximum%20performance%20(OPTIMIZATIONS_ON).%3C%2FP%3E%3CP%3E*%20For%20XPC567XKIT516%20it%20initializes%20EBI%20for%20mounted%20external%20SRAM%20device.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC567XKIT516%20-%20MPC567xADAT516%20Rev.D%2C%20MPC567XEVBFXMB%20Rev.C%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5676RDMVY1%203N23A%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20180MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20ETPUC0(J24-0)%20-%26gt%3B%20USER_LED_8%20(J5-8)%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ETPUC1(J24-1)%20-%26gt%3B%20USER_LED_7%20(J5-7)(to%20see%20blinking%20LEDs)%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1111079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20Application%20performs%20basic%20initialization%2C%20setup%20PLL%20to%20maximum%20allowed%20freq.%2C%3C%2FP%3E%3CP%3E*%20initializes%20interrupts%2C%20blinking%20one%20LED%20by%20interrupt%2C%20second%20LED%20by%20software%3C%2FP%3E%3CP%3E*%20loop%20(by%20second%20core)%2C%20initializes%20and%20display%20notice%20via%20UART%20terminal%20and%3C%2FP%3E%3CP%3E*%20then%20terminal%20ECHO.%3C%2FP%3E%3CP%3E*%20The%20example%20configures%20the%20device%20for%20maximum%20performance%20(OPTIMIZATIONS_ON).%3C%2FP%3E%3CP%3E*%20For%20XPC567XKIT516%20it%20initializes%20EBI%20for%20mounted%20external%20SRAM%20device.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20XPC567XKIT516%20-%20MPC567xADAT516%20Rev.D%2C%20MPC567XEVBFXMB%20Rev.C%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5676RDMVY1%203N23A%3C%2FP%3E%3CP%3E*%20Terminal%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20180MHz%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20RAM%2C%20internal_FLASH%3C%2FP%3E%3CP%3E*%20EVB%20connection%3A%26nbsp%3B%20ETPUC0(J24-0)%20-%26gt%3B%20USER_LED_8%20(J5-8)%3C%2FP%3E%3CP%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ETPUC1(J24-1)%20-%26gt%3B%20USER_LED_7%20(J5-7)(to%20see%20blinking%20LEDs)%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1111079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111082%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20XPC567XRKIT%20PinToggleStationery%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111082%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%20pay%20attention%20to%20following%20link%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-335330%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-335330%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EColleagues%20ported%20some%20of%20our%20PinToggleStationery%20example%20project%20into%20S32DS%20environment.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EHope%20it%20helps%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111081%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20XPC567XRKIT%20PinToggleStationery%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111081%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20David%2C%3C%2FP%3E%3CP%3Ethank%20you%20for%20your%20demo!%20I've%20already%20learned%20few%20new%20things%20with%20your%20code.%20However%2C%20I%20am%20having%20a%20hard%20time%20to%20compile%20the%20entire%20project.%20I%20am%20using%20S32%2C%20C%20project%2C%20Newlib.%20I%20copied%20your%20*.h%20files%20into%20%60include%60%20and%20the%20*.c%20into%20%60src%60.%20What%20else%3F%20This%20is%20the%20output%20of%20the%20compiler%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%20class%3D%22jive_macro_quote%20jive-quote%20jive_text_macro%22%3E%3CP%3Emake%20-j8%20all%20%3CBR%20%2F%3EBuilding%20file%3A%20..%2Fsrc%2Fmain.c%3CBR%20%2F%3EExecuting%20target%20%237%20..%2Fsrc%2Fmain.c%3CBR%20%2F%3EInvoking%3A%20Standard%20S32DS%20C%20Compiler%3CBR%20%2F%3Epowerpc-eabivle-gcc%20%22%40src%2Fmain.args%22%20-MMD%20-MP%20-MF%22src%2Fmain.d%22%20-MT%22src%2Fmain.o%22%20-c%20-o%20%22src%2Fmain.o%22%20%22..%2Fsrc%2Fmain.c%22%3CBR%20%2F%3EIn%20file%20included%20from%20..%2Fsrc%2Fmain.c%3A65%3A0%3A%3CBR%20%2F%3E%2Fhome%2Ffab%2FProjects%2Fgm%2Fquicksilver%2Ftestl%2Ftestl_Z7_0%2Finclude%2FExceptions.h%3A21%3A0%3A%20warning%3A%20ignoring%20%23pragma%20section%20RX%20%5B-Wunknown-pragmas%5D%3CBR%20%2F%3E%26nbsp%3B%23pragma%20section%20RX%20%22.__exception_handlers_p0%22%3CBR%20%2F%3E%26nbsp%3B%5E%3CBR%20%2F%3E%2Fhome%2Ffab%2FProjects%2Fgm%2Fquicksilver%2Ftestl%2Ftestl_Z7_0%2Finclude%2FExceptions.h%3A26%3A21%3A%20error%3A%20expected%20')'%20before%20string%20constant%3CBR%20%2F%3E%26nbsp%3B__declspec%20(section%20%22.__exception_handlers_p0%22)%20void%20EXCEP_DefaultExceptionHandler(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E%2Fhome%2Ffab%2FProjects%2Fgm%2Fquicksilver%2Ftestl%2Ftestl_Z7_0%2Finclude%2FExceptions.h%3A44%3A7%3A%20error%3A%20expected%20'('%20before%20'void'%3CBR%20%2F%3E%26nbsp%3B__asm%20void%20EXCEP_InitExceptionHandlers(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3EIn%20file%20included%20from%20..%2Fsrc%2Fmain.c%3A66%3A0%3A%3CBR%20%2F%3E%2Fhome%2Ffab%2FProjects%2Fgm%2Fquicksilver%2Ftestl%2Ftestl_Z7_0%2Finclude%2FIntcInterrupts.h%3A36%3A7%3A%20error%3A%20expected%20'('%20before%20'void'%3CBR%20%2F%3E%26nbsp%3B__asm%20void%20INTC_InitINTCInterrupts(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3Esrc%2Fsubdir.mk%3A109%3A%20recipe%20for%20target%20'src%2Fmain.o'%20failed%3CBR%20%2F%3E%2Fhome%2Ffab%2FProjects%2Fgm%2Fquicksilver%2Ftestl%2Ftestl_Z7_0%2Finclude%2FIntcInterrupts.h%3A52%3A0%3A%20warning%3A%20ignoring%20%23pragma%20section%20RX%20%5B-Wunknown-pragmas%5D%3CBR%20%2F%3E%26nbsp%3B%23pragma%20section%20RX%20%22.__exception_handlers_p0%22%3CBR%20%2F%3E%26nbsp%3B%5E%3CBR%20%2F%3E%2Fhome%2Ffab%2FProjects%2Fgm%2Fquicksilver%2Ftestl%2Ftestl_Z7_0%2Finclude%2FIntcInterrupts.h%3A58%3A21%3A%20error%3A%20expected%20')'%20before%20string%20constant%3CBR%20%2F%3E%26nbsp%3B__declspec%20(section%20%22.__exception_handlers_p0%22)%20void%20INTC_INTCInterruptHandler(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3EIn%20file%20included%20from%20..%2Fsrc%2Fmain.c%3A67%3A0%3A%3CBR%20%2F%3E%2Fhome%2Ffab%2FProjects%2Fgm%2Fquicksilver%2Ftestl%2Ftestl_Z7_0%2Finclude%2Fuart.h%3A29%3A2%3A%20error%3A%20%23error%20_MSL_CONSOLE_SUPPORT%20must%20not%20be%20defined%20to%201.%3CBR%20%2F%3E%26nbsp%3B%23error%20_MSL_CONSOLE_SUPPORT%20must%20not%20be%20defined%20to%201.%3CBR%20%2F%3E%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A111%3A8%3A%20error%3A%20expected%20identifier%20or%20'('%20before%20'asm'%3CBR%20%2F%3E%26nbsp%3Bstatic%20asm%20void%20BranchPredictionEnable(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A119%3A8%3A%20error%3A%20expected%20identifier%20or%20'('%20before%20'asm'%3CBR%20%2F%3E%26nbsp%3Bstatic%20asm%20void%20External_SRAM_MMU_init(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20In%20function%20'DisableWatchdog'%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A193%3A5%3A%20error%3A%20expected%20'('%20before%20'%7B'%20token%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A194%3A9%3A%20error%3A%20unknown%20type%20name%20'mfhid0'%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20mfhid0%26nbsp%3B%20r11%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%2F*%20Move%20from%20spr%20HID0%20to%20r11%20(copies%20HID0)%20*%2F%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A195%3A9%3A%20error%3A%20expected%20'%3D'%2C%20'%2C'%2C%20'%3B'%2C%20'asm'%20or%20'__attribute__'%20before%20'li'%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20li%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20r12%2C%200xBFFF%26nbsp%3B%20%2F*%20Load%20immed.%20data%20of%20~0x4000%20to%20r12%20*%2F%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A216%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'External_SRAM_init'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20External_SRAM_init(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20In%20function%20'External_SRAM_init'%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A221%3A5%3A%20warning%3A%20implicit%20declaration%20of%20function%20'External_SRAM_MMU_init'%20%5B-Wimplicit-function-declaration%5D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20External_SRAM_MMU_init()%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20In%20function%20'DisableWatchdog'%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A305%3A8%3A%20error%3A%20expected%20identifier%20or%20'('%20before%20'asm'%3CBR%20%2F%3E%26nbsp%3Bstatic%20asm%20void%20External_SRAM_MMU_init(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A339%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'eTPU_RAM_init'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20eTPU_RAM_init(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20In%20function%20'eTPU_RAM_init'%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A355%3A5%3A%20error%3A%20expected%20'('%20before%20'%7B'%20token%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A356%3A9%3A%20error%3A%20unknown%20type%20name%20'lis'%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20lis%20r3%2C%200x1004%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A356%3A17%3A%20error%3A%20expected%20identifier%20or%20'('%20before%20numeric%20constant%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20lis%20r3%2C%200x1004%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A356%3A13%3A%20warning%3A%20unused%20variable%20'r3'%20%5B-Wunused-variable%5D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20lis%20r3%2C%200x1004%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A413%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'FMPLL_init'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20FMPLL_init(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A441%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'GPIO_init'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20GPIO_init(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A464%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'PIT3_isr'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20PIT3_isr(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A484%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'PIT3_init'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20PIT3_init(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A512%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'Interrupts_init'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20Interrupts_init(void)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A535%3A13%3A%20error%3A%20invalid%20storage%20class%20for%20function%20'Terminal_ECHO'%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20Terminal_ECHO(void)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A576%3A5%3A%20warning%3A%20'main'%20is%20normally%20a%20non-static%20function%20%5B-Wmain%5D%3CBR%20%2F%3E%26nbsp%3Bint%20main(void)%20%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20In%20function%20'main'%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A578%3A22%3A%20warning%3A%20unused%20variable%20'cnt'%20%5B-Wunused-variable%5D%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20register%20int32_t%20cnt%20%3D%200%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20In%20function%20'eTPU_RAM_init'%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A608%3A1%3A%20error%3A%20expected%20declaration%20or%20statement%20at%20end%20of%20input%3CBR%20%2F%3E%26nbsp%3B%7D%3CBR%20%2F%3E%26nbsp%3B%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20In%20function%20'DisableWatchdog'%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A608%3A1%3A%20error%3A%20expected%20declaration%20or%20statement%20at%20end%20of%20input%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A%20At%20top%20level%3A%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A113%3A13%3A%20warning%3A%20'FMPLL_init'%20used%20but%20never%20defined%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20FMPLL_init(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A117%3A13%3A%20warning%3A%20'eTPU_RAM_init'%20used%20but%20never%20defined%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20eTPU_RAM_init(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A118%3A13%3A%20warning%3A%20'External_SRAM_init'%20used%20but%20never%20defined%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20External_SRAM_init(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A112%3A13%3A%20warning%3A%20'GPIO_init'%20declared%20'static'%20but%20never%20defined%20%5B-Wunused-function%5D%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20GPIO_init(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A114%3A13%3A%20warning%3A%20'Interrupts_init'%20declared%20'static'%20but%20never%20defined%20%5B-Wunused-function%5D%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20Interrupts_init(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A115%3A13%3A%20warning%3A%20'PIT3_isr'%20declared%20'static'%20but%20never%20defined%20%5B-Wunused-function%5D%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20PIT3_isr(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A116%3A13%3A%20warning%3A%20'PIT3_init'%20declared%20'static'%20but%20never%20defined%20%5B-Wunused-function%5D%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20PIT3_init(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3E..%2Fsrc%2Fmain.c%3A120%3A13%3A%20warning%3A%20'Terminal_ECHO'%20declared%20'static'%20but%20never%20defined%20%5B-Wunused-function%5D%3CBR%20%2F%3E%26nbsp%3Bstatic%20void%20Terminal_ECHO(void)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%5E%3CBR%20%2F%3Emake%3A%20***%20%5Bsrc%2Fmain.o%5D%20Error%201%3CBR%20%2F%3E%3CBR%20%2F%3E17%3A13%3A53%20Build%20Finished%20(took%20322ms)%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3C%2FP%3E%3CP%3ECan%20you%20help%20me%20with%20this%3F%20I%20would%20like%20to%20be%20able%20to%20use%20the%20UART%20for%20a%20very%20important%20project%20we%20are%20working%20on.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EFab%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111080%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Example%20XPC567XRKIT%20PinToggleStationery%20CW210%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111080%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThank%20you%20very%20much%20for%20your%20demo!%20I%20will%20try%20my%20best%20to%20study%20the%20demo%20before%20programming%20on%20the%20device.%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎11-07-2014 06:35 AM
Updated by: