• AVR Freaks

Hot!dsPIC30F Code Examples: Now on the Web

Page: < 1234 Showing page 4 of 4
Author
MBedder
Circuit breaker
  • Total Posts : 6773
  • Reward points : 0
  • Joined: 2008/05/30 11:24:01
  • Location: Zelenograd, Russia
  • Status: offline
Re: dsPIC30F Code Examples: Now on the Web 2010/11/09 04:04:02 (permalink)
0
I just downloaded the AN, unzipped it to arbitrary folder, double clicked the *.mcp file - the MPLAB started and opened the project. Without changing any single thing manually, I just pressed the "Build All" button. MPLAB just asked which compiler and linker it should use - the one configured in a project, or the one I have been usinglast - I've chosen mine, and a project got successfully built:


----------------------------------------------------------------------
Release build of project `C:\XdsPIC\AN1017_30F2010_V1\AN1017.mcp' started.
Language tool versions: pic30-as.exe v3.24, pic30-gcc.exe v3.24, pic30-ld.exe v3.24, pic30-ar.exe v3.24
Tue Nov 09 13:57:50 2010
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\MPLAB\MCC30\bin\pic30-gcc.exe" -mcpu=30F2010 -x c -c   "SinusoidalBLDC v1.2.c" -o"SinusoidalBLDC v1.2.o" -g
Executing: "C:\MPLAB\MCC30\bin\pic30-gcc.exe" -mcpu=30F2010 -x c -c   "SVM.c" -o"SVM.o" -g
Executing: "C:\MPLAB\MCC30\bin\pic30-gcc.exe" -mcpu=30F2010 "SinusoidalBLDC v1.2.o" "SVM.o" -o"AN1017.cof" -Wl,-Tp30F2010.gld,--defsym=__MPLAB_BUILD=1,--defsym=__ICD2RAM=1
Executing: "C:\MPLAB\MCC30\bin\pic30-bin2hex.exe" "C:\XdsPIC\AN1017_30F2010_V1\AN1017.cof"
Loaded C:\XdsPIC\AN1017_30F2010_V1\AN1017.cof.
----------------------------------------------------------------------
Release build of project `C:\XdsPIC\AN1017_30F2010_V1\AN1017.mcp' succeeded.
Language tool versions: pic30-as.exe v3.24, pic30-gcc.exe v3.24, pic30-ld.exe v3.24, pic30-ar.exe v3.24
Tue Nov 09 13:57:55 2010
----------------------------------------------------------------------
BUILD SUCCEEDED


Repeat it step by step and you will get it done for sure.
#61
Rossanato
New Member
  • Total Posts : 19
  • Reward points : 0
  • Joined: 2010/11/09 02:31:08
  • Location: 0
  • Status: offline
Re: dsPIC30F Code Examples: Now on the Web 2010/11/09 05:07:12 (permalink)
0
I've gotten everything right. I downloaded the software again and AN, and after starting from 0, I have no problems. Thank you very much for your help
#62
MBedder
Circuit breaker
  • Total Posts : 6773
  • Reward points : 0
  • Joined: 2008/05/30 11:24:01
  • Location: Zelenograd, Russia
  • Status: offline
Re: dsPIC30F Code Examples: Now on the Web 2010/11/09 05:43:07 (permalink)
0
Glad to be helpful. Good luck with your projects! Smile
#63
mchplover
New Member
  • Total Posts : 13
  • Reward points : 0
  • Joined: 2009/09/30 23:27:14
  • Location: 0
  • Status: offline
Re: RE: Problem with CE18; fft 2011/05/20 23:22:19 (permalink)
0
hello ....
    i have bought 1 dspic30f2020...i made a simple circuit and produced a 400kHz ..frequency on pin no:25/26...problem is temperature of IC is increasing ....or i made something wrong ...i had made it on breadboard earlier ..but due to temperature..i now soldered it on a blank PCB...but again it is getting hot....yeah 1 more thing, it is working fine, i m getting the correct freq. on scope...kindly help
 thanks ...
#64
leon_heller
Super Member
  • Total Posts : 6411
  • Reward points : 0
  • Joined: 2004/08/17 13:19:45
  • Location: St. Leonards-on-Sea, E. Sussex, UK.
  • Status: offline
Re: RE: Problem with CE18; fft 2011/05/21 01:24:16 (permalink)

Leon Heller
G1HSM

#65
hima bindu
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2011/05/20 10:43:55
  • Location: 0
  • Status: offline
