Hi! I have some troubles with SiLabs c8051f041. I try to start very simple program - flashing one led on gpio. I use Keil CA51 Compiler Kit. Program succesfully compilates without errors. Then I program my chip c8051f041 with BeeProg+ programmer. When programming is succesfully finished, I try to power ON my chip. And nothing happened... I don't understand what I am doing wrong?
I do not see you enabling the crossbar, any bit in the xbr registers is irrelevant till you enable the crossbar (xbr2.6 / BBARE)
Erik
I forgot write it. On this notebook I have not Keil IDE fnd I wrote what I remember. Of course, I enable the crossbar at the end of initialisation of ports.
XBR2 = 0x40;
.
I wrote what I remember. numerous hhreads have gone waaay astray because someone "wrote something" instead of copying actual code. Please refrain from doing so
I'm sorry. I tried to test the controllers in the workplace and after the failure at the weekend decided to ask for help. This does not excuse my confusion, but I would like to solve this problem by Monday, but the code remains at the working computer.