Re: making USART useful


Nov 30, 2003

 


----------------------------

#3615 Nov 30, 2003

I just bought a 877 chip for interfacing with my 818 viz IIC. As I

found out, this chip has USART on board and can be interfaced with a

PC terminal. What kind of things can be done with such a facility?



BG



----------------------------

#3616 Nov 30, 2003

I installed a bootloader program on the877 and program with the serial port on my computer.I don't have to remove the chip, put it in theprogrammer, program it, remove it from programmer, put it on circuitboard.Rinse and repeat.I tried to do ICSP but couldn't get it towork. ----- Original Message -----From:bg3009To: piclist@yahoogroups.comSent: Sunday, November 30, 2003 8:53AMSubject: [piclist] making USARTuseful

I just bought a 877 chip for interfacing with my 818 vizIIC. As I found out, this chip has USART on board and can be interfacedwith a PC terminal. What kind of things can be done with such afacility?

BG



tounsubscribe, go to www.yahoogroups.com and followthe instructions

Your use of Yahoo! Groups is subject to theYahoo! Terms of Service.



----------------------------

#3617 Nov 30, 2003

You can get the '877 resident PicLoader at

www.junun.org/MarkIII/PICLoader.jsp - just download the hex

file unless you want to get into the assembly language details.

Program this into the chip. This version uses 38.4 kB and is

modified from the version distributed by the author - Ric Farmer.



Now get the BotLoader code from the files section at the Yahoo

MiniSumo Mark III group. This is a Windows application for

downloading .hex files to the '877. It also has a terminal window

for interactive communications with the chip.



It is possible, but not supported, to communicate with PicLoader

using HyperTerminal. Just make sure the end-of-line delay is set at

100 mS, no flow control, 38.4k,8,n,1 and there is a chance it will

work.



--- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...> wrote:

> I installed a bootloader program on the 877 and program with the

serial port on my computer.

> I don't have to remove the chip, put it in the programmer, program

it, remove it from programmer, put it on circuit board.

> Rinse and repeat.

> I tried to do ICSP but couldn't get it to work.

>

> ----- Original Message -----

> From: bg3009

> To: piclist@yahoogroups.com

> Sent: Sunday, November 30, 2003 8:53 AM

> Subject: [piclist] making USART useful

>

>

> I just bought a 877 chip for interfacing with my 818 viz IIC. As

I

> found out, this chip has USART on board and can be interfaced

with a

> PC terminal. What kind of things can be done with such a

facility?

>

> BG

>

>

> Yahoo! Groups Sponsor

> ADVERTISEMENT

>

>

>

>

> to unsubscribe, go to www.yahoogroups.com and follow the

instructions

>

> Your use of Yahoo! Groups is subject to the Yahoo! Terms of

Service.



----------------------------

#3623 Dec 1, 2003

rt,



Have you tried this? I am hoping to make it read data from

another chip using IIC and using USART to read that data the 877 gets

from the slave... have u built this thing?



BG --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

> You can get the '877 resident PicLoader at

> www.junun.org/MarkIII/PICLoader.jsp - just download the hex

> file unless you want to get into the assembly language details.

> Program this into the chip. This version uses 38.4 kB and is

> modified from the version distributed by the author - Ric Farmer.

>

> Now get the BotLoader code from the files section at the Yahoo

> MiniSumo Mark III group. This is a Windows application for

> downloading .hex files to the '877. It also has a terminal window

> for interactive communications with the chip.

>

> It is possible, but not supported, to communicate with PicLoader

> using HyperTerminal. Just make sure the end-of-line delay is set

at

> 100 mS, no flow control, 38.4k,8,n,1 and there is a chance it will

> work.

>

>

> --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...> wrote:

> > I installed a bootloader program on the 877 and program with the

> serial port on my computer.

> > I don't have to remove the chip, put it in the programmer,

program

> it, remove it from programmer, put it on circuit board.

> > Rinse and repeat.

> > I tried to do ICSP but couldn't get it to work.

> >

> > ----- Original Message -----

> > From: bg3009

> > To: piclist@yahoogroups.com

> > Sent: Sunday, November 30, 2003 8:53 AM

> > Subject: [piclist] making USART useful

> >

> >

> > I just bought a 877 chip for interfacing with my 818 viz IIC.

As

> I

> > found out, this chip has USART on board and can be interfaced

> with a

> > PC terminal. What kind of things can be done with such a

> facility?

> >

> > BG

> >

> >

> > Yahoo! Groups Sponsor

> > ADVERTISEMENT

> >

> >

> >

> >

> > to unsubscribe, go to www.yahoogroups.com and follow the

> instructions

> >

> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of

> Service.







----------------------------

#3626 Dec 1, 2003

I use PicLoader/BotLoader almost daily on my Mark III robots and a

couple of development boards. The terminal mode is useful for

debugging messages from the PIC. Mostly I just use it to download

code for testing. No point in using a PIC programmer during the

early stages of development.



I haven't needed I2C enough to work through the issues. I did have

it working on an OOPIC and an 80C552 with an I2C LCD display.



--- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> rt,

>

> Have you tried this? I am hoping to make it read data from

> another chip using IIC and using USART to read that data the 877

gets

> from the slave... have u built this thing?

>

> BG

> --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

> > You can get the '877 resident PicLoader at

> > www.junun.org/MarkIII/PICLoader.jsp - just download the

hex

> > file unless you want to get into the assembly language details.

> > Program this into the chip. This version uses 38.4 kB and is

> > modified from the version distributed by the author - Ric Farmer.

> >

> > Now get the BotLoader code from the files section at the Yahoo

> > MiniSumo Mark III group. This is a Windows application for

> > downloading .hex files to the '877. It also has a terminal

window

> > for interactive communications with the chip.

> >

> > It is possible, but not supported, to communicate with PicLoader

> > using HyperTerminal. Just make sure the end-of-line delay is

set

> at

> > 100 mS, no flow control, 38.4k,8,n,1 and there is a chance it

will

> > work.

> >

> >

> > --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...> wrote:

> > > I installed a bootloader program on the 877 and program with

the

> > serial port on my computer.

> > > I don't have to remove the chip, put it in the programmer,

> program

> > it, remove it from programmer, put it on circuit board.

> > > Rinse and repeat.

> > > I tried to do ICSP but couldn't get it to work.

> > >

> > > ----- Original Message -----

> > > From: bg3009

> > > To: piclist@yahoogroups.com

> > > Sent: Sunday, November 30, 2003 8:53 AM

> > > Subject: [piclist] making USART useful

> > >

> > >

> > > I just bought a 877 chip for interfacing with my 818 viz

IIC.

> As

