Hi there, Bob. Call me stupid today, but I honestly don't know=20 how to change my code to relocatable. Can you=20 point me towards resources that describe the=20 process of migrating from Absolute code to Relocatable? I'd even go so far as to offer money for someone=20 to take my existing code and massage it into the=20 proper form. That would make it easier for me to=20 migrate other projects to Relocatable. Many thanks! dwayne At 06:49 PM 1/19/2018, picram@roadrunner.com wrote: >Content-Transfer-Encoding: base64Use relocatable=20 >code and the linker =F0=AD"=82=82=88=82=92I=DBHY=9C=98ZYhat absolute=20 >code is a thing of the past (although I am=20 >personally a fan of it). The problem you are=20 >having probably relates to the fact that cblock=20 >simply defines some numeric values for symbols,=20 >it doesn't really 'allocate' memory. It is more=20 >like "C"s 'enum' than anything else (in fact, I=20 >have been known to use it to declare enums). > >- - Bob Ammerman > >RAm Systems > >-----Original Message----- >From: piclist-bounces@mit.edu=20 >[mailto:piclist-bounces@mit.edu] On Behalf Of Dwayne Reid >Sent: Friday, January 19, 2018 5:51 PM >To: pic microcontroller discussion list >Subject: [PIC] Unable to add / view Global=20 >Symbols in watch window when debugging (MPLAB-X) > >Good day to all. > >The following is a post I recently made on the=20 >Microchip Forums. No help there, so I'm trying here. > >The only suggestion from the forum was to make=20 >sure that I had the "Program in Absolute Mode"=20 >box checked - it was. No other suggestions so far. > >Original post follows: > >I am a long-timer user of MPLAB - all versions=20 >prior to MPLAB-X. Most recent projects are built using MPLAB 8.92. > >However, I want to use debug hardware that=20 >operates only with MPLAB-X. I'm biting the=20 >bullet and trying to wrap my head around the new=20 >paradigm. I've just upgraded MPLAB-X to version 4.05. > >My current problem is that I can't see Global=20 >Symbols when adding variables to a watch=20 >window. My source is straight assembler, built=20 >in Absolute mode. All variables are declared=20 >using a "cblock / endc" section in my code. I'm=20 >not using re-locatable code nor am I using the linker. > >How to force MPLAB-X to make Global Symbols=20 >available for use in watch=20 >windows=82=88=82=93X[=9EH[=9A=DC=C8B=82=88=82=99=D8^[=99B=82=88=82=8BKH=82= =91wayne=20 >Reid < dwayner@planet.eon.net> --=20 Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA 780-489-3199 voice 780-487-6397 fax 888-489-3199 Toll Free www.trinity-electronics.com Custom Electronics Design and Manufacturing --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .