Home > other >  Using keil write msc1210 chip AD conversion program is a problem
Using keil write msc1210 chip AD conversion program is a problem

Time:09-30

With the autobaud and bipolar two functions, can call the library to use, but still error, program is the brochure for, tried it on myself, on the keil compiler is through no,
 # include "reg1210. H" 
#include
#include
#include
# define LSB 298.0232 e-9
# define XTAL 11059200
Extern void autobaud (void);
Extern signed long bipolar (void);


Below is the error message

* * * ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: autobaud
The MODULE: \ Objects \ according to obj (according to)
* * * ERROR L127: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: bipolar
The MODULE: \ Objects \ according to obj (according to)
* * * ERROR L128: REFERENCE MADE TO the UNRESOLVED EXTERNAL
SYMBOL: autobaud
The MODULE: \ Objects \ according to obj (according to)
ADDRESS: 1000344 h
* * * ERROR L128: REFERENCE MADE TO the UNRESOLVED EXTERNAL
SYMBOL: bipolar
The MODULE: \ Objects \ according to obj (according to)
ADDRESS: 1000377 h
* * * ERROR L128: REFERENCE MADE TO the UNRESOLVED EXTERNAL
SYMBOL: bipolar
The MODULE: \ Objects \ according to obj (according to)
ADDRESS: 10003 d2h
The Program Size: data=https://bbs.csdn.net/topics/29.0 xdata=0 const=0 code=1100
Target not created.

CodePudding user response:

In the standard library STDXX. H won't have autoband this function
You find online or write their own
Bipolar online did see a
 
Unsigned long bipolar (void)
{
Unsigned long TMP=0;
TMP=ADRESH;
TMP=(tmp<& lt; 8) | ADRESM;
TMP=(tmp<& lt; 8) | ADRESL;
Return (TMP);
}

CodePudding user response:

Thank you, I look inside the manual says autobaud stored in a boot ROM, in the keil also need to write it yourself? Or you can call the function in the ROM?

CodePudding user response:

reference 1st floor dceacho response:
standard library STDXX. H there won't be autoband this function in the
You find online or write their own
Bipolar online did see a
 
Unsigned long bipolar (void)
{
Unsigned long TMP=0;
TMP=ADRESH;
TMP=(tmp<& lt; 8) | ADRESM;
TMP=(tmp<& lt; 8) | ADRESL;
Return (TMP);
}

Thank you, I look inside the manual says autobaud stored in a boot ROM, in the keil also need to write it yourself? Or you can call the function in the ROM?

CodePudding user response:

reference YuZiXuan reply: 3/f
Quote: refer to 1st floor dceacho response:
standard library STDXX. H there won't be autoband this function in the
You find online or write their own
Bipolar online did see a
 
Unsigned long bipolar (void)
{
Unsigned long TMP=0;
TMP=ADRESH;
TMP=(tmp<& lt; 8) | ADRESM;
TMP=(tmp<& lt; 8) | ADRESL;
Return (TMP);
}

Thank you, I look inside the manual says autobaud stored in a boot ROM, in the keil also need to write it yourself? Or you can call the function in the ROM?

I don't see the chip in the PDF mentioned this
You put your brochure on this post

CodePudding user response:

Excuse me, are you use what burning? TI downloader?
  • Related