> > I

> > > found out, this chip has USART on board and can be

interfaced

> > with a

> > > PC terminal. What kind of things can be done with such a

> > facility?

> > >

> > > BG

> > >

> > >

> > > Yahoo! Groups Sponsor

> > > ADVERTISEMENT

> > >

> > >

> > >

> > >

> > > to unsubscribe, go to www.yahoogroups.com and follow

the

> > instructions

> > >

> > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of

> > Service.



----------------------------

#3627 Dec 1, 2003

Wow, this is beginning to look really complicated...I did look

through the website and I feel that its what I need as far as USART

is concerned. But I think I already have my hands full trying to

establish IIC link between two pics as the issues are almost fraying

my nerves.. The biggest prob is to monitor the output and what could

be the best way?



BG



--- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

>

> I use PicLoader/BotLoader almost daily on my Mark III robots and a

> couple of development boards. The terminal mode is useful for

> debugging messages from the PIC. Mostly I just use it to download

> code for testing. No point in using a PIC programmer during the

> early stages of development.

>

> I haven't needed I2C enough to work through the issues. I did have

> it working on an OOPIC and an 80C552 with an I2C LCD display.

>

>

> --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> > rt,

> >

> > Have you tried this? I am hoping to make it read data from

> > another chip using IIC and using USART to read that data the 877

> gets

> > from the slave... have u built this thing?

> >

> > BG

> > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

> > > You can get the '877 resident PicLoader at

> > > www.junun.org/MarkIII/PICLoader.jsp - just download the

> hex

> > > file unless you want to get into the assembly language

details.

> > > Program this into the chip. This version uses 38.4 kB and is

> > > modified from the version distributed by the author - Ric

Farmer.

> > >

> > > Now get the BotLoader code from the files section at the Yahoo

> > > MiniSumo Mark III group. This is a Windows application for

> > > downloading .hex files to the '877. It also has a terminal

> window

> > > for interactive communications with the chip.

> > >

> > > It is possible, but not supported, to communicate with

PicLoader

> > > using HyperTerminal. Just make sure the end-of-line delay is

> set

> > at

> > > 100 mS, no flow control, 38.4k,8,n,1 and there is a chance it

> will

> > > work.

> > >

> > >

> > > --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...> wrote:

> > > > I installed a bootloader program on the 877 and program with

> the

> > > serial port on my computer.

> > > > I don't have to remove the chip, put it in the programmer,

> > program

> > > it, remove it from programmer, put it on circuit board.

> > > > Rinse and repeat.

> > > > I tried to do ICSP but couldn't get it to work.

> > > >

> > > > ----- Original Message -----

> > > > From: bg3009

> > > > To: piclist@yahoogroups.com

> > > > Sent: Sunday, November 30, 2003 8:53 AM

> > > > Subject: [piclist] making USART useful

> > > >

> > > >

> > > > I just bought a 877 chip for interfacing with my 818 viz

> IIC.

> > As

> > > I

> > > > found out, this chip has USART on board and can be

> interfaced

> > > with a

> > > > PC terminal. What kind of things can be done with such a

> > > facility?

> > > >

> > > > BG

> > > >

> > > >

> > > > Yahoo! Groups Sponsor

> > > > ADVERTISEMENT

> > > >

> > > >

> > > >

> > > >

> > > > to unsubscribe, go to www.yahoogroups.com and follow

> the

> > > instructions

> > > >

> > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of

> > > Service.







----------------------------

#3628 Dec 1, 2003

Compared to IIC, getting the USART working is a walk in the park.

Its quite useful for simply printing out various values from your

program(s). For example, I'm using it to print the hex value of

various registers read by my mssp ISR using a terminal program on my

pc. (yes, I know it disrupts the timing of the IIC stuff but if it

aint working you've got to see what's going on.) clearly there are

more significant uses.



I viewed getting the usart working as part of getting my tools in

line before tackling the real work. Plus, there is a certain

gratification actually seeing "hello world" come out of the pic. You

know you are on the right track. small victories...

--- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> Wow, this is beginning to look really complicated...I did look

> through the website and I feel that its what I need as far as USART

> is concerned. But I think I already have my hands full trying to

> establish IIC link between two pics as the issues are almost

fraying

> my nerves.. The biggest prob is to monitor the output and what

could

> be the best way?

>

> BG

>

>

> --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

> >

> > I use PicLoader/BotLoader almost daily on my Mark III robots and

a

> > couple of development boards. The terminal mode is useful for

> > debugging messages from the PIC. Mostly I just use it to

download

> > code for testing. No point in using a PIC programmer during the

> > early stages of development.

> >

> > I haven't needed I2C enough to work through the issues. I did

have

> > it working on an OOPIC and an 80C552 with an I2C LCD display.

> >

> >

> > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> > > rt,

> > >

> > > Have you tried this? I am hoping to make it read data from

> > > another chip using IIC and using USART to read that data the

877

> > gets

> > > from the slave... have u built this thing?

> > >

> > > BG

> > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

> > > > You can get the '877 resident PicLoader at

> > > > www.junun.org/MarkIII/PICLoader.jsp - just download

the

> > hex

> > > > file unless you want to get into the assembly language

> details.

> > > > Program this into the chip. This version uses 38.4 kB and is

> > > > modified from the version distributed by the author - Ric

> Farmer.

> > > >

> > > > Now get the BotLoader code from the files section at the

Yahoo

> > > > MiniSumo Mark III group. This is a Windows application for

> > > > downloading .hex files to the '877. It also has a terminal

> > window

> > > > for interactive communications with the chip.

> > > >

> > > > It is possible, but not supported, to communicate with

> PicLoader

> > > > using HyperTerminal. Just make sure the end-of-line delay is

> > set

> > > at

> > > > 100 mS, no flow control, 38.4k,8,n,1 and there is a chance it

> > will

> > > > work.

> > > >

> > > >

> > > > --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...>

wrote:

> > > > > I installed a bootloader program on the 877 and program

with

> > the

> > > > serial port on my computer.

> > > > > I don't have to remove the chip, put it in the programmer,

> > > program

> > > > it, remove it from programmer, put it on circuit board.

> > > > > Rinse and repeat.

> > > > > I tried to do ICSP but couldn't get it to work.

> > > > >

> > > > > ----- Original Message -----

> > > > > From: bg3009

> > > > > To: piclist@yahoogroups.com

> > > > > Sent: Sunday, November 30, 2003 8:53 AM

> > > > > Subject: [piclist] making USART useful

> > > > >

> > > > >

> > > > > I just bought a 877 chip for interfacing with my 818 viz

> > IIC.

> > > As

> > > > I

