Skip to main content
Visitor II
December 6, 2007
Question

STR750MCKIT

  • December 6, 2007
  • 2 replies
  • 803 views
Posted on December 06, 2007 at 05:49

STR750MCKIT

    This topic has been closed for replies.

    2 replies

    kstinAuthor
    Visitor II
    December 5, 2007
    Posted on December 05, 2007 at 10:58

    Hallo,

    I want to debug the provided software for PMSM motors. If I tried to execute ''rebuild all'' in IAR Embedded Worckbench it shows me some errors:

    Error[109]: Expression is too complex K:\projekt\STR750_servo\IAR_infos\foc_pmsm\FOC_PMSM_SR_v1.1\IAR\config\75x_init.s 250

    Error while running Assembler

    75x_it.c

    75x_pwm.c

    75x_tb.c

    75x_vect.s

    Error[40]: Bad instruction K:\projekt\STR750_servo\IAR_infos\foc_pmsm\FOC_PMSM_SR_v1.1\IAR\config\75x_vect.s 21

    Error while running Assembler

    MC_Display.c

    after i tried to debug software, the demo software on the eval.board dosn't work anymore. and I cold not to reprogram this. It shows me: Bad JTAG communication: Write to IR: Expected 0x1, got 0x7(TAP Command:2)@ Off 0x5.

    How can i solve this problem?

    Visitor II
    December 6, 2007
    Posted on December 06, 2007 at 05:49

    Hi,

    It seems that you are using the new version of EWARM 5.10A. And in this case you need to update the assembler files and use the new linker file(*.icf).

    Those files are available under:

    ''C:\Program Files\IAR Systems\Embedded Workbench 5.0 \ARM\examples\ST\STR75x\STR75xLibrary''

    Rgds,

    Zouhair