Hi,
I would like to thanks the help. Realy, I´m using a demo board and this is the real problem. When i change the serial port SCI0 to SCI1 the software begin to work. This help a lot!
Thanks friends
Carlos
Hallo Carlos
Are you using the DEMO board with the serial monitor program?
If this is the case you can not use interrupts on serial 0 since they are handled by the serial monitor code. The only way around this would be to delete the serial monitor code and work with a BDM instead.
You can still use serial port 1 though - look at the circuit diagram of the board and you will see that the RS232 level shifter has spare inputs and outputs which can be wired up. Then add a second DSUB connector by drilling a hole in the plastic case.
If this is not your problem, please state what is not working correctly - is the interrupt never arriving or getting stuck in a loop, etc.....
Regards
Mark Butcher
www.mjbc.ch
PS. The uTasker [operating system and TCP/IP stack incl. all drivers, a powerful demo project and a real time simulator for the NE64] is free for educational and hobby use, including free emal support. Send me a mail if you are interested in using it - see live demo at http://212.254.22.36 (user ADMIN passsword AL6000S) and see the device via web cam at http://212.254.22.36:8080 - control LEDs from the I/O web page. Other demos on main web page including Internet enabled BDM for the NE64.