Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make change in Loader for dsPIC33FJ128GP802 MCU
#7
First: Thanks for courtesy and help!

My "project" are a very little changes!

I simply modified, in the src folder, the setting.inc file with:

;------------------------------------------------------------------------------
; Device
;------------------------------------------------------------------------------
;.equ __24F16KA102, 1 ;xxx uncomment and change if using PIC24F device
;.equ __24FJ128GA010, 1 ;xxx uncomment and change if using PIC24FJ device
;.equ __24HJ128GP504, 1 ;xxx uncomment and change if using PIC24HJ device
;.equ __30F4013, 1 ;xxx uncomment and change if using dsPIC30F device
.equ __33FJ128GP802, 1 ;xxx uncomment and change if using dsPIC33FJ device

The last line is my change, with my device: dsPIC33FJ128GP802
All other lines in the file are unchanged

I opened ds30Loader.mcp with MPLAB IDE v8.92, i chose the chip in > Select Devices (my dsPIC33FJ128GP802).

I deleted the default gld linker and placed (Add files...) the gld linker for my dsPIC (p33FJ128GP802.gld)... and >Build all (Release)

In this way, the linker tell me this error: "error "PPS is not configured. More information in the firmware manual"

ok... then i go to user_code.inc at this macro:

;----------------------------------------------------------------------
; UART/CAN pps config
;----------------------------------------------------------------------
.ifdef HAS_PPS
.error "PPS is not configured. More information in the firmware manual." ;xxx remove this line when PPS is configured


and change the first .ifdef with .ifndef (ifNOTdef). In this way i re-compile >Build all, with success and program (with picKit3) correctly the MCU!
Obviously, not declaring the pins of the serial port nowhere, will not work. I think...
Reply


Messages In This Thread
RE: Make change in Loader for dsPIC33FJ128GP802 MCU - by Ultron - 2013-09-09, 04:27:40

Forum Jump:


Users browsing this thread: 2 Guest(s)