FORUM TOPIC · READ ONLY

Error building dsPIC30F3012 with Fuzzy

Error building dsPIC30F3012 with Fuzzy

Forum : General Remark and Questions

3 message(s) · archive en lecture seule

Alan
Hi,



I create a model that use Fuzzy Logic Controller block, and when I try build show this error:

Error building Real-Time Workshop target for block diagram 'fuzzy_stepmotor_casa'. MATLAB error message:

Error using ==> genMakefileAndBuild at 1070

Error(s) encountered while building model "fuzzy_stepmotor_casa".





I attach the model, the FIS file and the error for help in analisys.



I need a help urgently, Thanks.



Alan

Pièce jointe : fuzzy_stepmotor_casa.mdl

Pièce jointe : lente_act3.fis.mdl

Pièce jointe : errorbuild_fuzzy_dspic.JPG

Alan

Re: Error building dsPIC30F3012 with Fuzzy

Hi again,



I found the problem, my model use the 3036 bytes of data memory and the dspic 30f3012 has only 2048 bytes.

Now I wanna know if the EEPROM memory(1024 bytes) can be used like RAM, to data memory, and how I use it?



Thanks

Alan
LubinKerhuel

Re: Error building dsPIC30F3012 with Fuzzy

Hi Alan,



It is not possible to replace RAM by EEPROM.

however, you may try to activate simulink optimization, try to check the box "inline parameters". This may save a lot of RAM memory.



Lubin