Just a wild guess after browsing the manual: the UART pins can be selected via S1_S[1:0] in P_SW1, and this setting does not seem to have a default?
Eric > -----Original Message----- > From: Philipp Klaus Krause [mailto:p...@spth.de] > Sent: zondag 7 juni 2020 16:01 > To: Sdcc-User > Subject: [Sdcc-user] STC8A8K64S4A12 UART? > > I'm trying to get a simple "Hello world" running on a > STC8A8K64S4A12 Development Board. > However, so far, I've gotten nowhere. > > I see no activity on the serial lines (the board has LEDs > attached to P3.o and P3.2, the RxD and TxD pins, so if there > was any activity, I should at least see the LEDs flickering, > but I see nothing. > > I've tried both the sample code in section 14.7.3 of the > datasheet, and my own code from other STC devices > (http://www.colecovision.eu/mcs51/STC89%20DEMO%20BOARD%20Seria > l.shtml). > > Even if I haven't gotten the speed right yet (both code > samples are actually for 11.0592 MhZ system clock) I should > at least see the LEDs flicker (like they do when writing > using stcgal). > > Philipp > > > _______________________________________________ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user > _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user