> > > > > found out, this chip has USART on board and can be

> > interfaced

> > > > with a

> > > > > PC terminal. What kind of things can be done with such a

> > > > facility?

> > > > >

> > > > > BG

> > > > >

> > > > >

> > > > > Yahoo! Groups Sponsor

> > > > > ADVERTISEMENT

> > > > >

> > > > >

> > > > >

> > > > >

> > > > > to unsubscribe, go to www.yahoogroups.com and

follow

> > the

> > > > instructions

> > > > >

> > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms

of

> > > > Service.



----------------------------

#3630 Dec 2, 2003

IIC and USART are sort of worlds apart.......

Haven't used IIC on the PIC yet, but are using the USART right nowand its very simple.

Only time I've done IIC was on a Intel 80552 for a serial EEPROM link.....

And if I remember correctly the IIC hardware had about 30 interruptvectors associated with

it, for all sorts of errorhandeling and stuff

Good luck to you!  (hehe).

 bg3009 wrote: Wow, this is beginning to look really complicated...Idid look

through the website and I feel that its what I need as far as USART

is concerned. But I think I already have my hands full trying to

establish IIC link between two pics as the issues are almost fraying

my nerves.. The biggest prob is to monitor the output and whatcould

be the best way?BG

--

*******************************************

VISIT MY HOME PAGE:

home.online.no/~eikarlse/index.htm>

LAST UPDATED: 23/08/2003

*******************************************

Best Regards

Eirik Karlsen

 







----------------------------

#3635 Dec 3, 2003

well so much for small victories I haven't even been able to make

hello world come out on a LCD! But the real purpose I am thinking of

the USART is for debugging the MSSP which reads from a slave pic some

bits. So There has to be some way of seeing this bits come out of the

877. I would be glad to see some value on the PC screen at least.

Like send a read command so that the 877 reads from the slave via IIC

and then sends the data via USART to the PC so the values are

reflected on the screen... Would that be still a walk in the part?

Also, I am trying to do something different here.. (except maybe

AN734) which is to make IIC communications more hassle free using the

least amount of code



BG

--- In piclist@yahoogroups.com, "Phil" phil1960us@y...> wrote:

> Compared to IIC, getting the USART working is a walk in the park.

> Its quite useful for simply printing out various values from your

> program(s). For example, I'm using it to print the hex value of

> various registers read by my mssp ISR using a terminal program on

my

> pc. (yes, I know it disrupts the timing of the IIC stuff but if it

> aint working you've got to see what's going on.) clearly there are

> more significant uses.

>

> I viewed getting the usart working as part of getting my tools in

> line before tackling the real work. Plus, there is a certain

> gratification actually seeing "hello world" come out of the pic.

You

> know you are on the right track. small victories...

>

> --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> > Wow, this is beginning to look really complicated...I did look

> > through the website and I feel that its what I need as far as

USART

> > is concerned. But I think I already have my hands full trying to

> > establish IIC link between two pics as the issues are almost

> fraying

> > my nerves.. The biggest prob is to monitor the output and what

> could

> > be the best way?

> >

> > BG

> >

> >

> > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

> > >

> > > I use PicLoader/BotLoader almost daily on my Mark III robots

and

> a

> > > couple of development boards. The terminal mode is useful for

> > > debugging messages from the PIC. Mostly I just use it to

> download

> > > code for testing. No point in using a PIC programmer during

the

> > > early stages of development.

> > >

> > > I haven't needed I2C enough to work through the issues. I did

> have

> > > it working on an OOPIC and an 80C552 with an I2C LCD display.

> > >

> > >

> > > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> > > > rt,

> > > >

> > > > Have you tried this? I am hoping to make it read data

from

> > > > another chip using IIC and using USART to read that data the

> 877

> > > gets

> > > > from the slave... have u built this thing?

> > > >

> > > > BG

> > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...>

wrote:

> > > > > You can get the '877 resident PicLoader at

> > > > > www.junun.org/MarkIII/PICLoader.jsp - just download

> the

> > > hex

> > > > > file unless you want to get into the assembly language

> > details.

> > > > > Program this into the chip. This version uses 38.4 kB and

is

> > > > > modified from the version distributed by the author - Ric

> > Farmer.

> > > > >

> > > > > Now get the BotLoader code from the files section at the

> Yahoo

> > > > > MiniSumo Mark III group. This is a Windows application for

> > > > > downloading .hex files to the '877. It also has a terminal

> > > window

> > > > > for interactive communications with the chip.

> > > > >

> > > > > It is possible, but not supported, to communicate with

> > PicLoader

> > > > > using HyperTerminal. Just make sure the end-of-line delay

is

> > > set

> > > > at

> > > > > 100 mS, no flow control, 38.4k,8,n,1 and there is a chance

it

> > > will

> > > > > work.

> > > > >

> > > > >

> > > > > --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...>

> wrote:

> > > > > > I installed a bootloader program on the 877 and program

> with

> > > the

> > > > > serial port on my computer.

> > > > > > I don't have to remove the chip, put it in the

programmer,

> > > > program

> > > > > it, remove it from programmer, put it on circuit board.

> > > > > > Rinse and repeat.

> > > > > > I tried to do ICSP but couldn't get it to work.

> > > > > >

> > > > > > ----- Original Message -----

> > > > > > From: bg3009

> > > > > > To: piclist@yahoogroups.com

> > > > > > Sent: Sunday, November 30, 2003 8:53 AM

> > > > > > Subject: [piclist] making USART useful

> > > > > >

> > > > > >

> > > > > > I just bought a 877 chip for interfacing with my 818

viz

> > > IIC.

> > > > As

> > > > > I

> > > > > > found out, this chip has USART on board and can be

> > > interfaced

> > > > > with a

> > > > > > PC terminal. What kind of things can be done with such

a

> > > > > facility?

> > > > > >

> > > > > > BG

> > > > > >

> > > > > >

> > > > > > Yahoo! Groups Sponsor

> > > > > > ADVERTISEMENT

> > > > > >

> > > > > >

> > > > > >

> > > > > >

> > > > > > to unsubscribe, go to www.yahoogroups.com and

> follow

> > > the

> > > > > instructions

> > > > > >

> > > > > > Your use of Yahoo! Groups is subject to the Yahoo!

Terms

> of

> > > > > Service.







----------------------------

#3637 Dec 3, 2003

A constructional project called the 'ICEBreaker' is in the EPE March 2000 issue. It is about using a 877 as an emulator and debugger. The project was written by Mark Stuart. The board can be connected to a PC and can also output signals/ text to a LCD. Not sure whether you are looking for something similar to this one.

