We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone, j developed a C program that use the philips 87LPC764 8051 derivative. This micro needs to store at specific addresses in code memory 2 bytes for the configuration options (type of oscillator, speed etc.)...how can j do this? Maybe using the "_at_" keyword? Any ideas welcomed bye! Massimo.
That particular chip has a "32 byte customer code space to store things like configuration information" at location 0xFCE0. You could use your _at_ to point to that block. The problem now is putting values into the memory. You can do this at the time you program the chip by adding one line to the Hex file or by using special programmer features (which usually don't exist). The best bet is probably to have a number of configuration definitions (Hex file lines). Simply append the desired configuration line to your hex file, program, and away you go.