Teething problems - PIC32
Posted: Sat Jul 05, 2008 12:55 pm
I am trying to evaluate your "free" blockest using Matlab 2007b and am experiencing some teething problems. I am using the simple Servo_Sinus.mdl to find my feet and get started.
Problem - C32 Compiler: When I build I get the following;
Servo_Sinus_main.c:30: error: unknown value for configuration setting 'FPLLODIV': 'DIV_526' gmake: *** [Servo_Sinus_main.o] Error 1
### Real-Time Workshop build procedure for model: 'Servo_Sinus' aborted due to an error.
This is what appears in "Servo_Sinus_main.c"
#pragma config FPLLMUL = MUL_15, FPLLIDIV = DIV_1, FPLLODIV = DIV_526, FWDTEN = OFF
#pragma config POSCMOD = XT, FNOSC = PRIPLL, FPBDIV = DIV_1
This seems to be a simple typo problem and should read 'FPLLODIV': 'DIV_256'.
Am I able to fix this? When I made the correction myself (in Servo_Sinus_main.c) and run the Servo_Sinus.bat file all appears to work ok and without error. I get the Servo_Sinus.elf and Servo_Sinus.hex in the example directory after manually running the bat file.
Kind regards
Greg Diana
Problem - C32 Compiler: When I build I get the following;
Servo_Sinus_main.c:30: error: unknown value for configuration setting 'FPLLODIV': 'DIV_526' gmake: *** [Servo_Sinus_main.o] Error 1
### Real-Time Workshop build procedure for model: 'Servo_Sinus' aborted due to an error.
This is what appears in "Servo_Sinus_main.c"
#pragma config FPLLMUL = MUL_15, FPLLIDIV = DIV_1, FPLLODIV = DIV_526, FWDTEN = OFF
#pragma config POSCMOD = XT, FNOSC = PRIPLL, FPBDIV = DIV_1
This seems to be a simple typo problem and should read 'FPLLODIV': 'DIV_256'.
Am I able to fix this? When I made the correction myself (in Servo_Sinus_main.c) and run the Servo_Sinus.bat file all appears to work ok and without error. I get the Servo_Sinus.elf and Servo_Sinus.hex in the example directory after manually running the bat file.
Kind regards
Greg Diana