Society of Robots - Robot Forum

Software => Software => Topic started by: orchid on February 24, 2008, 10:02:42 PM

Title: CCS error regarding pwm!!
Post by: orchid on February 24, 2008, 10:02:42 PM
Hi all,

I've using CCS v3.3 and tms320f2812 board. the problem is when i try adept my own source code into example to make motor spin, it display error box saying :


Trouble Reading PC Register:
Error 0x00000004/-1137
Error during: Register,

It appears that the target is being held in reset.  This may be
due to Wait-In-Reset (WIR) configuration set by the EMU0=0
and EMU1=1 pin settings.  If this is the case, DISCONNECT
all CONNECTED devices including icepick and then select
RETRY to clear the WIR configuration.

If this is a multi-core system, the master CPU may not be
releasing the DSP/MCU from reset.  Please check your
configuration in CC_setup and/or your GEL file to ensure that
nothing is blocking the DSP/MCU from being released from reset


Sequence ID: 5
Error Code: -1137
Error Class: 0x00000004

Is anyone know what wrong and how to fix it? the motor just spin for one cycle then the error box popup. Hope that anyone can help me out here. Do you want me to post some of the source code?

Thanks :)
Title: Re: CCS error regarding pwm!!
Post by: Admin on March 09, 2008, 08:41:39 AM
What happens when you follow those instructions? Did you check to see if its actually held in reset?
Title: Re: CCS error regarding pwm!!
Post by: orchid on March 24, 2008, 12:56:53 AM
the box is still appear.but, now the problem was fixed.i just do try and error,and then the box did not displayed again.

i was wondering why when i run the source code, this error appear:
fatal error: could not open source file "f281xbmsk.h"

i had include the header file in the source code and it can open when i click that file.

can anybody help me to solve this prob?i have stuck a week for this prob.
thanks
Title: Re: CCS error regarding pwm!!
Post by: Admin on March 30, 2008, 10:34:23 AM
Quote
i had include the header file in the source code and it can open when i click that file.
Check to see if your compiler is looking in the directory that this .h file is located in.
Title: Re: CCS error regarding pwm!!
Post by: orchid on March 31, 2008, 07:13:18 PM
ok....
i got it

thanks :)