go_away

Author Topic: CCS error regarding pwm!!  (Read 3919 times)

0 Members and 1 Guest are viewing this topic.

Offline orchidTopic starter

  • Full Member
  • ***
  • Posts: 54
  • Helpful? 0
CCS error regarding pwm!!
« 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 :)

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,666
  • Helpful? 169
    • Society of Robots
Re: CCS error regarding pwm!!
« Reply #1 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?

Offline orchidTopic starter

  • Full Member
  • ***
  • Posts: 54
  • Helpful? 0
Re: CCS error regarding pwm!!
« Reply #2 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

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,666
  • Helpful? 169
    • Society of Robots
Re: CCS error regarding pwm!!
« Reply #3 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.

Offline orchidTopic starter

  • Full Member
  • ***
  • Posts: 54
  • Helpful? 0
Re: CCS error regarding pwm!!
« Reply #4 on: March 31, 2008, 07:13:18 PM »
ok....
i got it

thanks :)

 


Get Your Ad Here

data_list