Using Keil C with DS80C390?????
"Сергеев Василий" <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hello everybody!
I can't make program to work!
As I understand the only way for comfortable loading program
to TINI is using TINI Loader in bank0. So I decide to load my
program to Bank1. Am I right?
But I can't do that directly: when I use Javakit option
'-flash 1' and then "load Hex file As TBIN", MessageBox
appears and tells that I'm trying to write to Bank0! Why????
So I use '-movebank0 1'. So my program is in Bank1, but it
doesn't work.
I'm new at Keil C. I read "Application Note 606 Configuring
Keil PK51 Tools to Support 24-Bit Contiguous Addressing Mode
Application Note 606 Configuring Keil PK51 Tools to Support".
I make the same project settings as in that AppNote, use
start390.a51,init.a51 with some changes as said in Note, but
programm doesn't work. My program is very simple:
void main(void)
{
for(;;){
#pragma ASM
anl P5, #11111110B
orl P5, #00000001B
#pragma ENDASM
}
}
Can you help me with start390.a51 and init.a51 files. I think
the problem is here?
What project settings should I set especially memory settings,
because I want to write to the Bank 1? And what is the
relation between Bank number and start390 and project
settings?
Regards,
Vasiliy Sergeev
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini