Vous êtes sur la page 1sur 4

dsPIC30F Code Examples: Now on the Web about:reader?url=http://www.microchip.com/fo...

microchip.com

dsPIC30F Code Examples: Now on the Web


11/9/2005 kannadiga

4-5 minutes

Dear Microchip Customers,


It is with pleasure that we announce a new initiative that
serves to help you in your dsPIC Code Development Efforts.

We now provide code examples (abbreviated CE) on our


website.

These code examples are complete MPLAB IDE


projects/workspaces that are self-contained, requiring no
files outside the provided zip file.
Each code example has a brief description provided in a
Readme.txt file or an associated PDF file. Further, comments
in source code should aid in understanding the purpose of the
example.
The code examples are written primarily in C. The examples
are written so that the source code may be easily re-used by
you in your project.

The link on the website is:

http://www.microchip.com/codeexamples
Best Regards,

Hrushikesh Vasuki
Microchip Technology Inc.

1 of 4 1/18/18, 4:33 PM
dsPIC30F Code Examples: Now on the Web about:reader?url=http://www.microchip.com/fo...

Digital Signal Controller Applications Team

Thank you Microchip. as allways you have again showed your


commitment to the users of your products Great well done

I am trying to compile the example code CE005 provided by


the microchip website but the following error occurs:
F:\Project\CE005_FIR_DSP_lib_Filter
\CE005_FIR_DSP_lib_Filter\gld\p30f6014a.gld:1: undefined
symbol `__reset' referenced in expression

Can you help me with this matter? The readme.txt file


supplied seems rather brief would it be possible to send me a
more detailed version of how to use this program?

This error occurs when the project is unable to find the C


start-up library libpic30-coff.a. This should be located in the
lib folder if you unzip with folder structure preserved. I would
not have expected this error to occur and I am not able to
replicate it. Please let me know if this fixes your issue.
cheers,

Rishi Vasuki

Dear Microchip Customers,


While the MPLAB IDE projects provided with the code
examples are set up for a specific dsPIC30F device, the
projects are easily reconfigured to use a different dsPIC
device. Simply, change the device linker script, device include
file so you can build the project for another dsPIC30F device.

2 of 4 1/18/18, 4:33 PM
dsPIC30F Code Examples: Now on the Web about:reader?url=http://www.microchip.com/fo...

Regards,

Hrushikesh Vasuki

Microchip Technology Inc. Digital Signal Controller


Applications Team

Any chance of getting more examples in ASM30? Not


everyone uses C or has a compiler and there appear to be a
number of differences in the directives for ASM30 assembler.

Thanks for the input. Currently C examples seem to be in


higher demand because we have a free student edition of the
C30 compiler posted. However, in my experience writing
dsPIC assembly, I found its instruction set quite friendly so
will take this as feedback that there is a world of users out
there who want Assembly examples.
  Regards,

Rishi

Hi All,
  Please watch for an update that enhances CE018 and fixes a
bug in CE016.

  Thanks,

Rishi

Hi! Is it possible that Microchip posts more examples in C30


for dsPIC? I am particulary interested in motor control
(sensorless BLDC, V-f =const. for IM,...).
  Also, some examples with oversampling, overmodulation,
decimation, USB communication with dedicated chips (e.g.

3 of 4 1/18/18, 4:33 PM
dsPIC30F Code Examples: Now on the Web about:reader?url=http://www.microchip.com/fo...

from FDTI company)would be of great importance for real


design problems.

  Regards.

4 of 4 1/18/18, 4:33 PM