Reflow Oven

15 views
Skip to first unread message

sjn...@att.net

unread,
Mar 9, 2012, 7:00:57 PM3/9/12
to PIC24 Assembly-to-C Book
I'm planning to build a the reflow oven as in the book. I have
downloaded the latest March 1 2012 code. I made sure that I
configured to PIC24HJ64GP202. When I compile I get and error of

#error "Define LAST_IMPLEMENTED_PMEM for your processor!

Anyone have an idea how this line should read?

Ron Newton

Bob

unread,
Mar 9, 2012, 8:00:03 PM3/9/12
to PIC24 Assembly-to-C Book
The 'LAST_IMPLEMENTED_PMEM" value is the byte address of the last
implemented program memory location for the selected processor. The
code uses this to reserve the last page of memory for writing profile
data to non-volatile program memory.

Since the PIC24HJ64GP202 has the same amount of program memory as the
PIC24HJ64GP502, just edit the line in chap15/reflow_oven.h from:

#if defined(__PIC24HJ64GP502__) || defined(__PIC24FJ64GA002__)

to:

#if defined(__PIC24HJ64GP502__) || defined(__PIC24FJ64GA002__) ||
defined(__PIC24HJ64GP202__)


Hope this helps,

Bob R
Reply all
Reply to author
Forward
0 new messages