error 255 - tcpip not found
error 255 - tcpip not found
Hello. Thank you for this great utility.
I have a problem, and I don't know how solve it: when I compile a simple proyect (only with one configuration blockset) the next error occurs:
prueba1_main.c: In function '_FICD':
prueba1_main.c:36: error: syntax error before '{' token
gmake: *** [prueba1_main.o] Error 255
### Real-Time Workshop build procedure for model: 'prueba1' aborted due to an error.
--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.
I searched the file tcpip in this directory, but it wasn't there.
Thank you very much again
I have a problem, and I don't know how solve it: when I compile a simple proyect (only with one configuration blockset) the next error occurs:
prueba1_main.c: In function '_FICD':
prueba1_main.c:36: error: syntax error before '{' token
gmake: *** [prueba1_main.o] Error 255
### Real-Time Workshop build procedure for model: 'prueba1' aborted due to an error.
--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.
I searched the file tcpip in this directory, but it wasn't there.
Thank you very much again
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: error 255 - tcpip not found
This is not the bug.joanpamo wrote:--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.
This is the bug.joanpamo wrote:prueba1_main.c: In function '_FICD':
prueba1_main.c:36: error: syntax error before '{' token
Which PIC/dsPIC did you choosed in the Master block ?
Lubin
Re: error 255 - tcpip not found
Ok, I choosed dsPIC 30f4013, with the dsPIC master blockset
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: error 255 - tcpip not found
I used extensively the dsPIC30f4013 and it should not have this kind of bug.
Could you please upload the simulink model you are using on that forum ? (upload attachment at the bottom).
Lubin
Could you please upload the simulink model you are using on that forum ? (upload attachment at the bottom).
Lubin
Re: error 255 - tcpip not found
I'm uploading the simulink model that I use. It's the example that there is on: http://www.kerhuel.eu/wiki/Animation_Co ... irst_model, but it's applied to dsPIC30f4013. All properties of the dsPIC's blockset are default, in order not to get errors.
In the last compilation, I changed from my computer to another that had installed winXP, instead win7 (like first one) And the result was:
*** Alternatively, (re-)compile the MPLAB project : Within Matlab, right-click example1.mcp -> open outside Matlab will open the MPLAB project. Compile, modify..."
### Successful completion of Real-Time Workshop build procedure for model: example1
--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.
It still doesn't found tcpip, but there no error.
I'm very grateful for your interest. Thank you very much again
In the last compilation, I changed from my computer to another that had installed winXP, instead win7 (like first one) And the result was:
*** Alternatively, (re-)compile the MPLAB project : Within Matlab, right-click example1.mcp -> open outside Matlab will open the MPLAB project. Compile, modify..."
### Successful completion of Real-Time Workshop build procedure for model: example1
--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.
It still doesn't found tcpip, but there no error.
I'm very grateful for your interest. Thank you very much again
- Attachments
-
- example1.mdl
- http://www.kerhuel.eu/wiki/Animation_Compiling_your_first_model
- (27.43 KiB) Downloaded 1546 times
Re: error 255 - tcpip not found
hello LubinKerhuel
thanks for the tool.
I have the same problem joanpamo, this is my error.
### Processing Template Makefile: C:\Users\alex\Documents\MATLAB\dspic\dspic_pic30_gcc.tmf
-- Bypassing matlab internal LCC configuration --
### Creating dsPIC_33f_Explorer16.mk from C:\Users\alex\Documents\MATLAB\dspic\dspic_pic30_gcc.tmf
### Building dsPIC_33f_Explorer16: "C:\PROGRA~1\MATLAB\R2010a\bin\win32\gmake" -f dsPIC_33f_Explorer16.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0
''pic30-gcc -c -mcpu=24fJ96GA010 -O3 -fschedule-insns -fschedule-insns2 -O -I. -I..\.. -IC:\PROGRA~1\MATLAB\R2010a/simulink/include -IC:\PROGRA~1\MATLAB\R2010a/extern/include -IC:\PROGRA~1\MATLAB\R2010a/rtw/c/src -IC:\PROGRA~1\MATLAB\R2010a/rtw/c/ert -IC:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/common -IC:\Users\alex\dsPIC_33f_Explorer16_dspic\sources -IC:\Users\alex -IC:\Users\alex\Documents\MATLAB\examples -I C:\PROGRA~1\MICROC~1\MPLABC~1\include dsPIC_33f_Explorer16_main.c
In file included from c:/program files/microchip/mplab c30/bin/bin/../../support/peripheral_24F/timer.h:35,
from dsPIC_33f_Explorer16_private.h:33,
from dsPIC_33f_Explorer16_main.c:28:
c:/program files/microchip/mplab c30/bin/bin/../../support/peripheral_24F/GenericTypeDefs.h:53: error: syntax error before '(' token
gmake: *** [dsPIC_33f_Explorer16_main.o] Error 255
### Real-Time Workshop build procedure for model: 'dsPIC_33f_Explorer16' aborted due to an error.
--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.
>>
thanks for the tool.
I have the same problem joanpamo, this is my error.
### Processing Template Makefile: C:\Users\alex\Documents\MATLAB\dspic\dspic_pic30_gcc.tmf
-- Bypassing matlab internal LCC configuration --
### Creating dsPIC_33f_Explorer16.mk from C:\Users\alex\Documents\MATLAB\dspic\dspic_pic30_gcc.tmf
### Building dsPIC_33f_Explorer16: "C:\PROGRA~1\MATLAB\R2010a\bin\win32\gmake" -f dsPIC_33f_Explorer16.mk GENERATE_REPORT=0 MULTI_INSTANCE_CODE=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0
''pic30-gcc -c -mcpu=24fJ96GA010 -O3 -fschedule-insns -fschedule-insns2 -O -I. -I..\.. -IC:\PROGRA~1\MATLAB\R2010a/simulink/include -IC:\PROGRA~1\MATLAB\R2010a/extern/include -IC:\PROGRA~1\MATLAB\R2010a/rtw/c/src -IC:\PROGRA~1\MATLAB\R2010a/rtw/c/ert -IC:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/common -IC:\Users\alex\dsPIC_33f_Explorer16_dspic\sources -IC:\Users\alex -IC:\Users\alex\Documents\MATLAB\examples -I C:\PROGRA~1\MICROC~1\MPLABC~1\include dsPIC_33f_Explorer16_main.c
In file included from c:/program files/microchip/mplab c30/bin/bin/../../support/peripheral_24F/timer.h:35,
from dsPIC_33f_Explorer16_private.h:33,
from dsPIC_33f_Explorer16_main.c:28:
c:/program files/microchip/mplab c30/bin/bin/../../support/peripheral_24F/GenericTypeDefs.h:53: error: syntax error before '(' token
gmake: *** [dsPIC_33f_Explorer16_main.o] Error 255
### Real-Time Workshop build procedure for model: 'dsPIC_33f_Explorer16' aborted due to an error.
--dir C:\PROGRA~1\MATLAB\R2010a/rtw/c/src/ext_mode/tcpip not found. It is not added to MPLAB project.
>>
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: error 255 - tcpip not found
Hello,
TCP/Ip not found does not create an error. just a warning, not important.
Your error is there :
c:/program files/microchip/mplab c30/bin/bin/../../support/peripheral_24F/GenericTypeDefs.h:53: error: syntax error before '(' token
typically, there are problems with boolean declaration.
I thought the blocket handled this now. if not, you might just edit this .h file and check. commenting few lines usually resolve the problem.
(there are few indication on this website/forum on that...)
Lubin
TCP/Ip not found does not create an error. just a warning, not important.
Your error is there :
c:/program files/microchip/mplab c30/bin/bin/../../support/peripheral_24F/GenericTypeDefs.h:53: error: syntax error before '(' token
typically, there are problems with boolean declaration.
I thought the blocket handled this now. if not, you might just edit this .h file and check. commenting few lines usually resolve the problem.
(there are few indication on this website/forum on that...)
Lubin
Re: error 255 - tcpip not found
thanks for your prompt reply, do not take into account the tcpip error, and if I generated the code in mplab, but when compiling I get another problem.
[tercer_fuzzy_dspic\sources\tercer_fuzzy.c: In function 'tercer_fuzzy_step':
tercer_fuzzy_dspic\sources\tercer_fuzzy.c:121: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:515
Please submit a full bug report,
with preprocessed source if appropriate.]
[tercer_fuzzy_dspic\sources\tercer_fuzzy.c: In function 'tercer_fuzzy_step':
tercer_fuzzy_dspic\sources\tercer_fuzzy.c:121: internal compiler error: in expand_one_stack_var_at, at cfgexpand.c:515
Please submit a full bug report,
with preprocessed source if appropriate.]
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: error 255 - tcpip not found
Hello,
that error should go to Microchip's compiler's team. I might help to reach them if you want.
Anyway, my feeling is that fuzzy logic is not a great for embedded system. It typically required too much memory or to evluate complex math functions...
Lubin
that error should go to Microchip's compiler's team. I might help to reach them if you want.
Anyway, my feeling is that fuzzy logic is not a great for embedded system. It typically required too much memory or to evluate complex math functions...
Lubin
Re: error 255 - tcpip not found
I can help correct this problem, which I do, I need to finish this project.
Thank you.
Thank you.

Who is online
Users browsing this forum: No registered users and 19 guests