bg3009 bg3009@...> wrote:well so much for small victories I haven't even been able to make hello world come out on a LCD! But the real purpose I am thinking of the USART is for debugging the MSSP which reads from a slave pic some bits. So There has to be some way of seeing this bits come out of the 877. I would be glad to see some value on the PC screen at least. Like send a read command so that the 877 reads from the slave via IIC and then sends the data via USART to the PC so the values are reflected on the screen... Would that be still a walk in the part? Also, I am trying to do something different here.. (except maybe AN734) which is to make IIC communications more hassle free using the least amount of code

BG

--- In piclist@yahoogroups.com, "Phil" phil1960us@y...> wrote:> Compared to IIC, getting the USART working is a walk in thepark.  > Its quite useful for simply printing out various values from your > program(s).  For example, I'm using it to print the hex value of > various registers read by my mssp ISR using a terminal program on my > pc. (yes, I know it disrupts the timing of the IIC stuff but if it > aint working you've got to see what's going on.)  clearly there are > more significant uses.> > I viewed getting the usart working as part of getting my tools in > line before tackling the real work.  Plus, there is a certain > gratification actually seeing "hello world" come out of the pic.  You > know you are on the right track. small victories...> > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:> > Wow, this is beginning to look really complicated...I did look > > through the website and I feel that its what I need as far as USART

> > is concerned. But I think I already have my hands full trying to > > establish IIC link between two pics as the issues are almost > fraying > > my nerves.. The biggest prob is to monitor the output and what > could > > be the best way?> > > > BG> > > > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:> > > > > > I use PicLoader/BotLoader almost daily on my Mark III robots and > a > > > couple of development boards.  The terminal mode is useful for > > > debugging messages from the PIC.  Mostly I just use it to > download > > > code for testing.  No point in using a PIC programmer during the > > > early stages of development.> > > > > > I haven't needed I2C enough to work through the issues.  I did >have > > > it working on an OOPIC and an 80C552 with an I2C LCD display.> > > > > > > > > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:> > > > rt, > > > > > > > >     Have you tried this? I am hoping to make it read data  from > > > > another chip using IIC and using USART to read that data the > 877 > > > gets > > > > from the slave... have u built this thing?> > > > > > > > BG> > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:> > > > > You can get the '877 resident PicLoader at > > > > > www.junun.org/MarkIII/PICLoader.jsp - just download > the > > > hex > > > > >file unless you want to get into the assembly language > > details.  > > > > > Program this into the chip.  This version uses 38.4 kB and is > > > > > modified from the version distributed by the author - Ric > > Farmer.> > > > > > > > > > Now get the BotLoader code from the files section at the > Yahoo > > > > > MiniSumo Mark III group.  This is a Windows application for > > > > > downloading .hex files to the '877.  It also has a terminal > > > window > > > > > for interactive communications with the chip.> > > > > > > > > > It is possible, but not supported, to communicate with > > PicLoader > > > > > using HyperTerminal.  Just make sure the end-of-line delay is > > > set > > > > at

> > > > > 100 mS, no flow control, 38.4k,8,n,1 and there is a chance it > > > will > > > > > work.> > > > > > > > > > > > > > > --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...> > wrote:> > > > > > I installed a bootloader program on the 877 and program > with > > > the > > > > > serial port on my computer.> > > > > > I don't have to remove the chip, put it in the programmer, > > > > program > > > > > it, remove it from programmer, put it on circuit board.> > > > > > Rinse and repeat.> > > > > > I tried to do ICSP but couldn't get it to work.> > > > > > > > > > > >   ----- Original Message ----- > > > > >>   From: bg3009 > > > > > >   To: piclist@yahoogroups.com > > > > > >   Sent: Sunday, November 30, 2003 8:53 AM> > > > > >   Subject: [piclist] making USART useful> > > > > > > > > > > > > > > > > >   I just bought a 877 chip for interfacing with my 818 viz > > > IIC. > > > > As > > > > > I > > > > > >   found out, this chip has USART on board and can be > > > interfaced > > > > > with a > > > > > >   PC terminal. What kind of things can be done with such a > > > > > facility?> > > > > > > > > > > >   BG> > > > > > > > > > > > >> > > > >         Yahoo! Groups Sponsor > > > > > >               ADVERTISEMENT> > > > > >              > > > > > >        > > > > > >        > > > > > > > > > > > >   to unsubscribe, go to www.yahoogroups.com and > follow > > > the > > > > > instructions > > > > > > > > > > > >   Your use of Yahoo! Groups is subject to the Yahoo! Terms > of > > > > > Service.



to unsubscribe, go to www.yahoogroups.com and follow the instructions

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





Do you Yahoo!?

Free Pop-Up Blocker - Get it now



----------------------------

#3644 Dec 3, 2003

Is there an online version somewhere which I can access? I am worried

about USART because if something as lowlevel has IIC has so much

implementation issure (30 interrupts? I am not suprised...) I am

thinking what USART would throw at me...



BG

--- In piclist@yahoogroups.com, techy fellow techyf@y...> wrote:

> A constructional project called the 'ICEBreaker' is in the EPE

March 2000 issue. It is about using a 877 as an emulator and

debugger. The project was written by Mark Stuart. The board can be

connected to a PC and can also output signals/ text to a LCD. Not

sure whether you are looking for something similar to this one.

>

> bg3009 bg3009@y...> wrote:well so much for small victories I

haven't even been able to make

> hello world come out on a LCD! But the real purpose I am thinking

of

> the USART is for debugging the MSSP which reads from a slave pic

some

> bits. So There has to be some way of seeing this bits come out of

the

> 877. I would be glad to see some value on the PC screen at least.

> Like send a read command so that the 877 reads from the slave via

IIC

> and then sends the data via USART to the PC so the values are

> reflected on the screen... Would that be still a walk in the part?

> Also, I am trying to do something different here.. (except maybe

> AN734) which is to make IIC communications more hassle free using

the

> least amount of code

>

> BG

>

> --- In piclist@yahoogroups.com, "Phil" phil1960us@y...> wrote:

> > Compared to IIC, getting the USART working is a walk in the

park.

> > Its quite useful for simply printing out various values from your

> > program(s). For example, I'm using it to print the hex value of

> > various registers read by my mssp ISR using a terminal program on

> my

> > pc. (yes, I know it disrupts the timing of the IIC stuff but if

it

> > aint working you've got to see what's going on.) clearly there

are

> > more significant uses.

> >

> > I viewed getting the usart working as part of getting my tools in

> > line before tackling the real work. Plus, there is a certain

> > gratification actually seeing "hello world" come out of the pic.

> You

> > know you are on the right track. small victories...

> >

> > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> > > Wow, this is beginning to look really complicated...I did look

> > > through the website and I feel that its what I need as far as

> USART

> > > is concerned. But I think I already have my hands full trying

to

> > > establish IIC link between two pics as the issues are almost

> > fraying

> > > my nerves.. The biggest prob is to monitor the output and what

> > could

> > > be the best way?

> > >

> > > BG

> > >

> > >

> > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:

> > > >

> > > > I use PicLoader/BotLoader almost daily on my Mark III robots

> and

> > a

> > > > couple of development boards. The terminal mode is useful

for

> > > > debugging messages from the PIC. Mostly I just use it to

> > download

> > > > code for testing. No point in using a PIC programmer during

> the

> > > > early stages of development.

> > > >

> > > > I haven't needed I2C enough to work through the issues. I

did

> > have

> > > > it working on an OOPIC and an 80C552 with an I2C LCD display.

> > > >

> > > >

> > > > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> > > > > rt,

> > > > >

> > > > > Have you tried this? I am hoping to make it read data

> from

> > > > > another chip using IIC and using USART to read that data

the

> > 877

> > > > gets

> > > > > from the slave... have u built this thing?

> > > > >

> > > > > BG

> > > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...>

> wrote:

> > > > > > You can get the '877 resident PicLoader at

> > > > > > www.junun.org/MarkIII/PICLoader.jsp - just

download

> > the

> > > > hex

> > > > > > file unless you want to get into the assembly language

> > > details.

> > > > > > Program this into the chip. This version uses 38.4 kB

and

> is

> > > > > > modified from the version distributed by the author - Ric

> > > Farmer.

> > > > > >

> > > > > > Now get the BotLoader code from the files section at the

> > Yahoo

> > > > > > MiniSumo Mark III group. This is a Windows application

for

> > > > > > downloading .hex files to the '877. It also has a

terminal

> > > > window

> > > > > > for interactive communications with the chip.

> > > > > >

> > > > > > It is possible, but not supported, to communicate with

> > > PicLoader

> > > > > > using HyperTerminal. Just make sure the end-of-line

delay

> is

> > > > set

> > > > > at

> > > > > > 100 mS, no flow control, 38.4k,8,n,1 and there is a

chance

> it

> > > > will

> > > > > > work.

> > > > > >

> > > > > >

> > > > > > --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...>

> > wrote:

> > > > > > > I installed a bootloader program on the 877 and program

> > with

> > > > the

> > > > > > serial port on my computer.

> > > > > > > I don't have to remove the chip, put it in the

> programmer,

> > > > > program

> > > > > > it, remove it from programmer, put it on circuit board.

> > > > > > > Rinse and repeat.

> > > > > > > I tried to do ICSP but couldn't get it to work.

> > > > > > >

> > > > > > > ----- Original Message -----

> > > > > > > From: bg3009

> > > > > > > To: piclist@yahoogroups.com

> > > > > > > Sent: Sunday, November 30, 2003 8:53 AM

> > > > > > > Subject: [piclist] making USART useful

> > > > > > >

> > > > > > >

> > > > > > > I just bought a 877 chip for interfacing with my 818

> viz

> > > > IIC.

> > > > > As

> > > > > > I

> > > > > > > found out, this chip has USART on board and can be

> > > > interfaced

> > > > > > with a

> > > > > > > PC terminal. What kind of things can be done with

such

> a

> > > > > > facility?

> > > > > > >

> > > > > > > BG

> > > > > > >

> > > > > > >

> > > > > > > Yahoo! Groups Sponsor

> > > > > > > ADVERTISEMENT

> > > > > > >

> > > > > > >

> > > > > > >

> > > > > > >

> > > > > > > to unsubscribe, go to www.yahoogroups.com and

> > follow

> > > > the

> > > > > > instructions

> > > > > > >

> > > > > > > Your use of Yahoo! Groups is subject to the Yahoo!

> Terms

> > of

> > > > > > Service.

>

>

> Yahoo! Groups Sponsor

> to unsubscribe, go to www.yahoogroups.com and follow the

instructions

>

> Your use of Yahoo! Groups is subject to the Yahoo! Terms of

Service.

>

>

>

---------------

> Do you Yahoo!?

> Free Pop-Up Blocker - Get it now







----------------------------

#3652 Dec 4, 2003

Nop ! There isn't any online version. You will have to purchase the magazine from EPE website. It only cost GBP 3.00 for the magazine. Consider cheap cos it is a past issue. They charge GBP 2.00 for delivery though.

bg3009 bg3009@...> wrote:Is there an online version somewhere which I can access? I am worried about USART because if something as lowlevel has IIC has so much implementation issure (30 interrupts? I am not suprised...) I am thinking what USART would throw at me...

BG

--- In piclist@yahoogroups.com, techy fellow techyf@y...> wrote:> A constructional project called the 'ICEBreaker' is in the EPE March 2000 issue. It is about using a 877 as an emulator and debugger. The project was written by Mark Stuart. The board can be connected to a PC and can also output signals/ text to a LCD. Not sure whether you are looking for something similar to this one.> > bg3009 bg3009@y...> wrote:well so much for small victories I haven't even been able to make > hello world come out on a LCD! But the real purpose I am thinking of

