seemanta
Member level 4
Hi,
I am working with a DS5000T microcontroller. I am able to load intel hex files successfully into it. But when I am running it, nothing is happening. I wrote a program to blink an LED but nothing happens to my LED when I run my program.
I suspect the MCON register is not set up properly. It has 0x08 right now.
And my program begins from address 0x0000. Could this be a problem?
Can anyone tell me what MCON setting I should use so that my program can run from 0x0000? Or conversely, if the MCON setting is 0x08 what org directive should I use in my assembly code so that my microcontroller starts to execute the code I want from the correct location.
Thanks in advance,
Seemanta
P.S. I did see the datasheet but could not understand much about the MCON settings Any help in this forum would be greatly appreciated.
I am working with a DS5000T microcontroller. I am able to load intel hex files successfully into it. But when I am running it, nothing is happening. I wrote a program to blink an LED but nothing happens to my LED when I run my program.
I suspect the MCON register is not set up properly. It has 0x08 right now.
And my program begins from address 0x0000. Could this be a problem?
Can anyone tell me what MCON setting I should use so that my program can run from 0x0000? Or conversely, if the MCON setting is 0x08 what org directive should I use in my assembly code so that my microcontroller starts to execute the code I want from the correct location.
Thanks in advance,
Seemanta
P.S. I did see the datasheet but could not understand much about the MCON settings Any help in this forum would be greatly appreciated.