piclist 2001\02\26\160507a >
Thread: MPLAB-C porting
face BY : Mike Mansheim email (remove spam text)

>Let me add - I didn't write this code.  I'm just the one who gets to port
>over :(  It looks like frdaddr is used as a starting point 0x8000 and then
>stepped down each iteration when adding data to flash memory.  I'm still
>figuring out the schematic and the processor but that's how it looks to

>So flshaddr needs to be at address 0x8000 at least what I can make of this

Then, this should work:

unsigned long flashadd = 0x8000;    // change this to a long
unsigned long far *frdaddr;         // don't know what "far" does here;
                                   // compile on CCS
frdaddr = flashadd;

http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


See also: www.piclist.com/techref/microchip/ios.htm?key=port
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) MPLAB-C porting

month overview.

new search...