> the USART is for debugging the MSSP which reads from a slave pic some > bits. So There has to be some way of seeing this bits come out of the > 877. I would be glad to see some value on the PC screen at least. > Like send a read command so that the 877 reads from the slave via IIC > and then sends the data via USART to the PC so the values are > reflected on the screen... Would that be still a walk in the part? > Also, I am trying to do something different here.. (except maybe > AN734) which is to make IIC communications more hassle free using the > least amount of code> > BG> > --- In piclist@yahoogroups.com, "Phil" phil1960us@y...> wrote:> > Compared to IIC, getting the USART working is a walk in the park.  > > Its quite useful for simply printing out various values from your > > program(s).  For example, I'm using it toprint the hex value of > > various registers read by my mssp ISR using a terminal program on > my > > pc. (yes, I know it disrupts the timing of the IIC stuff but if it > > aint working you've got to see what's going on.)  clearly there are > > more significant uses.> > > > I viewed getting the usart working as part of getting my tools in > > line before tackling the real work.  Plus, there is a certain > > gratification actually seeing "hello world" come out of the pic.  > You > > know you are on the right track. small victories...> > > > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:> > > Wow, this is beginning to look really complicated...I did look > > > through the website and I feel that its what I need as far as > USART > > > is concerned. But I think I already havemy hands full trying to > > > establish IIC link between two pics as the issues are almost > > fraying > > > my nerves.. The biggest prob is to monitor the output and what > > could > > > be the best way?> > > > > > BG> > > > > > > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> wrote:> > > > > > > > I use PicLoader/BotLoader almost daily on my Mark III robots > and > > a > > > > couple of development boards.  The terminal mode is useful for > > > > debugging messages from the PIC.  Mostly I just use it to > > download > > > > code for testing.  No point in using a PIC programmer during > the > > > > early stages of development.> > > > > > > > I haven't neededI2C enough to work through the issues.  I did > > have > > > > it working on an OOPIC and an 80C552 with an I2C LCD display.> > > > > > > > > > > > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:> > > > > rt, > > > > > > > > > >     Have you tried this? I am hoping to make it read data  > from > > > > > another chip using IIC and using USART to read that data the > > 877 > > > > gets > > > > > from the slave... have u built this thing?> > > > > > > > > > BG> > > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...> > wrote:> > > > > > You can get the '877 resident PicLoader at > > > > > > www.junun.org/MarkIII/PICLoader.jsp - just download > > the > > > > hex > > > > > > file unless you want to get into the assembly language > > > details.  > > > > > > Program this into the chip.  This version uses 38.4 kB and > is > > > > > > modified from the version distributed by the author - Ric > > > Farmer.> > > > > > > > > > > > Now get the BotLoader code from the files section at the > > Yahoo > > > > > > MiniSumo Mark III group.  This is a Windows application for > > > > > > downloading .hex files to the '877.  It also has a terminal > > > > window > > > > > > for interactive communications with the chip.> > >> > > > > > > > > It is possible, but not supported, to communicate with > > > PicLoader > > > > > > using HyperTerminal.  Just make sure the end-of-line delay > is > > > > set > > > > > at > > > > > > 100 mS, no flow control, 38.4k,8,n,1 and there is a chance > it > > > > will > > > > > > work.> > > > > > > > > > > > > > > > > > --- In piclist@yahoogroups.com, "Bob Hedges" bhmtr@m...> > > wrote:> > > > > > > I installed a bootloader program on the 877 and program > > with > > > > the > > > > > > serial port on my computer.> > > > > > > I don't have to remove the chip, put it in the > programmer, > >> > > program > > > > > > it, remove it from programmer, put it on circuit board.> > > > > > > Rinse and repeat.> > > > > > > I tried to do ICSP but couldn't get it to work.> > > > > > > > > > > > > >   ----- Original Message ----- > > > > > > >   From: bg3009 > > > > > > >   To: piclist@yahoogroups.com > > > > > > >   Sent: Sunday, November 30, 2003 8:53 AM> > > > > > >   Subject: [piclist] making USART useful> > > > > > > > > > > > > > > > > > > > >   I just bought a 877 chip for interfacing with my 818 > viz > > > > IIC. > > > > > As > > > > > > I >> > > > > >   found out, this chip has USART on board and can be > > > > interfaced > > > > > > with a > > > > > > >   PC terminal. What kind of things can be done with such > a > > > > > > facility?> > > > > > > > > > > > > >   BG> > > > > > > > > > > > > > > > > > > > >         Yahoo! Groups Sponsor > > > > > > >               ADVERTISEMENT> > > > > > >              > > > > > > >        > > > > > >>        > > > > > > > > > > > > > >   to unsubscribe, go to www.yahoogroups.com and > > follow > > > > the > > > > > > instructions > > > > > > > > > > > > > >   Your use of Yahoo! Groups is subject to the Yahoo! > Terms > > of > > > > > > Service.> > > Yahoo! Groups Sponsor> to unsubscribe, go to www.yahoogroups.com and follow the instructions > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > ---------------> Do you Yahoo!?> Free Pop-Up Blocker - Get it now

Yahoo! Groups Sponsor

to unsubscribe, go to www.yahoogroups.com and follow the instructions

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





Do you Yahoo!?

Free Pop-Up Blocker - Get it now







----------------------------

#3653 Dec 5, 2003

great because i am calling from near down under in Singapore..

BG

--- In piclist@yahoogroups.com, techy fellow techyf@y...> wrote:

> Nop ! There isn't any online version. You will have to purchase the

magazine from EPE website. It only cost GBP 3.00 for the magazine.

Consider cheap cos it is a past issue. They charge GBP 2.00 for

delivery though.

>

> bg3009 bg3009@y...> wrote:Is there an online version somewhere

which I can access? I am worried

> about USART because if something as lowlevel has IIC has so much

> implementation issure (30 interrupts? I am not suprised...) I am

> thinking what USART would throw at me...

>

> BG

>

> --- In piclist@yahoogroups.com, techy fellow techyf@y...> wrote:

> > A constructional project called the 'ICEBreaker' is in the EPE

> March 2000 issue. It is about using a 877 as an emulator and

> debugger. The project was written by Mark Stuart. The board can be

> connected to a PC and can also output signals/ text to a LCD. Not

> sure whether you are looking for something similar to this one.

> >

> > bg3009 bg3009@y...> wrote:well so much for small victories I

> haven't even been able to make

> > hello world come out on a LCD! But the real purpose I am thinking

> of

> > the USART is for debugging the MSSP which reads from a slave pic

> some

> > bits. So There has to be some way of seeing this bits come out of

> the

> > 877. I would be glad to see some value on the PC screen at least.

> > Like send a read command so that the 877 reads from the slave via

> IIC

> > and then sends the data via USART to the PC so the values are

> > reflected on the screen... Would that be still a walk in the

part?

> > Also, I am trying to do something different here.. (except maybe

> > AN734) which is to make IIC communications more hassle free using

> the

> > least amount of code

> >

> > BG

> >

> > --- In piclist@yahoogroups.com, "Phil" phil1960us@y...> wrote:

> > > Compared to IIC, getting the USART working is a walk in the

> park.

> > > Its quite useful for simply printing out various values from

your

> > > program(s). For example, I'm using it to print the hex value

of

> > > various registers read by my mssp ISR using a terminal program

on

> > my

> > > pc. (yes, I know it disrupts the timing of the IIC stuff but if

> it

> > > aint working you've got to see what's going on.) clearly there

> are

> > > more significant uses.

> > >

> > > I viewed getting the usart working as part of getting my tools

in

> > > line before tackling the real work. Plus, there is a certain

> > > gratification actually seeing "hello world" come out of the

pic.

> > You

> > > know you are on the right track. small victories...

> > >

> > > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...> wrote:

> > > > Wow, this is beginning to look really complicated...I did

look

> > > > through the website and I feel that its what I need as far as

> > USART

> > > > is concerned. But I think I already have my hands full trying

> to

> > > > establish IIC link between two pics as the issues are almost

> > > fraying

