Don't allow start up code to zero out everything. A
Custom sdcc_external_startup function with inline
assembly and returning non-zero will also work. With
out the above I found the cc1010 would hang.
Logged In: YES
For SDCC 2.4.0 this works out fine. But for 2.4.1 this was
already changed. The clearing of data memory is now in
device/lib/mcs51/crtclear.asm. The assumption that clearing
all 256 bytes is harmless is not valid for the cc1010 as you
Also the p2 register is replaced by a virtual XPAGE sfr which
you can declare anywhere in your C sources to point out the
correct xdata page register.
SDCC 2.4.6 uses --iram-size to determine how much
data/idata must be cleared.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.