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, I have D80c400 evaluation kit and I am tring to read memory location 400000h. According to application note 606. The controller stores 'TINI' hex values, but when I read the loaction I am not getting the same value as mentioned.
unsigned char *ptrROM; unsigned int locationCounter; ptrROM = (unsigned char *)0x400000h; for(locationCounter =0; locationCounter<9;locationCounter++) printf("\r\ ROM value at = %x", *(ptrROM++));
Thanks a lot for your response. I gone through the document but they had not mention anything about how to use that macro in C file. I am using µVision3v3.53 and wanted to know, wether this version provide support for 24 bit addressing mode.
HI.
wen i worked with it keil did a dk51 and a pk51.
teh pk51 woz the pro version and had 24 bit.
i c keil do pk51 and ca51 now.
u need pk51.
u also need 2 look at the maxim dallas c libs documants 4 the 80c400.
i remembar their are c macros 4 the addresesses but i do not remembar teh names.
good luck.
Always yo're freind.
Zeusti.
the tini c libs ar at
ftp.dalsemi.com/.../index.html
and one about 24 bit pointers at
files.dalsemi.com/.../structFARPTR.html
plz read thru it. i did not use these C macros bcoz i did a lot in assemblar for my memory accesses
Zeuisti.
Thanks for Your reply.