Since the combos are just that, a combination of virtual peripherals, they may or may not contain the most updated version of VP code. So yes, there may be bugs. These were simply meant as samples and turned into alot of work for very little return, so they may not be kept up to date. > -----Original Message----- > From: Russell McMahon [mailto:apptech@clear.net.nz] > Sent: Friday, September 14, 2001 12:28 AM > To: sxtech@yahoogroups.com; PIC List > Subject: [sxtech] [SX]: Dual UART & IIC multimaster virtualperipheral > > > Has anyone successfully used the Ubicom sample dual UART & > IIC multimaster > virtual peripheral ? > > I've just returned to a project where I'm intending to use this code. > The dual UART had a fatal flaw which I have fixed. This > probably came from > someone having duplicated code for a single UART but missing > a common flag > fatally shared between the two routines - possibly OK if only > one was active > at once and you changed serial connections over to test each > in turn. I've > added a 3rd UART to this and they all work OK. > > I've just started on the IIC (where I only need a single > master) and at > first try it appeared "dead in the water". > I added a debugging call to a print routine part way through > the code. This > needed a bank switch and I then restored the bank to where it > "should" have > been after the serial call, and lo & behold, it burst into > somethinfg like > life. Removing the serial call but keeping the subsequent > bank call (which > should now be redundant) and it still works partially. This > suggests the > basic code is flawed. If anyone else has used this with > success I'd love to > hear from them. I'll no doubt get it going but short > circuiting having to > fix something which isn't meant to be broken would be nice. > > I'd like to think that it was just something I was doing > wrong but the fact > that the UART was definitely broken suggests the other > problem also may be > real. > > > regards > > > Russell McMahon > > > > To UNSUBSCRIBE, just send mail to: > sxtech-unsubscribe@yahoogroups.com > from the same email address that you subscribed. Text in the > Subject and Body of the message will be ignored. > > Your use of Yahoo! Groups is subject to > http://docs.yahoo.com/info/terms/ > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads