Has anybody in this forum successfully built a project with chipcon CC2510 micro on Keil compiler? I understand that all libraries sets available at Chipcom website are written for IAR compiler. I am very curios to know if it is feaseable/possible to use Keil tool? if not, are there any ways to get around this issue?
JS
"I am very curios to know if it is feaseable/possible to use Keil tool?"
OF course it's possible - as far as the tools are concerned, it's just another 8051-architecture processor that executes 8051 instructions.
http://www.keil.com/dd/chip/3989.htm
As to whether it's feasible, that depends on your resources - skill, time (ie, money).
What are these "Libraries" of which you speak? What do they provide? Are they available as source code?
It is determined that the problem is due to the MACRO in the hal.h file. The statement asm("NOP"); \ caused the problem!!!!
#define SET_MAIN_CLOCK_SOURCE(source) \ do { \ if(source) { \ CLKCON |= 0x40; \ while(!HIGH_FREQUENCY_RC_OSC_STABLE); \ SLEEP |= 0x04; \ } \ else { \ SLEEP &= ~0x04; \ while(!XOSC_STABLE); \ asm("NOP"); \ CLKCON &= ~0x47; \ SLEEP |= 0x04; \ } \ } while (0)
Is that true that KEIL does not support "asm("NOP"); " statement? if that is, then what would be an alternative to that statement?
Thanks in advance.
JIMMY
Jimmy; Read the posts. Jonny just told you the chapter and the verse and the alternative. Bradford
View all questions in Keil forum