> > > > my nerves.. The biggest prob is to monitor the output and

what

> > > could

> > > > be the best way?

> > > >

> > > > BG

> > > >

> > > >

> > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...>

wrote:

> > > > >

> > > > > I use PicLoader/BotLoader almost daily on my Mark III

robots

> > and

> > > a

> > > > > couple of development boards. The terminal mode is useful

> for

> > > > > debugging messages from the PIC. Mostly I just use it to

> > > download

> > > > > code for testing. No point in using a PIC programmer

during

> > the

> > > > > early stages of development.

> > > > >

> > > > > I haven't needed I2C enough to work through the issues. I

> did

> > > have

> > > > > it working on an OOPIC and an 80C552 with an I2C LCD

display.

> > > > >

> > > > >

> > > > > --- In piclist@yahoogroups.com, "bg3009" bg3009@y...>

wrote:

> > > > > > rt,

> > > > > >

> > > > > > Have you tried this? I am hoping to make it read

data

> > from

> > > > > > another chip using IIC and using USART to read that data

> the

> > > 877

> > > > > gets

> > > > > > from the slave... have u built this thing?

> > > > > >

> > > > > > BG

> > > > > > --- In piclist@yahoogroups.com, "rtstofer" rstofer@p...>

> > wrote:

> > > > > > > You can get the '877 resident PicLoader at

> > > > > > > www.junun.org/MarkIII/PICLoader.jsp - just

> download

> > > the

> > > > > hex

> > > > > > > file unless you want to get into the assembly language

> > > > details.

> > > > > > > Program this into the chip. This version uses 38.4 kB

> and

> > is

> > > > > > > modified from the version distributed by the author -

Ric

> > > > Farmer.

> > > > > > >

> > > > > > > Now get the BotLoader code from the files section at

the

> > > Yahoo

> > > > > > > MiniSumo Mark III group. This is a Windows application

> for

> > > > > > > downloading .hex files to the '877. It also has a

> terminal

> > > > > window

> > > > > > > for interactive communications with the chip.

> > > > > > >

> > > > > > > It is possible, but not supported, to communicate with

> > > > PicLoader

> > > > > > > using HyperTerminal. Just make sure the end-of-line

> delay

> > is

> > > > > set

> > > > > > at

> > > > > > > 100 mS, no flow control, 38.4k,8,n,1 and there is a

> chance

> > it

> > > > > will

> > > > > > > work.

> > > > > > >

> > > > > > >

> > > > > > > --- In piclist@yahoogroups.com, "Bob Hedges"

bhmtr@m...>

> > > wrote:

> > > > > > > > I installed a bootloader program on the 877 and

program

> > > with

> > > > > the

> > > > > > > serial port on my computer.

> > > > > > > > I don't have to remove the chip, put it in the

> > programmer,

> > > > > > program

> > > > > > > it, remove it from programmer, put it on circuit board.

> > > > > > > > Rinse and repeat.

> > > > > > > > I tried to do ICSP but couldn't get it to work.

> > > > > > > >

> > > > > > > > ----- Original Message -----

> > > > > > > > From: bg3009

> > > > > > > > To: piclist@yahoogroups.com

> > > > > > > > Sent: Sunday, November 30, 2003 8:53 AM

> > > > > > > > Subject: [piclist] making USART useful

> > > > > > > >

> > > > > > > >

> > > > > > > > I just bought a 877 chip for interfacing with my

818

> > viz

> > > > > IIC.

> > > > > > As

> > > > > > > I

> > > > > > > > found out, this chip has USART on board and can be

> > > > > interfaced

> > > > > > > with a

> > > > > > > > PC terminal. What kind of things can be done with

> such

> > a

> > > > > > > facility?

> > > > > > > >

> > > > > > > > BG

> > > > > > > >

> > > > > > > >

> > > > > > > > Yahoo! Groups Sponsor

> > > > > > > > ADVERTISEMENT

> > > > > > > >

> > > > > > > >

> > > > > > > >

> > > > > > > >

> > > > > > > > to unsubscribe, go to www.yahoogroups.com

and

> > > follow

> > > > > the

> > > > > > > instructions

> > > > > > > >

> > > > > > > > Your use of Yahoo! Groups is subject to the Yahoo!

> > Terms

> > > of

> > > > > > > Service.

> >

> >

> > Yahoo! Groups Sponsor

> > to unsubscribe, go to www.yahoogroups.com and follow the

> instructions

> >

> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of

> Service.

> >

> >

> >

---------------

> > Do you Yahoo!?

> > Free Pop-Up Blocker - Get it now

>

>

> Yahoo! Groups Sponsor

> to unsubscribe, go to www.yahoogroups.com and follow the

instructions

>

> Your use of Yahoo! Groups is subject to the Yahoo! Terms of

Service.

>

>

>

---------------

> Do you Yahoo!?

> Free Pop-Up Blocker - Get it now







----------------------------

#3654 Dec 5, 2003

----- Original Message -----

From: bg3009 bg3009@...>

To: piclist@yahoogroups.com>

Sent: Thursday, December 04, 2003 1:19 AM

Subject: [piclist] Re: making USART useful





> Is there an online version somewhere which I can access? I am worried

> about USART because if something as lowlevel has IIC has so much

> implementation issure (30 interrupts? I am not suprised...) I am

> thinking what USART would throw at me...

>

> BG



I2C (IIC as you call it) is much more complicated than RS232 which is a

simple serial protocol.



Handling the USART is very simple and straight forward. The first thing you

really must do is get two PCs talking to each other using some sort of

simple terminal program. Don't bother trying to use hyperterm. Once you have

the two PCs talking try getting your PIC to just send characters to one of

them using "polled" I/O (not interrupts). Before launching off and writing

your own code see if you can find someone elses RS232 / PIC test code.

Something that is precompiled and just needs to be downloaded into your PIC.

This will excercise your hardware and prove that it is all connected and

working correctly. Then try your own send code. Once you have this working,

try and receive using the PIC (receive a character and send it back) again

using polled I/O.



Once you've done this, experiment with interrupts. Then concentrate on error

handling. Then flow control. Often your error handling will be trivial and

your flow control non-existant. It really is simple.



Regards

Sergio Masci



www.xcprod.com/titan/XCSB - optimising structured PIC BASIC compiler





.



----------------------------

#3656 Dec 5, 2003

My my, this is really sounding like a walk in the part...today i met

one of the local dealers for PICs..and the representative told me

that he'd done IIC before..and it was simple.. and I was really

aghast.. Reading the related papers, IIC seems simple, if two chips

are throwing bits to each other.. but once u talk about real duplex

communication.. I rather prefer a few more wires to a few more pages

