fuzzy logic
Posted: Mon Sep 15, 2008 9:16 am
Dear Lubin,
I have tried to simulate a controller of the speed of a motor using fuzzy logic. After developing the model in MATLAB and transfer it to MPLAB V8.15a and building it. All went good. But when i fired the program into the DSPIC30F6014 and i tried to run it, it stops. I then run it in step by step using animate, it gave me the following error message. Is this due of shortage of program memory or what ? If this is the case, is it due to the number of rules implemented in the fuzzier (25 rules which is about the right number of rules to get good control) which makes the program too long so that it could not be accomodated into the programming memory?
By the way, i tried to run the program in the MPLAB simulator and it did not work either.
So could you please advise.
CORE-E0011: Trap due to unimplemented RAM or PSV memory access, occurred from instruction at 0x000688
CORE-E0001: Trap due to stack error, occurred from instruction at 0x000688
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from instruction at 0x000688
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from instruction at 0x000688
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from instruction at 0x000688
CORE-W0008: Software Reset Instruction called at PC=0x002f16
I have tried to simulate a controller of the speed of a motor using fuzzy logic. After developing the model in MATLAB and transfer it to MPLAB V8.15a and building it. All went good. But when i fired the program into the DSPIC30F6014 and i tried to run it, it stops. I then run it in step by step using animate, it gave me the following error message. Is this due of shortage of program memory or what ? If this is the case, is it due to the number of rules implemented in the fuzzier (25 rules which is about the right number of rules to get good control) which makes the program too long so that it could not be accomodated into the programming memory?
By the way, i tried to run the program in the MPLAB simulator and it did not work either.
So could you please advise.
CORE-E0011: Trap due to unimplemented RAM or PSV memory access, occurred from instruction at 0x000688
CORE-E0001: Trap due to stack error, occurred from instruction at 0x000688
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from instruction at 0x000688
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from instruction at 0x000688
CORE-E0003: Trap due to unimplemented RAM memory access, occurred from instruction at 0x000688
CORE-W0008: Software Reset Instruction called at PC=0x002f16