??? 06/16/05 13:36 Read: times |
#95093 - AT89C5131 and SDCC problem |
Hi all,
I'm having problems to execute a test program on Atmel AT89C5131. Here is the c program: #include "at89c5131.h" #include "ext_5131.h" void main (void) { LEDCON = 0x0F; // LEDs init P3_3 = 0; // LED1 on P3_5 = 1; // LED2 off P0_1 = 1; // Port0_1 on while(1){ } } I compiled it with sdcc (without any options) converted it to the hex format with packihx and downloaded it with Flip and switched BLJB for executing the application after Reset and not the Bootloader. When I reset the AT89 nothing happens. The LED stay off and the pin stays low. What am I doing wrong ? Does anybody have an idea ? Thank you very much for your help in advance, Sebastian. |
Topic | Author | Date |
AT89C5131 and SDCC problem | 01/01/70 00:00 | |
the missing link | 01/01/70 00:00 | |
startup code | 01/01/70 00:00 | |
ooops | 01/01/70 00:00 | |
no effect | 01/01/70 00:00 | |
suggest | 01/01/70 00:00 | |
simulator | 01/01/70 00:00 | |
well. | 01/01/70 00:00 | |
Pins | 01/01/70 00:00 | |
while loop = the only command | 01/01/70 00:00 | |
READ the fucking manual | 01/01/70 00:00 | |
No need to be rude. | 01/01/70 00:00 | |
it may be![]() | 01/01/70 00:00 |