??? 11/29/14 08:36 Read: times |
#190394 - toolchain? Responding to: ???'s previous message |
Kiran V. Sutar said:
I am using AT89S52.
I have used the following: to read memory location 0xff0: unsigned char code *Ptr=0xFF0; ID=*Ptr;The problem is: Whenever I compile the code, this location is initialized to 0xff. I need to initialize this memory location (with a default ID) whenever I compile the source code. How to initialize an unused ROM location in C? Well this very much depends on the toolchain that you are using, but you forgot to tell is what that is. |
Topic | Author | Date |
How to init a variable in ROM | 01/01/70 00:00 | |
You can NOT write to ROM | 01/01/70 00:00 | |
Hex file | 01/01/70 00:00 | |
Initialize code | 01/01/70 00:00 | |
toolchain? | 01/01/70 00:00 | |
Using SDCC... | 01/01/70 00:00 | |
that chip does not have any ROM | 01/01/70 00:00 | |
Here is the solution I was looking for | 01/01/70 00:00 |