of code... So, if PC to PIC, what kind of software can i use on the

PC itself if not hyperterm?

BG --- In piclist@yahoogroups.com, "sergio masci" smypl@x> wrote:

>

> ----- Original Message -----

> From: bg3009 bg3009@y...>

> To: piclist@yahoogroups.com>

> Sent: Thursday, December 04, 2003 1:19 AM

> Subject: [piclist] Re: making USART useful

>

>

> > Is there an online version somewhere which I can access? I am

worried

> > about USART because if something as lowlevel has IIC has so much

> > implementation issure (30 interrupts? I am not suprised...) I am

> > thinking what USART would throw at me...

> >

> > BG

>

> I2C (IIC as you call it) is much more complicated than RS232 which

is a

> simple serial protocol.

>

> Handling the USART is very simple and straight forward. The first

thing you

> really must do is get two PCs talking to each other using some sort

of

> simple terminal program. Don't bother trying to use hyperterm. Once

you have

> the two PCs talking try getting your PIC to just send characters to

one of

> them using "polled" I/O (not interrupts). Before launching off and

writing

> your own code see if you can find someone elses RS232 / PIC test

code.

> Something that is precompiled and just needs to be downloaded into

your PIC.

> This will excercise your hardware and prove that it is all

connected and

> working correctly. Then try your own send code. Once you have this

working,

> try and receive using the PIC (receive a character and send it

back) again

> using polled I/O.

>

> Once you've done this, experiment with interrupts. Then concentrate

on error

> handling. Then flow control. Often your error handling will be

trivial and

> your flow control non-existant. It really is simple.

>

> Regards

> Sergio Masci

>

> www.xcprod.com/titan/XCSB - optimising structured PIC BASIC

compiler

>

>

> .



----------------------------

#3664 Dec 5, 2003

Any software that will talk to the serial port.



--- bg3009 bg3009@...> wrote: > My my, this is really sounding like a walk in the part...today i met

> one of the local dealers for PICs..and the representative told me

> that he'd done IIC before..and it was simple.. and I was really

> aghast.. Reading the related papers, IIC seems simple, if two chips

> are throwing bits to each other.. but once u talk about real duplex

> communication.. I rather prefer a few more wires to a few more pages

> of code... So, if PC to PIC, what kind of software can i use on the

> PC itself if not hyperterm?

> BG

> --- In piclist@yahoogroups.com, "sergio masci" smypl@x> wrote:

> >

> > ----- Original Message -----

> > From: bg3009 bg3009@y...>

> > To: piclist@yahoogroups.com>

> > Sent: Thursday, December 04, 2003 1:19 AM

> > Subject: [piclist] Re: making USART useful

> >

> >

> > > Is there an online version somewhere which I can access? I am

> worried

> > > about USART because if something as lowlevel has IIC has so much

> > > implementation issure (30 interrupts? I am not suprised...) I am

> > > thinking what USART would throw at me...

> > >

> > > BG

> >

> > I2C (IIC as you call it) is much more complicated than RS232 which

> is a

> > simple serial protocol.

> >

> > Handling the USART is very simple and straight forward. The first

> thing you

> > really must do is get two PCs talking to each other using some sort

>

> of

> > simple terminal program. Don't bother trying to use hyperterm. Once

>

> you have

> > the two PCs talking try getting your PIC to just send characters to

>

> one of

> > them using "polled" I/O (not interrupts). Before launching off and

> writing

> > your own code see if you can find someone elses RS232 / PIC test

> code.

> > Something that is precompiled and just needs to be downloaded into

> your PIC.

> > This will excercise your hardware and prove that it is all

> connected and

> > working correctly. Then try your own send code. Once you have this

> working,

> > try and receive using the PIC (receive a character and send it

> back) again

> > using polled I/O.

> >

> > Once you've done this, experiment with interrupts. Then concentrate

>

> on error

> > handling. Then flow control. Often your error handling will be

> trivial and

> > your flow control non-existant. It really is simple.

> >

> > Regards

> > Sergio Masci

> >

> > www.xcprod.com/titan/XCSB - optimising structured PIC BASIC

> compiler

> >

> >

> > .

>

>





---------------

Do you Yahoo!?

Free Pop-Up Blocker - Get it now

companion.yahoo.com/







----------------------------

#3666 Dec 5, 2003

bg3009 wrote:



> My my, this is really sounding like a walk in the part...today i met

> one of the local dealers for PICs..and the representative told me

> that he'd done IIC before..and it was simple.. and I was really

> aghast.. Reading the related papers, IIC seems simple, if two chips

> are throwing bits to each other.. but once u talk about real duplex

> communication.. I rather prefer a few more wires to a few more pages

> of code... So, if PC to PIC, what kind of software can i use on the

> PC itself if not hyperterm?

> BG





Hi BG,



I normally use minicom on a Linux machine. I recently needed to get an old

notebook talking to a PIC so I resurrected an old copy of telix (for dos).

Works great. Teraterm is a great windows telnet client which I use often. It

also has serial capabilities although I've never used these so cannot give a

personal recommendation. But I can tell you that if you are not comfortable

solving RS232 problems hyperterm will make your life a misery.



Regards

Sergio Masci



www.xcprod.com/titan/XCSB - optimising structured PIC BASIC







.



----------------------------

#3670 Dec 5, 2003

teraterm works quite well for serial and doesn't have the stupid bugs

that hyperterm has...



Phil

--- In piclist@yahoogroups.com, "sergio masci" smypl@x> wrote:

> bg3009 wrote:

>

>

> > My my, this is really sounding like a walk in the part...today i

met

> > one of the local dealers for PICs..and the representative told me

> > that he'd done IIC before..and it was simple.. and I was really

> > aghast.. Reading the related papers, IIC seems simple, if two

chips

> > are throwing bits to each other.. but once u talk about real

duplex

> > communication.. I rather prefer a few more wires to a few more

pages

> > of code... So, if PC to PIC, what kind of software can i use on

the

> > PC itself if not hyperterm?

> > BG

>

>

> Hi BG,

>

> I normally use minicom on a Linux machine. I recently needed to get

an old

> notebook talking to a PIC so I resurrected an old copy of telix

(for dos).

> Works great. Teraterm is a great windows telnet client which I use

often. It

> also has serial capabilities although I've never used these so

cannot give a

> personal recommendation. But I can tell you that if you are not

comfortable

> solving RS232 problems hyperterm will make your life a misery.

>

> Regards

> Sergio Masci

>

> www.xcprod.com/titan/XCSB - optimising structured PIC BASIC

>

>

>

> .


S
e
n
i
o
r
T
u
b
e
.
o
r
g