Re: RE: Problem with CE18; fft 2011/05/25 00:41:13 (permalink)
0
Hello..
I am using mplab icd2 for programming dspic30f4011.I connected 4Mhz oscillator,gave 5V supply to Vdd,grounded Vss,Connectd AVdd-Vdd,AVss-Vss.I connected the icd2 pins to the corresponding pins on the dspic.I am getting the following error.

"Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to target
ICDWarn0020: Invalid target device id (expected=0x101, read=0x81)
...Reading ICD Product ID
Running ICD Self Test
...Passed"

 I tried to program.Then,the following message is displayed.


"MPLAB ICD 2 ready for next operation
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Programming Executive
...Verifying Programming Executive
ICD0161: Verify failed (MemType = Test, Address = 0x800000, Expected Val = 0x40080, Val Read = 0x80)
ICD0275:  Programming failed.
MPLAB ICD 2 ready for next operation"
I have checked all the power supply connections.Everything is fine.But I could not make the connection.
#66
aravind.chakravarti
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2011/07/12 07:08:09
  • Location: 0
  • Status: offline
Re: RE: Problem with CE18; fft 2011/07/26 00:04:01 (permalink)
0
Thank You MICROCHIP....
#67
akash_shah111990
New Member
  • Total Posts : 5
  • Reward points : 0
  • Joined: 2013/03/28 02:32:58
  • Location: 0
  • Status: offline
Re:dsPIC30F Code Examples: Now on the Web 2013/04/01 07:27:54 (permalink)
0
can some one help me with the ASR (speech recognition) code.... i dont have dsPIC DEM 1.1 development board  but have created the similar type of hardware environment.... the only thing i dont have is a LCD driver IC (PIC 18f242 code for SPI).... can the ASR code be modified to be directly displayed on lcd....  also in ASR codes assembly and C both are linked.... havn't worked with assembly.... any help would do a lot for me..... thanks in advance
 
WriteByte_LCD: 
                         push    w1                          ; Save content of W1  
                         bclr    SPI2STAT,       #SPIROV     ; 
BufferIsBusy1:    btsc    SPI2STAT,       #SPITBF     ; Wait for buffer becomes available    
                          bra    BufferIsBusy1               ; 
                          mov     SPI2BUF,        w1          ; Read and discard input    
                         mov     w0,             SPI2BUF     ; Write byte to send         
                         pop     w1                          ; Restore content of W1    
                        return              
 
above is the part of code to be modified 
#68
MBedder
Circuit breaker
  • Total Posts : 6773
  • Reward points : 0
  • Joined: 2008/05/30 11:24:01
  • Location: Zelenograd, Russia
  • Status: offline
Re:dsPIC30F Code Examples: Now on the Web 2013/04/01 07:35:09 (permalink)
5 (1)
Do not hijack posts!
#69
b2l
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2014/03/07 21:00:21
  • Location: 0
  • Status: offline
Re:dsPIC30F Code Examples: Now on the Web 2014/03/07 21:06:44 (permalink)
0
i am looking for code examples for dspic30f4011, i dont find examples for implementing for protocols like UART etc... kindly update
#70
Digitalsystems
Senior Member
  • Total Posts : 135
  • Reward points : 0
  • Joined: 2013/03/29 06:25:46
  • Location: India
  • Status: offline
Re:dsPIC30F Code Examples: Now on the Web 2015/03/27 00:16:15 (permalink)
0
I want to do voice recognition using dsPIC 30f5011. pl give me link of voice recognition
#71
Digitalsystems
Senior Member
  • Total Posts : 135
  • Reward points : 0
  • Joined: 2013/03/29 06:25:46
  • Location: India
  • Status: offline
Re: dsPIC30F Code Examples: Now on the Web 2015/05/26 05:15:07 (permalink)
0
Kindly add speech recognition library dsPIC 30f
#72
wiretronics
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2013/03/30 10:57:01
  • Location: 0
  • Status: offline
Re: dsPIC30F Code Examples: Now on the Web 2019/07/01 11:19:14 (permalink)
0
Can not be accessed.
#73
ToddA
New Member
  • Total Posts : 17
  • Reward points : 0
  • Joined: 2018/05/15 14:04:18
  • Location: 0
  • Status: offline
Re: dsPIC30F Code Examples: Now on the Web 2019/07/09 08:22:40 (permalink)
0
If I click on the link for code examples, I get to "Code Examples" page. From there, I selected search by Products, and further added the family (in my case dspic30f5015) and when I clicked Search, I received several code examples.
 
Do you still have problems?
#74
Page: < 1234 Showing page 4 of 4
Jump to:
© 2019 APG vNext Commercial Version 4.5