• AVR Freaks

Compiling code of dspic33ep32mc202 for 24V BLDC Motor control for ceiling fan application

Author
avi_n_chaure
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2019/10/10 23:23:59
  • Location: 0
  • Status: offline
2019/12/27 21:57:24 (permalink)
0

Compiling code of dspic33ep32mc202 for 24V BLDC Motor control for ceiling fan application

Hello,
I am working on 24V BLDC Motor control using dspic33ep32mc202 and MCP8026.
I am using Sensorless FOC algorithm supported by microchip team.
Before some days I was using same code and it was compiling fine.
But now I am compiling same code but getting below attached error.
 
c:\program files (x86)\microchip\xc16\v1.36\bin\bin\..\bin/elf-ld.exe: cannot find -lmotor_control_dspic33e
make[2]: *** [dist/default/production/Indiana_NewCode_with_Buzzer_TuyaWifi26thDec.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
 
I am using MPLAB X IDE V5.10 with XC16(v1.36) compiler.
Please help me to resolve.
 
Thanks for your help in advance,
Avinash
 

Attached Image(s)

#1
du00000001
Just Some Member
  • Total Posts : 3310
  • Reward points : 0
  • Joined: 2016/05/03 13:52:42
  • Location: Germany
  • Status: offline
Re: Compiling code of dspic33ep32mc202 for 24V BLDC Motor control for ceiling fan applica 2020/01/07 14:18:14 (permalink)
0
Looks like you renamed or deleted some file. Or modified the project properties.
Is thisvreally the only error reported or did you just miss to scroll-up in the output window?

PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
#2
ric
Super Member
  • Total Posts : 25101
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: Compiling code of dspic33ep32mc202 for 24V BLDC Motor control for ceiling fan applica 2020/01/07 15:07:23 (permalink)
0
As above, please post the ENTIRE build log.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#3
jtemples
عُضْوٌ جَدِيد
  • Total Posts : 11500
  • Reward points : 0
  • Joined: 2004/02/13 12:31:19
  • Location: Southern California
  • Status: offline
Re: Compiling code of dspic33ep32mc202 for 24V BLDC Motor control for ceiling fan applica 2020/01/07 15:33:23 (permalink)
0
The linker is not finding a library called "motor_control_dspic33e" which I assume would be in a file called "motor_control_dspic33e.a".  Most likely you have deleted or moved or renamed that file.
#4
Jump to:
© 2020 APG vNext Commercial Version 4.5