This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mon51 funktioniert nicht mit externer Uart

Ich habe versucht Mon51 mit der externen Uart in Betrieb zu nehmen - leider erfolglos.
(es kommt keine Kommunikation mit µVision zustande)
Mit der internen Uart funtioniert es.

Mon 51 mit der externe Uart habe ich mit folgenden einstellungen generiert:
install.bat 6 7F 80

für Mon51 mit der internen mit
install.bat 9 7F 80

den bauddiv. für die externe Uart habe ich in install.a51 auf 0xC eingestellt (1.843200 MHz / 9600 Bad)

Die Externe UART befindet sich im Bereich zwischen 0xE400 - 0xE7FF.
Wenn ich auf die externe Uart mit einem Programm zugreife funktioniert das Senden und Empfangen ohne Probleme.


Ich hoffe jemand kennt eine Lösung.

Vielen Dank im voraus.

Frank Keubler

Parents
  • Yes and i can access the external uart - i know this because i write some asm routines to test the communication.

    That's not exactly the test you should be running. You should check that the actual code as found in install.a51, with your modifications, can successfully communicate with your 16550.

    You may have to actually try a copy-n-pasted version of it in your test program to be completely sure.

Reply
  • Yes and i can access the external uart - i know this because i write some asm routines to test the communication.

    That's not exactly the test you should be running. You should check that the actual code as found in install.a51, with your modifications, can successfully communicate with your 16550.

    You may have to actually try a copy-n-pasted version of it in your test program to be completely sure.

Children
No data