Searching \ for 'files' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=files
Search entire site for: 'files'.

No exact or substring matches. trying for part
PICList Thread
'Circuit Cellar files "available" via WWW'
1995\02\25@184954 by Lou Sortman

flavicon
face
Greetings:

As some of you know, Some of the files referenced in the
pages of Curcuit Cellar Ink are made available on their
BBS; and can be obtained via internet email if you send
a message requesting them to their FTPMail server.

I have written a World Wide Web interface to that server.
You should be able to get to it at the following URL.
http://tfnet.ils.unc.edu/cgi-bin/CCBBS/

I have asked for and received permission to provide
this service.  Of course, Curcuit Cellar Ink does not
assume responsibility for it since I don't work for them.

Let me know if you like it.  8-)

'Found problem with WWW interface to CCI files'
1995\02\28@112128 by Lou Sortman

flavicon
face
Someone wrote me and indicated a problem with my WWW interface to the
Circuit Cellar Ink FTPmail server.

It appears that in Mosaic (at least the X version), the submit button was
rendered as a field rather than a button, so there was no way to submit
the form with your email address.  I have fixed that problem.

I am mentioning this here in case anyone tried it and gave up because it
didn't work.  If that is the case, you probably threw the URL away.  It is:
http://tfnet.ils.unc.edu/cgi-bin/CCBBS

Oh, by the way; Once you have entered your email address and gotten the
list of file areas, save that document as a bookmark.  It contains your
email address so you won't have to "log in" again.  The same is true of any of
the file area listings.


'Device-specifics in HEX files?'
1995\11\09@142549 by Rick Miller
flavicon
face
-----BEGIN PGP SIGNED MESSAGE-----

Is there a "standard" way to embed PIC16C84-specific info
(fuses, ID, data-EEPROM) into a "HEX" (or any other) file?

I think Parallax's docs refer to "IHEX8M"...
Where do I get details on this file format?

Rick Miller, Design Engineer  (and local "Internet Guy")
Digalog Systems, Inc.         <spam_OUTrickTakeThisOuTspamdigalogsys.com>
3180 S. 166th St.             <.....Rick.MillerKILLspamspam@spam@Linux.org>
New Berlin, WI  53151  USA    +1 414 797 8000 x-228


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMKJVHmJrU1sdj28/AQHqWgP6AmmepF4rO48WCcUkHu/gtreKCAP+vaCv
v7EsHtL6duRY6wU9jzb3/NIyQ5tHSzdHPyVZgvK//ntHx+lUTxq6SJm3ZsQM6C08
kV72BFqhM0mpLY6OJuevzisPRFK/d4w8xHY+LB8z8XH9JJW+n9NqrG1qoA9U28bO
vb3RUXmURqs=
=Ld1z
-----END PGP SIGNATURE-----

1995\11\09@153212 by Scott Stephens

picon face
>-----BEGIN PGP SIGNED MESSAGE-----
>
>Is there a "standard" way to embed PIC16C84-specific info
>(fuses, ID, data-EEPROM) into a "HEX" (or any other) file?

I use MPASM assembly directive, such as "__CONFIG       _CP_OFF & _PWRTE_ON &
_WDT_OFF & _XT_OSC"

>I think Parallax's docs refer to "IHEX8M"...
>Where do I get details on this file format?

The MPASM User's Guide has it in Appendix A. Probably available from Web site.

1995\11\09@162932 by Conny Andersson

flavicon
face
At 13.23 1995-11-09 -0600, Rick Miller wrote:

>Is there a "standard" way to embed PIC16C84-specific info
>(fuses, ID, data-EEPROM) into a "HEX" (or any other) file?

It's up to the programmer! ;)

I don't know if there is a standard where to put such info in the hex-file.
You can put whatever you like at whatever position you like but don't expect
the programmer will understand it. The best way to find out is to check the
docs for your programmer.

I know that the DATA I/O programmer likes the configuration bits for 16C54A
at address 204h and the "customer" bits at 205h-208h (is it four bytes? I
don't remember). The configuration bits are of course NOT in the same format
as the usual Microchip defines (_CP_OFF, _WDT_ON etc).

Data-EEPROM should reside at 2100h (64 bytes) but I don't think the
PIC-Start will handle these locations.


-- Conny

1995\11\10@033317 by Newfound Electronics

flavicon
face
Rick Miller wrote:

>Is there a "standard" way to embed PIC16C84-specific info
>(fuses, ID, data-EEPROM) into a "HEX" (or any other) file?
>
>I think Parallax's docs refer to "IHEX8M"...
>Where do I get details on this file format?

signature cut..................

Rick, here is the gospel on this matter.  (sorry for the long response folks
but this is detailed and of interest to (a few?) others.)

There is a microchip standard  defined to embeded fuse, ID data EEPROM. The
details are in the programming specs section of the last two data books. I
admit is a bit terse but all the details are there if you can dig them out.

First,  see the 16C5x programming specs for the general format of the INHX8M
format.  then look at the 16C84 specs for other details.

Regarding defining the fuse ID and data eeprom in you source code, yes this
can be done with the later assemblers BUT, understand the instructions and
syntax are partly defined in a "header file" and not native to the
assembler. So if someone shows you how he has done it, make sure you get his
header file! I have seen at least 3 different syntax forms and I'm sure
there are others. There are standard headers from microchip and perhaps it
best the stick with them.

Now parallax. The parallax assamblers DO NOT ALWAYS produce a standard
microchip INHX8M file format. If you use the fuse and ID instructions native
to PASM and PASMX the resulting hex file IS NOT compatable with picstart or
many other programmers. Oops, Almost forgot, don't use the embedded device
statement either. Sorry, I don't know how you define the device for assembly
purposes with out it being embedded.  - Someone? anyone?....

Maybe you don't as the 16C5x and 16Cxx use different assemblers

However, if you do not use these instructions then the parallax hex format
is compatible with the standard. The parallax data EEPROM is ok to use as it
is compatible. The TRUELY FANTASIC ADVANTAGE of the parallax format is that
you can also define the DEVICE! in the hex file. Now that has to worth a
beer or two!

If there is interest, I shall release as a general utility the "DEMO"
version of my programmer software. This allows exchange from microchip to
parallax hex formats and vise-versa. You can easily  edit everything along
the way. It also handles the data eeprom  as being "ON" "OFF" or "ONLY"  (no
program fuse or ID) If you want to see how it all goes together this is what
you want.

Hope this provides the info you were looking for.  Now I will kill the first
person who asks about checksums!  :-)

Finally, regarding your other message re "cheap programmer doesn't work" How
cheap is something that doesn't work or requires hours to fix??

Every man and his dog is producing programmer designs these days. (mostly
with someone elses work.)

I wish someone independant of all other interests (unlike myself) would do a
review of programmer types, hidden problems, advantages  and their REAL
value for money.  The thread of a logic analyzer will have most of these
programmers hiding under the bed! Well enough of my self serving
rantings...........


Regards,

Jim Robertson


-----------------------------------------------------------------
NEWFOUND ELECTRONICS,  Makers of low cost,
mega featured PIC programming tools.
newfoundspamKILLspamne.com.au
------------------------------------------------------------------


'Cannot read Microchip PDF files!'
1996\05\28@025026 by Onat Ahmet
flavicon
face
Hi!

I'm new to this group, and have just purchased a PIC16C84.
I live in Japan, so all the data sheets that came with it
are in Japanese. Not really convenient. OK, download the
datasheets from Microchip www site. Unfortunatley, when
I do so, my acrobat reader (for Windoze) says they have been
damaged, are being fixed, and then says that they are password
protected...

I download the files using Netscape V2.0, on UNIX. In Microchip
www site, it says that you should set up Netscape to successfully
download the .pdf files, but my version of Netscape does not
seem to have the necessary setup options...

Can anybody help?

Thanks in advance...

PS: I am new to the PIC series, but not to microprocessors, computers
etc.

PPS: An ftp site that has the Microchip www site documents would be
just fine.


| Ahmet ONAT  Kyoto Univ. Japan                                 |
| E-mail    : .....onatKILLspamspam.....kuee.kyoto-u.ac.jp                           |
| WWW page  : http://turbine.kuee.kyoto-u.ac.jp/staff/onat.html |
|             My 6 leg walker, RC airplanes & more in home page |

1996\05\28@062335 by fastfwd

face
flavicon
face
Onat Ahmet <EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU> wrote:

> OK, download the datasheets from Microchip www site. Unfortunatley,
> when I do so, my acrobat reader (for Windoze) says they have been
> damaged, are being fixed, and then says that they are password
> protected...

Onat:

This is usually an indication that you've downloaded the file in
7-bit (ASCII) mode, rather than 8-bit (Binary) mode.

-Andy

Andrew Warren - fastfwdspamspam_OUTix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geocities.com/SiliconValley/2499


'Sending files'
1996\06\04@213339 by engmessi
flavicon
face
My e-mail software (Eudora) prompts me before receiving the file, so there
is no major problem for me. But I understand some of us seem to be unable to
refuse it, and/or use slow modems, so I also believe the best idea would be
to use an ftp site somewhere.

But I think we should consider his intentions. This is not a spam or
anything like that...

Some are even talking about not being polite... Well, for me this is basic.
I learned to be polite much before learning microprocessors or to access
Internet...

I would like to say that this list is normally very friendly, and we should
keep it this way.



Pedro Drummond
Sao Paulo, Brazil
__________________________________________________________________

   .-.
  /   \           .-.                                 .-.
 /     \         /   \       .-.     _     .-.       /   \
-/-------\-------/-----\-----/---\---/-\---/---\-----/-----
         \     /       \   /     `-'   `-'     \   /
          \   /         `-'                     `-'
Pedro Drummond
Engenharia Mestra de Sistemas / SP / Brasil
Tel: 55-11-883.4799  Fax: 55-11-883.4926
http://www.geocities.com/SiliconValley/4364
e-mail: @spam@mestraKILLspamspamu-netsys.com.br
_________________________________________________________________

1996\06\04@234314 by engmessi

flavicon
face
>I use eudora too, the win95 32-bit version 1.5.4
>I checked the options menu and looked for this feature
>but I can't find it.  How do you turn it on so it will
>prompt you if you want to recieve the attachments?
>
>Thanks for any help,
>Dennis Hromin

Hi, Dennis.

I use version 1.4.4, and I don't really know yours, but in my version I
choose menu item 'Special', then 'Configuration'. Last item there is the
Auto-receive attachment directory. Well, I leave this box unchecked and no
directory defined. That's all.

Hope your version is the same.

Before someone says this is a non-PIC related message, I claim that I
believe it could help many people.


Bye,

Pedro Drummond
Sao Paulo, Brazil

'Microchip PDF files encrypted---can't read under L'
1996\06\10@094823 by Przemek Klosowski

flavicon
face
Hi,

I have Microchip's documentation CDROM with their PDF files.  I looked
at it with Adobe acrobat under Windoze, but it takes ages to
read/print and I can't use the computer in the meantime (not to mention
crashing the machine on some pages). No matter, sez I, I will just
fire up Linux and read it there. GOTCHA!!! The files are encrypted,
and, since Adobe won't tell anyone how to uncrypt PDF files, the Linux
PDF display program is unable to read them (needless to say, there is
no Acrobat reader for Linux). So much for the 'open document exchange
standard' idea.

I do hope that encrypting the files is a simple overlook on Microchip's part.
The only other explanation that occurred to me was that it was an attempt
to prevent competition from copying the files, or some such---this didn't
make much sense to me, since a determined person with several hours of free
time would simply grab the images and OCR them. The way things are, it
hits the good guys (me), while barely inconveniencing the bad guys.

I understand why Microchip allocates their efforts primarily to
support the Windows platform, but I wish it was done in a way that
doesn't annoy all the other (Linux, OS/2, Macintosh) folks. It is not
a large effort; just some care for details plus some foresight (such
as, e.g., don't use direct, DOS-specific access to serial port for
communication with programmer hardware).  Such attention to detail
would better befit a large, successfull company that Microchip has
become.

               przemek


'Microchip *.pdf files...'
1996\07\19@084251 by Janusz J. Mlodzianowski
flavicon
face
Hi to All of you,
Recently I needed to consult one of application notes on Microchip
www server.
As I do not have any pdf browser, I downloaded acroread.exe (DOS version,
I hate and do not use Windows..) from http://www.adobe.com.
I can not read anything (however files supplied with the package read OK).
Does this mean that there are different versions of pdf files? (BTW all
files were downloaded in binary mode :-) )
Have you got any any ideas? I still would prefere even simple but DOS
browser, or converter to PostScript. I also use Linux and gostscript.
Regards,
janusz

1996\07\19@092413 by VECTOR.KHARKOV.UA>

flavicon
face
> Hi to All of you,
> Recently I needed to consult one of application notes on Microchip
> www server.
> As I do not have any pdf browser, I downloaded acroread.exe (DOS version,

Dos version can't read PDF encrypted ;-)

> I hate and do not use Windows..) from http://www.adobe.com.
> I can not read anything (however files supplied with the package read OK).
> Does this mean that there are different versions of pdf files? (BTW all
> files were downloaded in binary mode :-) )

Only M$-Windoze version can read PDF encrypted.

> Have you got any any ideas? I still would prefere even simple but DOS
> browser, or converter to PostScript. I also use Linux and gostscript.

But :

It appears that Adobe's encryption scheme has been broken.  See:

   http://www.ozemail.com.au/~geoffk/pdfencrypt/

I try this -- is Work ;-)
I check with gostscript V3.53 in Linux box.

> Regards,
> janusz
>

--
------------
Yuri Galayda at SNC Vector R&D Department       KILLspamyuraKILLspamspamvector.kharkov.ua
PGP public key available  --  finger RemoveMEyuraTakeThisOuTspamvector.kharkov.ua | pgp -kaf


'Extracting text from encrypted PDF files'
1996\09\18@160020 by Piotr Piatek
flavicon
face
Does anybody have an idea, how to extract text from encrypted PDF files ?

I wanted to extract program listing from an encrypted PDF file, which
doesn't allow selecting text or images, but allows printing. I thought,
this task can be easy accomplished by printing to a file with a "standard
text printer" selected (I'm using Win95). Alas, the Acrobat Reader doesn't
work properly with this driver and everything ends with a system error.

Have I to copy the whole text manually or print and OCR it ? Isn't there
any better solution ?

- Piotr

Piotr Piatek    spamBeGonepisielekspamBeGonespaminet.com.pl

'Extracting text from encrypted PDF files -Reply'
1996\09\19@084239 by Mark Jurras

flavicon
face
You may try a different printer that uses ASCII text for characters i.e. an
older style Epson. Then use an editor to cut and paste till you get what you
need. Have you tried the BBS for a different format copy?

- -Mark

>>> Piotr Piatek <TakeThisOuTpisielekEraseMEspamspam_OUTINET.COM.PL> 18 September 1996  3:57 pm >>>
Does anybody have an idea, how to extract text from encrypted PDF files ?

I wanted to extract program listing from an encrypted PDF file, which
doesn't allow selecting text or images, but allows printing. I thought,
this task can be easy accomplished by printing to a file with a "standard
text printer" selected (I'm using Win95). Alas, the Acrobat Reader doesn't
work properly with this driver and everything ends with a system error.

1996\09\19@145248 by Eric Smith

flavicon
face
> Does anybody have an idea, how to extract text from encrypted PDF files ?

Hmm...  whose encrypted PDF files do you want to extract from?  :-)

There's a patch to Ghostscript to let it read encrypted PDF files.
Apparently the first released version of the patch allowed you to do anything
you wanted with the files; they have since changed it to protect the files
somewhat.  However, since it is all supplied in source form you should be able
to fix that.

http://www.ozemail.com.au/~geoffk/pdfencrypt/

Cheers,
Eric

1996\09\19@163034 by Piotr Piatek

flavicon
face
Many thanks to all who answered my question.

Eric Smith asked:

> Hmm...  whose encrypted PDF files do you want to extract from?  :-)

It's no secret at all. It's an application note AN460 from Motorola. Maybe
I'm slow-witted, but I really couldn't find the ASCII source code on their web
site.

Anyway, I got my listing now. I've decided to remain by my first idea to
print to a file, but I have used a PostScript printer driver. The resulting file
contains near the end the desired text. I've extracted it with a simple C
program.

Thanks again.

- Piotr

Piotr Piatek    RemoveMEpisielekspamTakeThisOuTinet.com.pl


'Source/program files on the list.'
1996\10\01@061307 by Keith Dowsett
flavicon
face
Hi,

  I'm sure we had a discussion on this a little while ago but it's back
already.
My preference is _not_ to recieve big files from the list. A few lines of
code to illustrate a problem/solution is fine, but if possible could the big
files be put
on a www server or ftp server with a pointer in the mailing. Where this is
not possible why not mail them directly (don't use Reply without thinking)
to the people who request a copy.

Just my 2d worth,

Keith.
==========================================================
Keith Dowsett         "Variables won't; constants aren't."

E-mail: kdowsettEraseMEspam.....rpms.ac.uk
WWW:    http://kd.rpms.ac.uk/index.html


'How to link multiple files with MPLAB/MPASM?'
1996\11\14@100300 by BLEGER
flavicon
face
    Hi folks,

    I'm new to the PIC family of s/w tools, and I'm wondering how to link
    multiple files.  MPLAB Help doesn't say much about the linking
    process. Here's what I'm trying to do: I have a Project in MPLAB with
    3 asm files. I need the first file to originate (org) at 0000h. That's
    easy. But now I need the next two files to link so that memory is
    utilized contiguously.

    Thanks in advance for your assistance.

    -Brian Leger
    EraseMEblegerspamharris.com

1996\11\14@125653 by Bob Fehrenbach

picon face
BLEGER <RemoveMEBLEGEREraseMEspamEraseMEMAILB.HARRIS.COM> wrote:
>     Hi folks,
>
>     I'm new to the PIC family of s/w tools, and I'm wondering how to link
>     multiple files.  MPLAB Help doesn't say much about the linking
>     process. Here's what I'm trying to do: I have a Project in MPLAB with
>     3 asm files. I need the first file to originate (org) at 0000h. That's
>     easy. But now I need the next two files to link so that memory is
>     utilized contiguously.
>
>     Thanks in advance for your assistance.
>
>     -Brian Leger
>     RemoveMEblegerspam_OUTspamKILLspamharris.com
>

  ORG the first file at 0.  At the bottom of that file add
  'include' statements for each of the other two files.

  The linker for MPASM is not yet available.



--
Bob Fehrenbach    Wauwatosa, WI     RemoveMEbfehrenbTakeThisOuTspamspamexecpc.com

1996\11\14@153710 by Craig Knotts

flavicon
face
    Currently, your only option is to use "#include" files to link the
    other two files to the original.  At this time there is no link
    facility available for PIC products (as far as I know).


______________________________ Reply Separator _________________________________
Subject: How to link multiple files with MPLAB/MPASM?
Author:  EraseMEBLEGERspamspamspamBeGoneMAILB.HARRIS.COM at internet
Date:    11/14/96 12:35 AM


    Hi folks,

    I'm new to the PIC family of s/w tools, and I'm wondering how to link
    multiple files.  MPLAB Help doesn't say much about the linking
    process. Here's what I'm trying to do: I have a Project in MPLAB with
    3 asm files. I need the first file to originate (org) at 0000h. That's
    easy. But now I need the next two files to link so that memory is
    utilized contiguously.

    Thanks in advance for your assistance.

    -Brian Leger
    RemoveMEblegerKILLspamspamharris.com

1996\11\14@190341 by Ed VanderPloeg

flavicon
face
      Yup, the only currently available method is the "include"
      control directive, unless someone on the list has made their
      own thing.  Note that it's not "#include" like in C, but just
      plain old "include" like this:

       include "filename.inc" ;some header file (macros, etc)
       org     h'0000'        ;place for the first file to go
       include "filename.asm" ;some chunk of code
       include "filenam2.asm" ;some more code, located in memory
                               immediately after filename.asm

      And also note that the include's can go anywhere in the file,
      before or after or in between code, it doesn't matter.  Just
      remember to check your *.lst file for where all the code ended
      up (like across page boundries, etc.).

      -Ed V.



______________________________ Reply Separator _________________________________
Subject: Re: How to link multiple files with MPLAB/MPASM?
Author:  pic microcontroller discussion list <PICLISTSTOPspamspamspam_OUTMITVMA.MIT.EDU> at
InterNet2
Date:    11/14/96 2:32 PM


    Currently, your only option is to use "#include" files to link the
    other two files to the original.  At this time there is no link
    facility available for PIC products (as far as I know).


______________________________ Reply Separator _________________________________
Subject: How to link multiple files with MPLAB/MPASM?
Author:  spamBeGoneBLEGERSTOPspamspamEraseMEMAILB.HARRIS.COM at internet
Date:    11/14/96 12:35 AM


    Hi folks,

    I'm new to the PIC family of s/w tools, and I'm wondering how to link
    multiple files.  MPLAB Help doesn't say much about the linking
    process. Here's what I'm trying to do: I have a Project in MPLAB with
    3 asm files. I need the first file to originate (org) at 0000h. That's
    easy. But now I need the next two files to link so that memory is
    utilized contiguously.

    Thanks in advance for your assistance.

    -Brian Leger
    KILLspamblegerspamBeGonespamharris.com

1996\11\15@035036 by efoc

flavicon
face
BLEGER wrote:
>
>      Hi folks,
>
>      I'm new to the PIC family of s/w tools, and I'm wondering how to link
>      multiple files.  MPLAB Help doesn't say much about the linking
>      process. Here's what I'm trying to do: I have a Project in MPLAB with
>      3 asm files. I need the first file to originate (org) at 0000h. That's
>      easy. But now I need the next two files to link so that memory is
>      utilized contiguously.
>
>      Thanks in advance for your assistance.
>
>      -Brian Leger
>      EraseMEblegerspamEraseMEharris.com




how about #including them

Peter

--
==================================
= New Ideas come from those who  =
= didn't know it wasn't possible =
==================================


'Picstart and hex files'
1996\12\20@002845 by clyde
flavicon
Here's one for the Piclist - I can't answer this since I don't have
access to a PICSTART. Our compiler produces hex files in a format that
I believe is generally known as INHX8M - i.e. two bytes per PIC word,
with the upper bits of the second byte unused. MPLAB has no problems
with this. We also produce a .COD file. What does the PICSTART accept?


-----Forwarded message from @spam@pakton@spam@spamspam_OUTozemail.com.au (Paul Thompson)-----


> I am using the PICSTART -16B1 (firmware version 2.0) to blow a windowed
> 16C71 but
> it doesnt understand your intel hex file output.
> I dont know whether the incompatibity lies in the firmware or the the MPS16B
> program.

> Is there another output file format that I should be using?


--
Clyde Smith-Stubbs    | HI-TECH Software,       | Voice: +61 7 3354 2411
spamBeGoneclydespamKILLspamhtsoft.com      | P.O. Box 103, Alderley, | Fax:   +61 7 3354 2422
http://www.htsoft.com | QLD, 4051, AUSTRALIA.   |
---------------------------------------------------------------------------
Download a FREE beta version of our new ANSI C compiler for the PIC
microcontroller! Point your WWW browser at http://www.htsoft.com/

1996\12\21@054636 by Lynn Richardson

flavicon
face
MPSTART likes to see intel hex files with 16 bytes or less of code in each
line.  There's a small conversion utility program called 'hex2hex
available for download on the Phillips BBS, (800) 451-6644, that converts
longer line files to 16 bytes.  Try 'http://www.semiconductors.philips.com', too.

_____________________________________________
Lynn Richardson           | .....lrichspam_OUTspamqni.com    \
Progress Instrument, Inc. | wa0znl.ampr.org  |
807 NW Commerce Drive     |  [44.46.176.3]   |
Lee's Summit, MO 64086    |                  |
(816)524-4442 F:246-4556  |                  /
---------------------------------------------

On Fri, 20 Dec 1996, Clyde Smith-Stubbs wrote:

{Quote hidden}


'Stimulus files ? Trace memory files ?'
1997\01\03@052224 by pavelk
flavicon
face
Hello friends,

I am a bit new in PIC programming and I have one question.

I am using the MPLAB software (Windows version). The environment and simulator
is OK, but I would like to ask you, if anybody have the description of the
stimulus file formats and the description of Trace memory output format. I
looked at the PDF documentation for MPLAB, but I am not able to find any example
of stimulus input file.

Is it possible to find some stimulus file editor and "trace memory" file
preprocessor somewhere ?

Than you for any info

PavelK


--
****************************************************************************
*                    Pavel Korensky (.....pavelkspamRemoveMEdator3.anet.cz)                *
*     DATOR3 Ltd., Modranska 1895/17, 143 00 Prague 4, Czech Republic      *
*  PGP key fingerprint: 00 65 5A B3 70 20 F1 54  D3 B3 E4 3E F8 A3 5E 7C   *
****************************************************************************

1997\01\04@103938 by Darrel Johansen

picon face
Pavel Korensky wrote:
>
> Hello friends,
>
> I am a bit new in PIC programming and I have one question.
>
> I am using the MPLAB software (Windows version). The environment and simulator
> is OK, but I would like to ask you, if anybody have the description of the
> stimulus file formats and the description of Trace memory output format. I
> looked at the PDF documentation for MPLAB, but I am not able to find any
example
> of stimulus input file.

As for the trace memory, it's just an ASCII text file: what you see is
what's in the file and you can load it with any editor.  The stimulus
files were not as well documented in the MPLAB literature, but here is
text from the README.LAB document that accompanies the latest MPLAB:

------------------------------------------------------------
Using Stimulus files for MPLAB-SIM
------------------------------------------------------------
Stimulus files for MPLAB-SIM are ASCII text files that have two
formats, one for the Pin Stimulus function, and one for the
Register Stimulus function.

PIN STIMULUS Files
A Pin Stimulus file consists of columns of input ones and zeroes
that will be applied to pins when the "Cycle" value in the
Stopwatch matches the STEP column.

Example:
STEP    RB1    RB0
20      0       0
41      1       0   ; apply high to port b bit 1
52      0       1   ; apply high to port b bit 0, set bit 1 low
55      1       1
60      0       0
65      1       0   ; toggle bit 1, then...
76      0       1   ! ...toggle bit 0.

For backward compatibility with earlier versions of MPSIM, the
first line must always start with the word "STEP."  This column
specifies the CYCLE (as determined by MPLAB's Stopwatch Window)
where the values in the other columns will be applied.

After the word STEP in the first line of the file are the pin
names for the PIC16/17 pins that will receive the high and low
stimulus values.  In this example file RB1 and RB0, two inputs
on port B will receive stimulus inputs.

In this file the second column contains values that will be applied
to RB1 (Port B bit 1) and the third column has values for RB0
(Port B bit 0).  These names must match the Microchip PIC16/17 pin
names for the processor being simulated.  You can see a list of all
supported pins by looking at the pin assignment pull down for the
Asynchronous Stimulus (right click on a stimulus button).

Comments can be put on a line using the ";" or "!" character preceded
and followed by at least one space.

The Stopwatch Window will also show the elapsed time at each
instruction,
as determined from the CYCLE value and the clock frequency.  If the
Stopwatch is reset to 0, the pin stimulus file will also be effectively
reset.

REGISTER STIMULUS Files
A Register Stimulus file consists of a single column of values
that will be applied to a register when the Program Memory
Address reaches the location set in the Register Stimulus Dialog.

Example:
10
2E
38
41
50
7A
99
A0
FD

If this is saved as an ASCII file named INPUT.REG, and selected from
the Debug>Simulator Stimulus>Register Stimulus Dialog, this list of
values will be sequentially injected into the selected file register.

Values of 0x10, 0x2E, etc. will be injected into the register
selected in the Debug>Simulator Stimulus>Register Stimulus Dialog
every time the Program Memory Counter reaches the address set in
that dialog.

After the last value is injected (0xFD in this list), the first value
will be used again (0x10).  The list will cycle as long as MPLAB-SIM
executes.

'INCLUDE files'
1997\01\26@013436 by Ed Todd

picon face
INCLUDE is very powerful, especially with multiple platforms and/or
targets, similar to a PC app being written for DOS, UNIX, Windows.

You can create a directory structure for you project.  Take the following
example:
PROJECT
       S               Holds files common to more than one target
       MASTER  Holds files for the master unit
       SLAVE           Holds files for the slave unit

S could hold a file with all defines, registers, common storage.  Another
file with macros.  Let's say your project has serial I/O that is common to
both units, put that code in SERIAL.ASM in the S directory.

In your main ASM file in the MASTER directory, you would put
       INCLUDE "..\S\SERIAL.ASM"
in the appropriate place to include the serial I/O.  Do the same thing in
the SLAVE unit main ASM file.  Any bug you fix in SERIAL.ASM is
automatically applied to both units.

In my view, this is the real reason for using INCLUDE: you can write
important things once and reuse them: PIC ASM is like any other language,
you want to reuse code and avoid duplication.  The files that come with the
compiler that define the chip registers are just one thing you want to
avoid writing more than once.

When you get more fancy, you start using IF/ELSE/ENDIF to do or include
specific things for a platform or target.

In some of our C language projects, we use a S, PIC and WINDOWS
directories: prototype under Windows and then port to PIC.  The core logic
goes in S, the hardware interface stuff goes in WINDOWS or PIC directories.

Enough for now.
 <RemoveMEedtoddspamspamBeGonesni.net>    Ed Todd


'Ultimate Lib files.'
1997\02\25@120459 by andrew jones
flavicon
face
    Does anybody have or know where I could get PIC Lib. files for
    Ultimate PCB program.

    Thanks Andy


'Bad errors in .INC files'
1997\05\10@090348 by Jim Robertson
flavicon
face
Hi Folks,

There are a few errors in microchip's .INC files for the 16C715, 12C671 and
12C672.
The 16C715 is missing the equates for the "MPEEN" config bit. Please these
two lines to P16C715.INC:

_MPEEN_ON                    EQU     H'3FFF'
_MPEEN_OFF                   EQU     H'3F7F'

Much more critical is the complete mess made of the 12C671 and 12C672
config word equates. DO NOT use the __CONFIG directive with the values
supplied in the files P12C671.INC and  P12C672.INC They are hopelessly
wrong. I am refering to Version 1.01 files.

Come on microchip, these errors are serious.

-Jim

1997\05\12@173054 by Steve Smith

picon face
I will need to make them a bit more user frendly as they currently link to
other subs but i will take time to do this this month....

Steve......


'Off topic - gerber files'
1997\07\12@172832 by Mike
flavicon
face
Hi yah all,

Sorry for the off topic - so ignore as you feel inclined...

Anyone have experience with having photoplots scanned to produce gerber
files ?

And any software for PC's to do this ?

Rgds

Mike
Perth, Western Australia

1997\07\12@183708 by Stephen Douglas

flavicon
face
Hi Mike,
A scanned photoplot can easily be converted to a DXF file which can
be converted to GBR format with ease.

--snip--
> Anyone have experience with having photoplots scanned to produce gerber
> files ?

1997\07\13@181047 by gary skinner

flavicon
face
> Anyone have experience with having photoplots scanned to produce gerber
> files ?

Supposedly CIRCAD has this ability.  I saw a demo of it, but you
never know if it is really that easy.
Gary Skinner   spamBeGonegskinner@spam@spamspam_OUTcsd.net
Electronic Solutions, Inc.
design of custom electronic controls

1997\07\17@053917 by Janusz J. Mlodzianowski

flavicon
face
Talking about gerber files. I have the following problem/requirement:
I have a digitally controlled micromilling rig, so I can try to use it
for pcb prototypeing. In order to make a pcb I would need to cut an outline
of the track. It would be nice to have a utility that would be able to convert
tracks and pads from gerber file  to its equivalent outline drawing.
With a single track such a conversion is not a problem at all. One has to draw
4 lines. The problem starts when one track is connected to the other or is
composed of a number of segments. The outline can not produce a broken layer
of copper.
I am trying to think of an algorithm that could detect such track crossing
points. Checking every point of a track with all other tracks requires monstrous
number of comparisons.
Are there any ready made utilities, perhaps in public domain, available?
Any suggestions for an efficient algorithm?
Ragards,
janusz.

1997\07\17@062902 by Kieran Sullivan

flavicon
face
Copper fill the entire board, then produce a gerber plot of the inverse image of
the board...That should work?

Kieran


----------
From:   Janusz J. Mlodzianowski[SMTP:TakeThisOuTfizjmspamspamUNIV.GDA.PL]
Sent:   17 July 1997 12:31
To:     PICLISTEraseMEspamMITVMA.MIT.EDU
Subject:        Re: Off topic - gerber files

Talking about gerber files. I have the following problem/requirement:
I have a digitally controlled micromilling rig, so I can try to use it
for pcb prototypeing. In order to make a pcb I would need to cut an outline
of the track. It would be nice to have a utility that would be able to convert
tracks and pads from gerber file  to its equivalent outline drawing.
With a single track such a conversion is not a problem at all. One has to draw
4 lines. The problem starts when one track is connected to the other or is
composed of a number of segments. The outline can not produce a broken layer
of copper.
I am trying to think of an algorithm that could detect such track crossing
points. Checking every point of a track with all other tracks requires monstrous
number of comparisons.
Are there any ready made utilities, perhaps in public domain, available?
Any suggestions for an efficient algorithm?
Ragards,
janusz.

1997\07\17@182956 by Steve Smith

picon face
Try using the DXF out for the coppers as outline only this works fine from
araidnie and we import these into Autocad with no problems.

Steve.....

1997\07\17@234629 by Brian Kraut

picon face
I have recently been researching CNC control programs and have found some
good links from http://www.sherline.com.  There are some that work with DXF and HPGL
files.


'EPROM Emulator design and free software files.'
1997\10\16@155848 by Don McKenzie
flavicon
face
Piclisters involved in embedded design may find this project of
interest:

The schematic and all files for an Eprom emulator designed by Fred
Handel are now posted on the web at:
http://www.dontronics.com/emuprom.html

Schematic is in PDF format. Files include the PC driver and the binary
file for the AT89C2051 used. The unit is RS-232 driven.

Fred calls this a shareware pack.

Don McKenzie  RemoveMEdonEraseMEspamspam_OUTdontronics.com   http://www.dontronics.com

Basic Stamp Windows 95 Front End Now Available.
PicNPoke "Pacman like" Multimedia Simulator for the PIC16x84.
SimmStick(tm) Atmel & PIC proto PCB's. 30 pin Simm Module Format.
For more details, send a blank message to @spam@infoRemoveMEspamEraseMEdontronics.com
or EraseMEsimstickspam@spam@dontronics.com or @spam@basicsspam_OUTspam.....dontronics.com


'Prog to generate I2C stimulus files for MPLAB?'
1997\12\19@163758 by Joe McCauley
picon face
Hi,

Does anyone know of a program which will run under MSDOS or Windows which
will genetate stimulus files for the mplab simulator. I need to generate
some I2C to test the I2C module on a 16C74. Unfortunatly I dont have a
16c74 pod for my Picmaster. Ideally what I am looking for would take in a
hex string representing the I2C data and ACK bits sent from a master to the
PIC, and generate the stim file.

Any ideas gratefully recieved.

Joe

1997\12\19@163758 by Joe McCauley

picon face
Hi,

Does anyone know of a program which will run under MSDOS or Windows which
will genetate stimulus files for the mplab simulator. I need to generate
some I2C to test the I2C module on a 16C74. Unfortunatly I dont have a
16c74 pod for my Picmaster. Ideally what I am looking for would take in a
hex string representing the I2C data and ACK bits sent from a master to the
PIC, and generate the stim file.

Any ideas gratefully recieved.

Joe

1997\12\19@170118 by Walter Markiw

flavicon
face
At 21:21 19/12/97 +0000, you wrote:
>Hi,
>
>Does anyone know of a program which will run under MSDOS or Windows which
>will genetate stimulus files for the mplab simulator. I need to generate
>some I2C to test the I2C module on a 16C74. Unfortunatly I dont have a
>16c74 pod for my Picmaster. Ideally what I am looking for would take in a
>hex string representing the I2C data and ACK bits sent from a master to the
>PIC, and generate the stim file.
>
>Any ideas gratefully recieved.
>
>Joe
>
>
Hi,Joe
       I read in the mplab manual that it doesm't support ssp simulation
in IC2 mode.

Cheers,Walter


'Stim Files Not Working'
1998\01\23@141809 by Benjamin Wirz
picon face
Hello,

       I can't seem to get a stim file to work with a 12C509 in MPLAB
6.31.  I have done this before on another machine without problems and
now I don't see any changes in my I/O register.  Anyone have a
suggestion?

Thanks,

Ben

!
! Serial Input @ 2400 bps Test
! Bits are sent 0, 1, 2, 3, ...
STEP    GP3
1       1
500     0
917     1
1333    1
1750    0
2167    1
2583    0
3000    1
3417    0
3833    0
4250    1
4667    0
5083    1
5500    0
5917    0

1998\01\23@172007 by myke predko

flavicon
face
Hi Ben,

GP3 is the _MCLR/GP3 bit.  You have to do two things to disable _MCLR before
it will run with the simulator.

1.  Make sure you have a "__CONFIG" Statement.  ie:

__CONFIG _CP_OFF & _IntRC_OSC & _MCLRE_OFF  & _WDT_OFF

Make sure it does not start in the first column and _MCLRE_OFF is specified.

2.  In MPLAB, go into:

Options -> Processor Setup -> Hardware

And then click off "MCLR Enable".

Good luck,

myke

{Quote hidden}

"Programming and Customizing the PIC Microcontroller" is the January 1998
Electronics Book Club Main Selection.  See "http://www.myke.com".


'Stimalus files'
1998\02\02@050819 by Mike Montgomery
flavicon
picon face
Hi
       Does anyone have a util that will convert TEXT/BIN/HEX file to a
stimulus file to reproduce RS232 input.

thanks


-----------------------------------------------------------------
Mike Montgomery

Gardown can be downloaded from my home page http://www.anali.demon.co.uk
-----------------------------------------------------------------

'Stimulus files'
1998\02\03@191510 by Jim Eller

flavicon
face
I wrote a C program to take a hex ascii input from the keyboard
that creats an RS232 stimulus file for use with the MPLAB.  Does
that sound like what you need?

>Date:  Mon, 2 Feb 1998
>From:  Mike Montgomery <spamBeGonemikeEraseMEspamANALI.DEMON.CO.UK>
>Subject: Stimalus files
>
>Hi
>       Does anyone have a util that will convert TEXT/BIN/HEX file
>   to a stimulus file to reproduce RS232 input.
>
>thanks


'stimulus files'
1998\03\13@064217 by frak
flavicon
face
Ok all you PIC experts, listen to this

I am a beginner at PIC pgming and I need to simulate an input to a PIN
whilst simulating my  code using MPLAB. I will need a string of
inputs (several hndered values) that need to be used every time I
read that pin in my code.....how do I do this? the Help file about
pin stimulus suggests a maximum of 12 such stimuli....what do I do?

please help.
Im am currently off the PIC LIST so pls forward any replys to
frakspamBeGonespamsnakebite.com

Thank you



                                             Rock On.........

               >@>@>@>@>@>@>@>@>@>@>@>@>@>@>@>@>@
               !!         FRAK MAN             !!
               !!     The String Bender        !!
               !!  email: RemoveMEfrak@spam@spamspamBeGonesnakebite.com   !!
               !!  Tel:   0161 248 5933        !!
               !!  IP No: 130.88.189.44        !!
               !!                              !!
               @<@<@<@<@<@<@<@<@<@<@<@<@<@<@<@<@<

'Viewing PDF files directly on the WWW'
1998\03\16@065008 by wterreb

flavicon
face
Sometimes software companies make 'improvements' to their software
which is I really doubt whether it is really an improvement.   Much
to my frustration, I was the victim of one such 'improvement' this
weekend.  I just installed the latest version of the Adobe Acrobat
reader on my PC and discovered much to my horror that when I try to
download a PDF file from the web now, my Netscape browser
automatically opens the Adobe Acrobat reader and displays the file
directly without saving it on disk.   Now this might sound like a
good feature to someone who does not have to use a slow dial up
internet connection and who doesn't pay by the minute for online
time.  But I do and I don't want to to download the PDF file every
time I want to look at the file, and I could not find a way to save
the file to disk from the PDF viewer.    Do anybody know how to
switch off this feature so that when PDF files are saved on disk
rather than opening Acrobat reader and displaying it directly?   I'm
a great fan of the Adobe Acrobat products, but this feature is really
frustrating.

Rgds
Werner

1998\03\16@072616 by Luca Carboni

flavicon
face
>I just installed the latest version of the Adobe Acrobat
>reader on my PC and discovered much to my horror that when I try to
>download a PDF file from the web now, my Netscape browser
>automatically opens the Adobe Acrobat reader and displays the file
>directly without saving it on disk.

- Menu EDIT | PREFERENCES
- Navigator | Applications
- Search for Portable Document Format (PDF)
- Edit
- Click on SAVE TO DISK
- Check the ASK ME BEFORE...
- OK

This should fix your problem.

Enjoy! :-)

Luca



========================
Luca Carboni
Assistenza Utenti VOLftp
EXOL SpA
========================

Per tenervi costantemente aggiornati iscrivetevi
alle mailing list di VOLftp:

Mailing list sulle nostre attivita', avvisi, cambiamenti:

http://VOLftp.tin.it/IT/IT/MAILINGNEWS/volftp.htm

Le nostre liste programmi giornaliere e settimanali
con le novita' software commentate in italiano:

VOLftp.tin.it/IT/IT/MAILINGNEWS/volftp.htm

1998\03\16@074451 by Chaipi Wijnbergen

flavicon
picon face
Hi,

In Netscape Navigator, do Options->General Preferences and hit the helper
tab. then look for
Application/pdf, click on it and you would see a few radio buttons on the
bottom, see it
Adobe Acrobat checked the option to 'Launch the Application..., You may
select save to disk
instead.

Chaipi

At 09:28 16/03/98 GMT+2, Werner Terreblanche wrote:
{Quote hidden}

                              \\\|///
                            \\  ~ ~  //
                             (  @ @  )
----------------------------oOOo-(_)-oOOo-----------------------------------
!                                                                          !
! Chaipi Wijnbergen                                                        !
! Electronics/Computer Eng. M.Sc. Tel  : +972-8-9343079                    !
! Optical Imaging Laboratory      Fax  : +972-8-9344129                    !
! Brain Research Center           Email: .....chaipi@spam@spamEraseMEtohu0.weizmann.ac.il       !
! Weizmann Institute of Science   WWW  : http://www.weizmann.ac.il/~chaipi !
! Rehovot 76100 ISRAEL                                                     !
!                                                                          !
------------------------------------Oooo.-----------------------------------
                         .oooO     (   )
                         (   )      ) /
                          \ (      (_/
                           \_)

1998\03\16@075925 by n Midgley

flavicon
face
>when I try to
>download a PDF file from the web now, my Netscape browser
>automatically opens the Adobe Acrobat reader and displays the file
>directly without saving it on disk.

Same damned thing in IE4. I've searched high and low, but I can't
find any reference to helper apps in any of the menus. Any IE4
experts out there who can provide the info?

John M

1998\03\16@083706 by Peter van Hoof

flavicon
face
After viewing the file is in the cache you can always go back, right click
on the link and select save to disk, or even do this without first viewing

Peter

----------
{Quote hidden}

1998\03\16@084256 by

flavicon
face
Also .... If you right click the link, Explorer gives you the option to
'Save Target As..' ( This is IE4 - I believe 3.xx was the same )

This lets you save to disk rather than fire up the default viewer - works
for all filetypes

Hope this helps.
Neil

----------
From:  Luca Carboni
Sent:  16 March 1998 12:23
To:  PICLISTEraseMEspam@spam@MITVMA.MIT.EDU
Subject:  Re: Viewing PDF files directly on the WWW

>I just installed the latest version of the Adobe Acrobat
>reader on my PC and discovered much to my horror that when I try to
>download a PDF file from the web now, my Netscape browser
>automatically opens the Adobe Acrobat reader and displays the file
>directly without saving it on disk.

- Menu EDIT | PREFERENCES
- Navigator | Applications
- Search for Portable Document Format (PDF)
- Edit
- Click on SAVE TO DISK
- Check the ASK ME BEFORE...
- OK

This should fix your problem.

Enjoy! :-)

Luca



========================
Luca Carboni
Assistenza Utenti VOLftp
EXOL SpA
========================

Per tenervi costantemente aggiornati iscrivetevi
alle mailing list di VOLftp:

Mailing list sulle nostre attivita', avvisi, cambiamenti:

http://VOLftp.tin.it/IT/IT/MAILINGNEWS/volftp.htm

Le nostre liste programmi giornaliere e settimanali
con le novita' software commentate in italiano:

VOLftp.tin.it/IT/IT/MAILINGNEWS/volftp.htm

1998\03\16@145957 by n/a

flavicon
face
Werner Terreblanche wrote:
>
> the file to disk from the PDF viewer.    Do anybody know how to
> switch off this feature so that when PDF files are saved on disk
> rather than opening Acrobat reader and displaying it directly?   I'm
> a great fan of the Adobe Acrobat products, but this feature is really
> frustrating.

If it's netscape 4.x,

select menu on the menu bar
select preferences
select the arrow on navigator
select applications
search and select Portable Document Format (I thin')
select edit
change the option to save to disk
select OK
select OK

I think that's it. Netscape 3.0 may be similar. I'm not sure about
IE.

--
Neil Cherry     http://home.att.net/~ncherry    RemoveMEncherryspamspamBeGoneworldnet.att.net

1998\03\16@164910 by Steve Baldwin

flavicon
face
> >I just installed the latest version of the Adobe Acrobat
> >reader on my PC and discovered much to my horror that when I try to
> >download a PDF file from the web now, my Netscape browser
> >automatically opens the Adobe Acrobat reader and displays the file
> >directly without saving it on disk.
>
> - Menu EDIT | PREFERENCES
> This should fix your problem.

I find with Navigator 3 on Win95 that it sets it back each time it is
started which is a bit of a pain.
If you press shift when clicking the link, it will prompt for the save
option.

Steve.

======================================================
 Very funny Scotty.  Now beam down my clothes.
======================================================
Steve Baldwin                Electronic Product Design
TLA Microsystems Ltd         Microcontroller Specialists
PO Box 15-680                email: spamBeGonestevebKILLspamspam@spam@kcbbs.gen.nz
New Lynn, Auckland           ph  +64 9 820-2221
New Zealand                  fax +64 9 820-1929
======================================================

1998\03\16@171749 by William Chops Westfield

face picon face
Netscape at least has a "download link" that always donwloads to a file
instead of treating the link as "interactive."  I think it's on the right
mouse button, or on click&hold for mac one-button mouse users...

BillW

1998\03\17@191409 by Dwayne Reid

flavicon
face
Others have suggested changing the settings in the general preferences menu
of Netscape - I tried that several months ago when I ran into the same
problem after upgrading to Acrobat 3.  It doesn't work under Netscape 2.01!
My solution to date has been to hold the shift key when selecting the file -
this immediately brings up the "save as" dialog without launching Acrobat.
If anyone else can suggest a fix, please let me know.

BTW - I've been told that after changing the settings in the preferences
dialogs, you have to make sure that you select the "save settings" option on
the first level of the preferences menu.  I have not confirmed this - just
passing on what I was told...

dwayne

Dwayne Reid   <dwaynerspam_OUTspam@spam@planet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, Alberta, CANADA
(403) 489-3199 voice     (403) 487-6397 fax

1998\03\19@060617 by paulb

flavicon
face
Dwayne Reid wrote:

> My solution to date has been to hold the shift key when selecting the
> file - this immediately brings up the "save as" dialog without
> launching Acrobat.

 I must get used to that habit!  But you have to keep a weather eye out
as to whether the link is HTML you want to go to, or PDF you want to
save.

> BTW - I've been told that after changing the settings in the
> preferences dialogs, you have to make sure that you select the "save
> settings" option on the first level of the preferences menu.  I have
> not confirmed this - just passing on what I was told...

 Memory says this worked on version 2, so they deleted that option on
version 3.  There is NO WAY you can save the setting for a PDF file once
the parasitic browser is installed!

 My observations,

 Cheers,
       Paul B.

1998\03\19@060617 by paulb

flavicon
face
Dwayne Reid wrote:

> My solution to date has been to hold the shift key when selecting the
> file - this immediately brings up the "save as" dialog without
> launching Acrobat.

 I must get used to that habit!  But you have to keep a weather eye out
as to whether the link is HTML you want to go to, or PDF you want to
save.

> BTW - I've been told that after changing the settings in the
> preferences dialogs, you have to make sure that you select the "save
> settings" option on the first level of the preferences menu.  I have
> not confirmed this - just passing on what I was told...

 Memory says this worked on version 2, so they deleted that option on
version 3.  There is NO WAY you can save the setting for a PDF file once
the parasitic browser is installed!

 My observations,

 Cheers,
       Paul B.


'Configuration files using MPLAB'
1998\04\10@225302 by Peter Lefferson
flavicon
face
Dear People,
  I am quite confused about how to program the configuration files,
osc. fuses, etc. using MPLAB.   I have finished a lengthy program and
ready to program through PIC-1.   The books give little help.  I am
programming the PIC16C74A.
  My thanks in advance.
       Pete Lefferson  P.E.

'Getting large files (Was MPLAB 3.32.18)'
1998\04\15@110444 by Morgan Olsson

picon face
-snip-
>This would allow easy re-downloading of any file should your internet
>service provider drop out, instead of having to start at the very beginning
>trying to re-download one massive file.

Getright is a neat program that can fetch (multiple) files, and if
interrupted, it can resume from where it was instead of starting from the
beginning. (most servers support resume)
You can also schedule automatic dial-download-hangup to low-cost time.

http://www.getright.com

/Morgan
/  Morgan Olsson, MORGANS REGLERTEKNIK, SE-277 35 KIVIK, Sweden \
\  spamBeGonemrt@spam@spaminame.com, ph: +46 (0)414 70741; fax +46 (0)414 70331    /

1998\04\15@112509 by Alvaro Deibe Diaz

flavicon
face
You can try "Net Vampire" as well. This program would do the download for you,
and retry whenever necessary. I use it. You can find it at:

http://kulichki.rambler.ru/~vampire/


-----Mensaje original-----
De:     Morgan Olsson [SMTP:RemoveMEmrtEraseMEspamKILLspamINAME.COM]
Enviado el:     miercoles 15 de abril de 1998 8:22
Para:   spamBeGonePICLISTspam_OUTspamRemoveMEMITVMA.MIT.EDU
Asunto: Getting large files (Was MPLAB 3.32.18)

-snip-
>This would allow easy re-downloading of any file should your internet
>service provider drop out, instead of having to start at the very beginning
>trying to re-download one massive file.

Getright is a neat program that can fetch (multiple) files, and if
interrupted, it can resume from where it was instead of starting from the
beginning. (most servers support resume)
You can also schedule automatic dial-download-hangup to low-cost time.

http://www.getright.com

/Morgan
/  Morgan Olsson, MORGANS REGLERTEKNIK, SE-277 35 KIVIK, Sweden \
\  .....mrtspamRemoveMEiname.com, ph: +46 (0)414 70741; fax +46 (0)414 70331    /

1998\04\15@143203 by rank A. Vorstenbosch

flavicon
picon face
Morgan Olsson wrote:
>
> -snip-
> >This would allow easy re-downloading of any file should your internet
> >service provider drop out, instead of having to start at the very beginning
> >trying to re-download one massive file.
>
> Getright is a neat program that can fetch (multiple) files, and if
> interrupted, it can resume from where it was instead of starting from the
> beginning. (most servers support resume)
> You can also schedule automatic dial-download-hangup to low-cost time.
>
> http://www.getright.com

How about wget -- it's free, and runs on any real operating system (i.e.
UNIXes).  Also does recursive web-site downloads.  Schedule using cron.
Wget doesn't have a DNS entry, though :-)

Frank
------------------------------------------------------------------------
Frank A. Vorstenbosch    <UCE_ACCEPT="NONE">    Mobile:  +44-976-430 569
Wimbledon, London SW19                          Home:   +44-181-544 1865
frankspam@spam@falstaff.demon.co.uk                      Office: +44-181-636 3391

'Linking files with the Emulator.'
1998\04\16@150303 by John Bellini

flavicon
face
This my second try at sending this, sorry if it is a duplicate.

I am using MPLAB version 3.31 with the Microchip PICMASTER Emulator.  My
code is written and compiled with Byte Craft Version 1.20B.  When I am
debugging with the emulator.  I compile my code and everything is loaded
automatically when I place #pragma option v at the beginning of my code.


When I hit the reset button for the emulator, my .C file, .LST file and
the Program memory are all supposed to go to  address 0x0000.  My .C
file and Program memory does this but my .LST file goes somewhere else
in the code.  Why do they not link up properly?  Sometimes it happens to
be okay, but most of the time is out by a lot.

Any suggestions?

Thank you,
John Bellini

'SPLIT A .HEX or .BIN in 2 files.'
1998\04\17@114939 by WF AUTOMACAO

flavicon
face
Hello,

       I finished today my PIC17C44 board with 2 external EPROM, and
would like to know if someone has a program to split my program in 2
files to be recorded in my two external EPROM.

       mIGUEL.

1998\04\17@132325 by Michael Hagberg

flavicon
face
i know there must be programs out there that do this, the best i could do is
verify that my http://www.needhams.com emp-20 supports split eproms, but it loads
the file and splits it when it programs the devices.


-----Original Message-----
From: WF AUTOMACAO <EraseMEwfRemoveMEspamSTOPspamAMBIENTE.COM.BR>
To: RemoveMEPICLISTKILLspamspamTakeThisOuTMITVMA.MIT.EDU <spamBeGonePICLISTspam@spam@MITVMA.MIT.EDU>
Date: Friday, April 17, 1998 10:50 AM
Subject: SPLIT A .HEX or .BIN in 2 files.


>Hello,
>
>        I finished today my PIC17C44 board with 2 external EPROM, and
>would like to know if someone has a program to split my program in 2
>files to be recorded in my two external EPROM.
>
>        mIGUEL.
>

1998\04\17@134009 by WF AUTOMACAO

flavicon
face
Michael Hagberg wrote:
>
> i know there must be programs out there that do this, the best i could do is
> verify that my http://www.needhams.com emp-20 supports split eproms, but it loads
> the file and splits it when it programs the devices.
>
> {Original Message removed}

1998\04\17@135235 by Michael Hagberg

flavicon
face
well i didn't think to ask that. just set the split = 2 and select device =
1, for the first eprom and device=2 for the next eprom.

michael


>i have a EMP20 too, i will verify!
>
>Thanks!
>
>Miguel.
>

1998\04\17@135240 by William Cornutt

flavicon
face
mIGUEL,

Chris Hoffmann wrote some beautifylly documented source code
for Turbo C to split hex files.  It may be what you need if you
can compile it.  If it does not fit your needs completely, it would be a good starting point.

Try emailing him and asking for the code.

Chris Hoffmann
RemoveMEchris.hoffmannspam_OUTspambigfoot.com

Good luck,

Bill C.

Roseville California, where the trains are made up to start
their trip over the Serria Navada Mountains.

----------
> Hello,
>
>         I finished today my PIC17C44 board with 2 external EPROM, and
> would like to know if someone has a program to split my program in 2
> files to be recorded in my two external EPROM.
>
>         mIGUEL.
>

1998\04\17@135634 by jnlrich

flavicon
face
I use Needham's PB-10 and it came with utility programs to do this. Look for
UTIL.EXE on their page.

>From UTILITY.DOC:

->
->      
->
->SPLIT.EXE:
->
->SPLIT splits the source file (<filename>) sequentially into smaller files,
->as specified by the command line.  <an> specifies the file (i.e. 'A' specifies
->file A, 'B' specifies file 'B', etc.).  <nn> specifies the number of bytes to
->load into each file.  For example, A5 specifies the next 5 bytes into file 'A'.
->
->Examples:
->
->    SPLIT source.dat A1 B1 -- Puts one byte in file 'A', the next in file 'B'
->    SPLIT source.dat A2 B2 -- Puts two bytes in file 'A', two in file 'B'
->    SPLIT source.dat A1 B2 A2 B2 -- Puts the first byte into file A, the next
->                                    two bytes into file 'B', the next 2 bytes
->                                    into file
->
->When finished, the files TEMPFILE.<nnn> (where <nnn> = .A, .B, etc..) will
->be created, having the split in each file. Warning:  If a file of the name
->TEMPFILE.<nnn> exists prior to running SPLIT, it/they will be written over.
->
->SWAP.EXE:
->
->SWAP.EXE flips the byte order of a file according to specified parameters.
->For instance, the source file starts off with a byte order of 1,2,3,4, etc..
->SWAP changes the sequential order of these bytes.  If the new order is
->specified to be 3, 1, 2, for instance, SWAP changes the byte-order of the
->file to 3, 1, 2.  That is, THIRD byte (byte 3,6,9, etc..) of the file is now
->byte 1 (1,4,7, etc..), byte ONE is now byte 2, and byte TWO is now byte
->3 (3,6,9, etc..).
->
->Usage: SWAP <filename> <n1>, <n2>, ... , <nn>
->
->Where: <filename> is any file located in any valid filepath.
->        <n1>-<nn> desginate byte swapping pattern (from 1-8).
->
->Examples:
->
->     SWAP X.DAT 2 1            --  Swaps every two bytes in file X.DAT
->     SWAP TEST.TST 3 1 2       --  Changes bytes from order 1 2 3 and puts them
->                                   in order 3 1 2.  (i.e. Byte 3=Byte 1, etc.)
->     SWAP X.DAT 8 7 6 5 4 3 2 1 -- Reverses the order of every 8 bytes in the
->                                   file X.DAT.
->
->Note: The file <filename>.XXX  (i.e. TEST.TST = TEST.XXX) is created as the
->      resultant file.   If the message 'Cannot Create <filename>.XXX' is
->      printed to the screen, you must erase <filename>.XXX before continuing.
->


On Fri, 17 Apr 1998 12:26:01 -0500, you wrote:

->i know there must be programs out there that do this, the best i could do is
->verify that my http://www.needhams.com emp-20 supports split eproms, but it loads
->the file and splits it when it programs the devices.
->
->
->{Original Message removed}

1998\04\18@065544 by Andy Kunz

flavicon
face
At 12:44 PM 4/17/98 -0700, you wrote:
>Hello,
>
>        I finished today my PIC17C44 board with 2 external EPROM, and
>would like to know if someone has a program to split my program in 2
>files to be recorded in my two external EPROM.

mIGUEL,

What are you doing for emulating?  I'm embarking on a PIC17 with ext memory
myself.

Andy

==================================================================
                    Andy Kunz - Montana Design
         Go fast, turn right, and keep the wet side down!
==================================================================

'intel.exe 16bit hex files'
1998\04\19@204116 by ashley

flavicon
face
hello,
anybody got or know where to find the prog file       INTEL.EXE   if so drop me
a line or better still send the file.

cheers ash

1998\04\19@230121 by Ari Wahyudi

flavicon
face
Hi ashley..
 what the purpose of that file?

cheers,

-ari-


On Sun, 19 Apr 1998, ashley barnett wrote:

> hello,
> anybody got or know where to find the prog file       INTEL.EXE   if so drop
me
> a line or better still send the file.
>
> cheers ash
>

1998\04\20@132942 by ashley barnett

flavicon
face
Apparantly it produces 16Bit hex files
which I need for a particular programmer which will utilise my henk schaer
parrallel port programmer
ash - uk -
on 20 Apr 98, Ari Wahyudi wrote...


{Quote hidden}

me
>> a line or better still send the file.
>>
>> cheers ash
>>
>
>


'OT: X-files movie has a Basic Stamp 1 (I think)'
1998\06\20@235713 by David Schmidt
flavicon
face
I think I saw a basic stamp 1 in the new X-files movie.
Check out the timer for the bomb carefully.
FWIW, I hate it when I see overly complicated alarm timers being
used in hollywood bombs.  And why does even the electronic ones
'tick'?

Dave

1998\06\21@003523 by paulb

flavicon
face
David Schmidt wrote:

> FWIW, I hate it when I see overly complicated alarm timers being
> used in hollywood bombs.  And why do even the electronic ones
> 'tick'?

 FWIW, if I *were* going to set a bomb timer, I'd sure like plenty of
feedback about it being armed, and how much time I had to evacuate!
Ergo, display and piezo sounder.

 Of course, if it was under $200 worth of bomb (not too likely in a
military sense) or if I was on a *really* low budget, a 12C508 plus a
VMOS-FET and a single LED would do.

 Cheers,
       Paul B.

1998\06\21@030051 by Virtual

picon face
> I think I saw a basic stamp 1 in the new X-files movie.
> Check out the timer for the bomb carefully.
> FWIW, I hate it when I see overly complicated alarm timers being
> used in hollywood bombs.  And why does even the electronic ones
> 'tick'?
>
> Dave

 Thats the first thing that popped into my mind when I saw it on the
left side of that circuit board.

1998\06\21@130611 by David VanHorn

flavicon
face
>I think I saw a basic stamp 1 in the new X-files movie.
>Check out the timer for the bomb carefully.
>FWIW, I hate it when I see overly complicated alarm timers being
>used in hollywood bombs.  And why does even the electronic ones
>'tick'?
>
>Dave

Dramatic effect.

Most movie bombs are so pathetic.. The good news is that apparently the real
ones are even lamer.

Although it's tempting to continue discussing this, I think i'll pass.

1998\06\21@152842 by Mark Willis

flavicon
face
Virtual wrote:
>
> > I think I saw a basic stamp 1 in the new X-files movie.
> > Check out the timer for the bomb carefully.
> > FWIW, I hate it when I see overly complicated alarm timers being
> > used in hollywood bombs.  And why does even the electronic ones
> > 'tick'?
> >
> > Dave
>
>   Thats the first thing that popped into my mind when I saw it on the
> left side of that circuit board.

 For munitions, I always liked R. Heinlein's talking grenade idea (pull
the pin, throw it, it announces "I am a bomb, three, two, one, <wham>".

 For a "time bomb", wouldn't it make sense if it only beeped or clicked
for the first few seconds, after that the LED just stayed lit, so the
person arming it knows it's armed, after that it's moot;  if you see the
LED on, you know to run like your life depends on it, IF you know it's a
bomb that is!?!

 Do any of us WANT to think like terrorists, really, though?!

 Mark Willis, mwillisspamspamnwlink.com

1998\06\21@172637 by Herbert Graf

picon face
{Quote hidden}

       Ya I noticed that chip in the movie too, looks liked they wiped it out
slightly or something. I do wonder why in every movie the bomb has a
fantasic LED or even LCD display, kinda unrealistic, but I guess that would
take some of the drama away, oh well... TTYL

1998\06\22@004838 by tjaart

flavicon
face
> Virtual wrote:
> >
> > > I think I saw a basic stamp 1 in the new X-files movie.
> > > Check out the timer for the bomb carefully.
> > > FWIW, I hate it when I see overly complicated alarm timers being
> > > used in hollywood bombs.  And why does even the electronic ones
> > > 'tick'?

You mean it is even more bull than the X-files itself? <G>

--
Friendly Regards

Tjaart van der Walt
spam_OUTtjaartspam_OUTspamspam_OUTwasp.co.za

Add your voice !!
Vote at the Great G Com Public Vote. Go to :
http://www.wasp.co.za/~tjaart/gcomvote.html

|--------------------------------------------------|
|                WASP International                |
|R&D Engineer : GSM peripheral services development|
|--------------------------------------------------|
|SMS 0832123443spam_OUTspamwasp.co.za  (160 chars max)|
|     http://www.wasp.co.za/~tjaart/index.html     |
|Voice: +27-(0)11-622-8686  Fax: +27-(0)11-622-8973|
|          WGS-84 : 26¡10.52'S 28¡06.19'E          |
|--------------------------------------------------|

1998\06\22@070238 by Caisson

flavicon
face
----------
> Van: David Schmidt <RemoveMEdschmidtKILLspamspam@spam@SILCOM.COM>
> Aan: PICLISTspamBeGonespam.....MITVMA.MIT.EDU
> Onderwerp: OT: X-files movie has a Basic Stamp 1 (I think)
> Datum: zondag 21 juni 1998 5:10
>
> I think I saw a basic stamp 1 in the new X-files movie.
> Check out the timer for the bomb carefully.
> FWIW, I hate it when I see overly complicated alarm timers being

What does FWIW stand for ?

> used in hollywood bombs.

It's hollywood ... Could you, as observer, read a small 6 mm high display
from a distance of several meters ?  Would you _want_ to, as someone
waching the show ?  Is it a nice show to see someone put a happily coloured
box in a corner and push a single button (the timer was pre-programmed,
using a pencil to tap the buttons) ?

> And why does even the electronic ones 'tick'?

So the blind person who would be installing it would know he activated it,
and the "good guy" would know where to look for the damn thing or when to
run :-)

>
> Dave

Greetz,
 Rudy Wieser

1998\06\22@093932 by paulb

flavicon
face
Herbert Graf wrote:

> I do wonder why in every movie the bomb has a fantasic LED or even LCD
> display, kinda unrealistic, but I guess that would take some of the
> drama away, oh well... TTYL

 Yes, If I happened across one such I'd be sorely tempted to whip out
the nail clippers (nearly said pocket knife, but I have found nail
clippers to be the best for this!) and remove the timer/ display for
more "practical" use!

 Cheers,
       Paul B.

1998\06\22@094520 by Andy Kunz

flavicon
face
>   Do any of us WANT to think like terrorists, really, though?!

Why not just think like SWAT or Special Ops guys?

Andy

==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================

1998\06\22@112124 by Martin Green

flavicon
face
    Over-engineering?

    Martin.


______________________________ Reply Separator _________________________________
Subject: OT: X-files movie has a Basic Stamp 1 (I think)
Author:  pic microcontroller discussion list <KILLspamPICLISTspam.....MITVMA.MIT.EDU> at
Internet
Date:    6/20/98 8:10 PM


I think I saw a basic stamp 1 in the new X-files movie.
Check out the timer for the bomb carefully.
FWIW, I hate it when I see overly complicated alarm timers being
used in hollywood bombs.  And why does even the electronic ones
'tick'?

Dave

1998\06\22@113010 by John A. Craft

flavicon
face
At 08:10 PM 6/20/98 -0700, you wrote:
>I think I saw a basic stamp 1 in the new X-files movie.
>Check out the timer for the bomb carefully.
>FWIW, I hate it when I see overly complicated alarm timers being
>used in hollywood bombs.  And why does even the electronic ones
>'tick'?
>

I think you're right!, I saw the same thing, and watched carefully the
second time and it appears to be one.  They scratched all the writing off
the chips though.

Jc.

1998\06\22@155535 by Martin Green

flavicon
face
    FWIW = For What It's Worth.


______________________________ Reply Separator _________________________________
Subject: Re: X-files movie has a Basic Stamp 1 (I think)
Author:  pic microcontroller discussion list <spam_OUTPICLISTspamKILLspamMITVMA.MIT.EDU> at
Internet
Date:    6/22/98 10:29 AM


----------
> Van: David Schmidt <RemoveMEdschmidtRemoveMEspamEraseMESILCOM.COM>
> Aan: KILLspamPICLISTspamspamBeGoneMITVMA.MIT.EDU
> Onderwerp: OT: X-files movie has a Basic Stamp 1 (I think)
> Datum: zondag 21 juni 1998 5:10
>
> I think I saw a basic stamp 1 in the new X-files movie.
> Check out the timer for the bomb carefully.
> FWIW, I hate it when I see overly complicated alarm timers being

What does FWIW stand for ?

    <SNIP>

1998\06\22@155545 by Mark Willis

flavicon
face
Andy Kunz wrote:
>
> >   Do any of us WANT to think like terrorists, really, though?!
>
> Why not just think like SWAT or Special Ops guys?
>
> Andy
>
> ==================================================================
> Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
> ==================================================================

 Read too many "Danger: UXB" books in high school, about German WWII
bomb disarmament backup fuse schemes, and have seen too many of the
films on the, ah, pitfalls of bomb disposal.  And I have far too nasty
of a creative mind (though fascinated with 'gadgets', I just prefer
'positive' applications - love doing medical electronics & safety
avionics!)

 I like my hands, I want to keep them usable, I would prefer to let
someone/something else - a Bomb disposal expert, or better yet a Robot!
- handle bombs, when at all possible.

 (And I'm a little bothered by the tendency of all the Special Ops guys
to wear ski masks etc., but let's not get into that.  Dress like a
terrorist, can confuse people's psychology...)

 Let's just not & say we didn't!

 Mark

1998\06\22@161023 by William Chops Westfield

face picon face
    >> And why does even the electronic ones 'tick'?

Well, the original engineering proposal was for a simple LED indication
of "armed."  There were some worries about daylight visibility of LEDs,
however, and by the time marketing was satisfied we had implemented the
three-speaker 3x-oversampled digital dolby surround sound implementation
of "ticking" that you see in the final device.

:-)
BillW

1998\06\23@083919 by Andy Kunz

flavicon
face
>  (And I'm a little bothered by the tendency of all the Special Ops guys
>to wear ski masks etc., but let's not get into that.  Dress like a
>terrorist, can confuse people's psychology...)

Ever wonder why New Jersey State Troopers wear Gestapo uniforms?

The guys in black aren't the problem, it's the people giving the orders.

Andy

==================================================================
Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA
==================================================================


'Interpreting .HEX Files?'
1998\07\09@201709 by Mike Hamilton
picon face
I have been trying to figure out how to read .hex files created by the mpasm
compiler.  Does anyone know how to interpret them or where I could find the
info?

1998\07\09@204148 by Jerry Meng

flavicon
face
At 04:08 PM 7/9/98 -0700, you wrote:
>I have been trying to figure out how to read .hex files created by the mpasm
>compiler.  Does anyone know how to interpret them or where I could find the
>info?

Hi Mike,

If your MPASM is a windows version, I am sure you can find the info
in the help, where
----------------------------------------
Appendix A.  Hex File Formats

Introduction
Highlights
Hex File Formats
----------------------------------------

Good Luck

Jerry

1998\07\09@210046 by ssj

flavicon
face
Jerry Meng escreveu:

> At 04:08 PM 7/9/98 -0700, you wrote:
> >I have been trying to figure out how to read .hex files created by the mpasm
> >compiler.  Does anyone know how to interpret them or where I could find the
> >info?

if you want i've done a dos program to convert .hex files to plain binary format
,

to send to an eprom...

'Assembler (was: Interpreting .HEX Files?)'
1998\07\10@043000 by org Hager

flavicon
face
On Thu, 9 Jul 1998, T_BoNe wrote:

> Jerry Meng escreveu:
>
> > At 04:08 PM 7/9/98 -0700, you wrote:
> > >I have been trying to figure out how to read .hex files created by the mpas
m
> > >compiler.  Does anyone know how to interpret them or where I could find the
> > >info?
>
> if you want i've done a dos program to convert .hex files to plain binary form
at,
>
> to send to an eprom...

While we're at it... There's still another assembler which is capable of
handling PIC code: AS by A. Arnold. It produces a proprietary object
format which can be converted to hex (all formats) or binary using
provided tools. The UNIX version is distributed in source code (ANSI C)
and compiles flawlessly under Linux (DOS and OS/2 versions are also
available).

Pros: runs under UNIX (big BIG +), assembles PIC and loads of other codes
     -- virtually every MPU that you ever wanted to get to know ;-),
     source code provided

Cons: different from MPASM (of course) as far as pseudo-instructions are
     concerned, definitions for registers and bits need some fiddling
     to be compatible with Microchip's conventions (no problem
     because they reside in .inc files), no .cod file for MPSIM
     (the .hex file can still be loaded and executed, though).

AS can also produce a file with symbol information for debugging; maybe
one could write a converter to .COD format...

The Linux version is available at

ftp://sunsite.unc.edu/pub/Linux/devel/lang/assemblers/asl-<version>.tar.gz

The current version is 1.41r6, AFAIK.


Georg.

'Interpreting .HEX Files?'
1998\07\10@084801 by Peter L. Peres

picon face
On Thu, 9 Jul 1998, Mike Hamilton wrote:

> I have been trying to figure out how to read .hex files created by the mpasm
> compiler.  Does anyone know how to interpret them or where I could find the
> info?

Hex files for PICs on Intel are raw binary data. Since each word on a PIC
takes more than one byte, they are packed in two bytes each, with some
bits unused.

To edit the file, use a hex editor (ex: Norton Diskedit will do that). To
make sense of them, you need a simulator or a disassembler. The simulator
can execute such a file directly, the disassembler can turn it into source
code (assembly) minus the symbols.

Peter

1998\07\10@124908 by Paul BRITTON

flavicon
face
On Thu, 9 Jul 1998, Peter L. Peres wrote:

>
>Hex files for PICs on Intel are raw binary data. Since each word on a PIC
>takes more than one byte, they are packed in two bytes each, with some
>bits unused.
>
>To edit the file, use a hex editor (ex: Norton Diskedit will do that). To
>make sense of them, you need a simulator or a disassembler. The simulator
>can execute such a file directly, the disassembler can turn it into
source
>code (assembly) minus the symbols.
>
>Peter

.HEX files are not in raw binary form, they are ASCII format, each line
being a data record,terminated in a CR/LF, with the following format:

:BBAAAATTHHHHHHHH......HHHHCC

Where:
BB     Two digit hex byte count representing the number of data words
that will appear on the line.

AAAA   Four digit hex address representing the starting address for the
data record.

TT     Two digit record type that will always be '00' except for the
end-of-file record which is set to '01'

HH     Two digit hex data word

CC     Two digit hex checksum that is the two's complement of the sum of
all preceding bytes in the record including the prefix bytes.


The format was originally for 8 bit data (INTEL Intellec 8/MDS Format) but
has been extendeed for 12,14,16 bit data words by having two bytes for
each address location, in low byte,high byte order (little endian).


So if you open this with a hex editor you will see something like:

3A 31 30 30 30 30 30 30 30 47 42 30 34 ............  :10000000FA04.......

Which, while not being impossible to work with, is probably not the best
way to do it, just use Notepad, Wordpad, DOS Edit, Edlin or better still
PFE or WINedit, you can even use Word, but I'm not a masochist!


TTFN

Paul

1998\07\10@154115 by Peter L. Peres

picon face
On Fri, 10 Jul 1998, Paul BRITTON wrote:

> .HEX files are not in raw binary form, they are ASCII format, each line
> being a data record,terminated in a CR/LF, with the following format:

My impression was, that .HEX files are raw images (.HEX == .BIN). You may
be right, though. Anyway, most reasonable tools call this format 'object
format', and give it an extension of .OBJ or .S19...

> The format was originally for 8 bit data (INTEL Intellec 8/MDS Format) but
> has been extendeed for 12,14,16 bit data words by having two bytes for
> each address location, in low byte,high byte order (little endian).

imho, wrong. The default .OBJ file output by PICALC under DOS is INHX16
which is big endian. The INHX8M is the little endian version (and it
confused the hell out of the 1st parser I wrote for .OBJ files - the only
way to automatically tell the type is rewriting, as the checksum applies
correctly for each line if you swap the bytes around).

> Which, while not being impossible to work with, is probably not the best
> way to do it, just use Notepad, Wordpad, DOS Edit, Edlin or better still
> PFE or WINedit, you can even use Word, but I'm not a masochist!

How can these edit 8-bit codes ? I think that all Windows programs will
pop up something (a fuse ?) sooner or later as you try entering secret
codes <G>.

Peter

1998\07\13@064147 by Caisson

flavicon
face
> Van: Mike Hamilton <mikeh9spamspamEARTHLINK.NET>
> Aan: RemoveMEPICLISTspamBeGonespamRemoveMEMITVMA.MIT.EDU
> Onderwerp: Interpreting .HEX Files?
> Datum: vrijdag 10 juli 1998 1:08
>
> I have been trying to figure out how to read .hex files created by the
mpasm
> compiler.  Does anyone know how to interpret them or where I could find
the
> info?

Yes, someone does :-)

It's (if I'm not mistaken) the Intel HEX-format

See below:

: 10 0150 00 8F0D900D901010158E010C1703100800 D4
|  |     |      |     |
   |
|  |     |      |     |
   \- Checksum
|  |     |      |     \- data-bytes
|  |     |      \- Record -type (00 - Data, 01 - end-of-file)
|  |     \- Storage-adress (divide by two for 14/16 bit cores)
|  \- Number of DATA bytes
\- Start char

Checksum :  Subtract ALL hex-bytes from 0x00 (including the Checksum-byte)
the result should be 0x00 (Or add all bytes EXCUSIVE the checksum.  It
should than _match_ the checksum)

CTRL-chars in front/back are ignored (CR, LF,TAB,SPACE).

Want/need to know more ?  Let me know.

Greetz,
 Rudy Wieser

1998\07\13@200743 by Sean Breheny

face picon face
Hi Peter and others,

Actually, the standard Intel .HEX format is NOT raw binary data. It
consists of ASCII text numerals and letters which represent hex numbers, i.e.

A0B355

would be the hex number A0B355, just as it looks. Therefore, you can view
the file in any text editor, you should not need a hex editor. The .HEX
files produced by MPASM, I think, also follow this standard, but I cannot
be 100% sure since I do not usually use MPASM.

I am at work right now, but at home I have a file which describes the
.HEX format. I got it off the web. IF you do a search, you will probably
come up with it.

Good Luck,
Sean




On Fri, 10 Jul 1998, Peter L. Peres wrote:

{Quote hidden}

1998\07\14@004858 by paulb

flavicon
face
Peter L. Peres wrote:

> My impression was, that .HEX files are raw images (.HEX == .BIN).

 No, that's exactly the point; .HEX =/= .BIN  Very specific here.

> Anyway, most reasonable tools call this format 'object format', and
> give it an extension of .OBJ or .S19...

 I'm not sure about the .OBJ bit.  While the .HEX format has much
embedded information; addresses for isolated segments, "type" fields and
"run" addresses, I understand .OBJ format has much more, linking data to
be specific.  And this format can *not* be .S19 for the very simple
reason - it *isn't* S1/S9 format!

> The default .OBJ file output by PICALC under DOS is INHX16 which is
> big endian.  The INHX8M is the little endian version (and it
> confused the hell out of the 1st parser I wrote for .OBJ files - the
> only way to automatically tell the type is rewriting, as the checksum
> applies correctly for each line if you swap the bytes around).

 Well, sounds like you *have* looked into this bit!

> How can these edit 8-bit codes?  I think that all Windows programs
> will pop up something (a fuse ?) sooner or later as you try entering
> secret codes <G>.

 But .HEX files do not *contain* 8-bit codes.  They are totally 7-bit
*text* in which control characters have their ASCII meaning.  Indeed,
any ASCII editor will edit them just fine.  You can edit the hex to
alter the 8-bit values it *represents* as long as you fix the checksum
accordingly.
--
 Cheers,
       Paul B.

1998\07\14@023335 by Dr. Imre Bartfai

flavicon
face
Only format correction:

The spaces in the muster line don't exists. They are inserted here only
for the sake of readibility. All numbers are to be interpreted in hex.

If one wants to edit that line, the checksum and possibly the length field
must be maintained. The change in the length can affect the storage
address field also. So I advice to follow the following schema:

1. Read in and interpret all data in a contiguous storage area.
2. Edit this storage area as you want.
3. Write out it in the appropriate format.

Imre


On Mon, 13 Jul 1998, Caisson wrote:

{Quote hidden}

'Pragma Statements, Linker Files, and Memory Module'
1998\07\28@190751 by Chris Adamson

flavicon
face
Hi!

We are working with MPLAB-C17 v2.20, MPLINK v1.10.05, Linker, and the
latest version of MPLAB IDE (3.99.06). Also we are using Rice 2.30.01 with
the RICE17A emulator. Our target processor is the PIC17C752.

My general question is if anyone has a really good linker file tutorial
which is a tad more explicit than the one provided by Microchip... ie:
explains exactly how pragma statements and linker files interact.

Also, if anyone has any good examples of pragma usage with certain memory
modules I would greatly appreciate it.

We thought we had this linker file nightmare licked with section
declaration and related pragma directives... but sometimes we still get
errors such as:
>Error - could not resolve symbol 'IdentecPIV' in file '.\PORT.O'.
>Errors    : 1
>Warnings  : 0
>
...When port.c (contains main() ) calls the function IdentecPIV() and both
IdentecPIV() and main() have the same pragma statement: "#pragma code
eprom" where "eprom" is a section defined in the linker file!!!

CODEPAGE   NAME=page     START=0x28     END=0x1FFF
SECTION NAME=eprom      ROM=page


If you have any suggestions or similar problems which you have found a
solution for then please email me back.

Thanks for your time.
Chris Eh?


Chris Adamson, Programmer
Identec Solutions
cadamsonspamBeGonespamspamBeGoneidentec.com
phone: 1-250-860-6567

1998\07\28@201833 by Smargiassi

flavicon
face
So I not the only one.  I have been working on the link file for a few
weeks.  Will right later when I am better informed.

Paul Smargiassi

Chris Adamson wrote:
{Quote hidden}

1998\07\28@203547 by Peter Schultz

flavicon
face
Hi,
I just arived back from the MASTER'S 98 seminar. I took a C17 class just to
see how it is. I find it pretty difficult to use .
Sometimes even the Microchip guys have trouble to find out what is going on.
We have lot of trouble to compiling and linking. Most of the time caused by
not using the correct library model (small,.....) or in the project setup
files was missing.
I hope this help,
Good luck,
Peter

1998\07\29@004953 by Eric Smith

flavicon
face
Peter Schultz <spam_OUTschupetSTOPspamspamDVP.COM> wrote:
> I just arived back from the MASTER'S 98 seminar. I took a C17 class just to

When and where was this Master's 98 seminar announced?  The first I heard of
it was when Andy Warren asked if he could use a snippet of my code, and I
was not able to find any info about it on the Microchip web site :-(

1998\07\29@130204 by Peter Schultz

flavicon
face
I think it was not advertised. Thru reps they try to collect working
professionals, from whom they will benefit later ( some big order or
commitment beside Microchip ). Just for support this theory, in the RF
class, the leader of the presentation said, this can be done only with PIC
because the rest of the 8 bit micros are too slow. When I said how about
Atmel AVR, they try to make a fun of me, saying hey You are in the wrong
seminar. By the way they really impressed me the way they are doing bussines
and how they did this seminar. Also they give out lot of important info.

{Original Message removed}

1998\07\29@151135 by James Grosbach

picon face
The pragmas and linker script entries listed below should work just fine. They
will locate the section named 'eprom' into page 0 of the target.

The linker error described means that the linker isn't able to find the
IdentecPIV() symbol in any of the modules passed to it. As a first step, check
to make sure that the file which contains IdentecPIV() is a member of the
project being built. Keep in mind that the compiler and linker are case
sensitive, so the symbols IdentecPIV() and identecPIV(), for example, are
distinct.

   Jim Grosbach
   Microchip Technology

____________________Reply Separator____________________
Subject:    Pragma Statements, Linker Files, and Memory Modules Oh my!
Author: RemoveMEPICLISTspamspamMITVMA.MIT.EDU (Chris Adamson)
Date:       7/28/98 4:07 PM

Hi!

We are working with MPLAB-C17 v2.20, MPLINK v1.10.05, Linker, and the
latest version of MPLAB IDE (3.99.06). Also we are using Rice 2.30.01 with
the RICE17A emulator. Our target processor is the PIC17C752.

My general question is if anyone has a really good linker file tutorial
which is a tad more explicit than the one provided by Microchip... ie:
explains exactly how pragma statements and linker files interact.

Also, if anyone has any good examples of pragma usage with certain memory
modules I would greatly appreciate it.

We thought we had this linker file nightmare licked with section
declaration and related pragma directives... but sometimes we still get
errors such as:
>Error - could not resolve symbol 'IdentecPIV' in file '.\PORT.O'.
>Errors    : 1
>Warnings  : 0
>
...When port.c (contains main() ) calls the function IdentecPIV() and both
IdentecPIV() and main() have the same pragma statement: "#pragma code
eprom" where "eprom" is a section defined in the linker file!!!

CODEPAGE   NAME=page     START=0x28     END=0x1FFF
SECTION NAME=eprom      ROM=page


If you have any suggestions or similar problems which you have found a
solution for then please email me back.

Thanks for your time.
Chris Eh?


Chris Adamson, Programmer
Identec Solutions
TakeThisOuTcadamsonspamspamRemoveMEidentec.com
phone: 1-250-860-6567
------------------------- Original message header:
>MAIL FROM:<KILLspamowner-piclistspamspamspam_OUTMITVMA.MIT.EDU>
>RCPT TO:<james.grosbachRemoveMEspamccmail.Microchip.COM>
>DATA
>Received: from prometheus.Microchip.COM (EraseMEfirewall-userSTOPspamspamRemoveMEprometheus-gate.Microchi
p.COM [198.175.253.129]) by titan.Microchip.COM (8.6.12/8.6.12) with SMTP id QAA
06862 for <spam_OUTJames.GrosbachRemoveMEspamEraseMEMicrochip.COM>; Tue, 28 Jul 1998 16:07:21 -0700
>Received: by prometheus.Microchip.COM; id AA01885; Tue, 28 Jul 98 16:36:08 MST
>Received: from vms.dc.lsoft.com(206.241.13.27) by prometheus.Microchip.COM via
smap (3.2) id xma001633; Tue, 28 Jul 98 16:35:36 -0700
>Received: from PEAR.EASE.LSOFT.COM (206.241.12.19) by VMS.DC.LSOFT.COM (LSMTP f
or OpenVMS v1.1b) with SMTP id <TakeThisOuT12.FF91A945RemoveMEspam@spam@VMS.DC.LSOFT.COM>; Tue, 28 Jul 1998
19:06:34 -0500
>Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV release 1.8c) with NJ
E id 2610 for EraseMEPICLISTRemoveMEspamMITVMA.MIT.EDU; Tue, 28 Jul 1998 19:07:51 -0400
>Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2b/1
.8b) with BSMTP id 6352; Tue, 28 Jul 1998 19:06:01 -0400
>Received: from *unknown [207.194.80.200] by mitvma.mit.edu (IBM VM SMTP V2R4a)
via TCP with SMTP ; Tue, 28 Jul 1998 19:05:59 EDT
>X-Warning: mitvma.mit.edu: Could not confirm that host  [207.194.80.200] is zeu
s.cnx.net
>Received: from cadamson.cnx.net (unverified [209.53.89.97]) by zeus.cnx.net (Ro
ckliffe SMTPRA 2.1.5) with SMTP id <spamB0000264551.....spamspamzeus.cnx.net> for <PICLIST@MITVM
A.MIT.EDU>; Tue, 28 Jul 1998 16:05:23 -0700
{Quote hidden}

------------------------- End of message header.


'Using Lib/modules and linking files'
1998\08\21@064256 by Quentin
flavicon
face
Hi
I want to start using lib files and modules in my programming, but I am not
sure how to structure it. I will be using MPLINK (part of MPLAB).

The Help files and tutorial only explain how to use it, but not much on how
to plan it.

The way I figured on how it should be done is:

1.Header file (.h, .inc)
2.Main program.asm
3.Module file.asm (such as in my case, a LCD driver)
4 etc. More module files for other functions as I need it.

Main program and module files refer to header file for registers and bits.

Anybody care to comment on the above and on how it should be done?
Is there a web page somewhere where I can read up more about this?

Thanks
Quentin


'Mplab 3.99.23 (Adding files to project?)'
1998\09\15@103819 by Harri Suomalainen
flavicon
face
How an earth do you add files to a project with MPLAB 3.99.23?
I seem to find no way and unfortunately documentation is for v3.40.

Anyone?

Thanks, Harri


--
Harri Suomalainen     RemoveMEhabaKILLspamspamRemoveMEcc.hut.fi

We have phone numbers, why'd we need IP-numbers? - a person in a bus

1998\09\15@112308 by Quentin

flavicon
face
Harri Suomalainen wrote:
>
> How an earth do you add files to a project with MPLAB 3.99.23?
> I seem to find no way and unfortunately documentation is for v3.40.
>
> Anyone?

There is an updated Tutorial on Microchip's webpage on how to make a
project. The Tutorial in the current manual is incorrect (outdated rather).

Quentin


'NC on WIN3.11 hangs after .bat files'
1998\10\08@191041 by Leo
picon face
Hi,

I have tedious a problem, probably at little of OT, but is happens during
developing for PIC software/hardware.

The my development environment is:

A pentium 200 Mhz used to develop with MPLAB, connected in LAN NETBEUI with
a slave PC as follow:

PC 486 66 Mhz wirh 16 MB RAM
DOS 6.22
WIN 3.11
LAN protocol NETBEUI
NORTON COMMANDER 5.0 for DOS

I use on this machine WIN 3.11 to stay connected to the LAN at the Pentium
200 PC, and use this old PC (it work perfecly) to send hex files to the
target PIC.

To copy the hex file between the Pentium to the 486 I have written a simple
copy batch routine to avoid to rewrite the entire copy command.

Using the NORTON COMMANDER to start the batch routine is very usefull,
simple pressing enter to start the batch file, and more easy to view or edit
files.

Some times, apparently without any external cause, after the correct end of
sending hex file to the PIC, when the NORTON should be restart, it take more
than 20/30 seconds to restart. It happens about one time on every tree/four
times.

I have experimented that any batch routines started trougth NORTON COMMANDER
sometimes take more time to restart.

I have tested and experimented the same problem on another PC with WIN 3.11.

Anyone have any idea about this noiouse restart delay??

Thanks for your time.


Ciao

Leonardo


'New files Posted'
1998\11\15@023601 by Jim Robertson
flavicon
face
I have posted a new version of WinTM4 and WinPSP (Win32 drvier for the
Picstart Plus) at the url below.

Many little problems fixed.

NOTE wintm4  "Onboard" feature must not be used without firmware upgrade.

Jim
--------------------------------------------------------
Jim Robertson
Email: TakeThisOuTnewfoundspampipeline.com.au

http://www.pipeline.com.au/users/newfound
--------------------------------------------------------


'Looking RFC's files'
1998\12\04@084929 by Ermes Romero
flavicon
face
Hello everybody,

         People from PIC . I am looking for RFC's files (675,700, 721,
761, 793).
         Do you know where can I get this information in the Internet?

                   ERMES
            spamBeGoneeromeroKILLspamspamTakeThisOuTentelsa.entelnet.bo

1998\12\04@093349 by ajward

flavicon
face
There are many places on the Web for RFCs. I use

http://www.landfield.com/rfcs/rfc-activeV.html

-----------
Andy Ward

ADC Metrica / Spencer House / 23 Sheen Road / Richmond / Surrey TW9 1BN
Tel: +44 181 332 7400
Fax: +44 181 332 7403
Email: EraseMEandy.ward.....spamKILLspamadc.metrica.co.uk

> {Original Message removed}

'[OFF-TOPIC] Re: Looking RFC's files'
1998\12\04@093834 by Wolfgang Kynast

picon face
ER>           People from PIC . I am looking for RFC's files (675,700, 721,
ER> 761, 793).

try http://ds.internic.net/

Regards,
Wolfgang
--
PIC links:
http://people.frankfurt.netsurf.de/wky/pic.htm

'Looking RFC's files'
1998\12\04@143855 by Mark Crosbie

flavicon
face
In message <spam042566D0.004B8664.00spamentelsa.entelnet.bo>, Ermes Romero writes:
>Hello everybody,
>
>          People from PIC . I am looking for RFC's files (675,700, 721,
>761, 793).
>          Do you know where can I get this information in the Internet?

Check out http://www.faqs.org/rfcs for a hyperlinked RFC index.

RFCs 675 and 761 are out of date and are superseded by RFC 793 (the TCP
specification RFC).

Mark.

>                    ERMES
>             eromeroSTOPspamspamentelsa.entelnet.bo
>

'[OT] GHOSTSCRIPT - handle PCB files from eg PROTEL'
1998\12\19@000805 by Russell McMahon

picon face
The free Postscript and PDF print file handler mentioned recently for
handling files from PROTEL or most any other PCB or other package is
Ghostscript. It can be found at -

http://www.cs.wisc.edu/~ghost/aladdin/doc/New-user.htm

There is lots of covering info and versions for many operating
systems (MAC, 95, NT, OS/2, DOS .... and even source code to keep the
Linux aficionados happy.


'MPLAB4.0 - adding files to project'
1999\01\05@081259 by Harrison Cooper
flavicon
face
I've finally updated my MPLAB files to 4.0, but I am confused in the fact
that there doesn't seem to be the same simple way to add source files. I can't
even see where you add them to a project, or am I missing something simple here.
Probably am, since I was doing this at 4am...

1999\01\05@092614 by Darrel Johansen

picon face
Harrison Cooper wrote:
>
> I've finally updated my MPLAB files to 4.0, but I am confused in the fact
> that there doesn't seem to be the same simple way to add source files. I can't
> even see where you add them to a project, or am I missing something simple her
e.
> Probably am, since I was doing this at 4am...

Harrison,

Make sure the language tool applied to your project (top) node is
MPLINK.  If it is set to MPASM, you can only have one source file.
With MPLINK you can have many.  Check out the new help --it has a
tutorial for the Project Manager.  Or download the new MPLAB User's
Guide.
--
___________________________
|     Darrel Johansen     |
|     tempe,  arizona     |
|   darreljSTOPspamspamKILLspamprimenet.com  |
|_________________________|

'stimulus files'
1999\01\11@131039 by Eric J. Marang

flavicon
face
Can someone point me to a web resource that more fully explains the
stimulus? The only reference I have found thus far is the one page in the
MLAB manual.

Specifically,  to what is the 'insertion' point referenced with respect to
the source code, line number, clock cycles etc.?

Can you list any one or set of  I/O pins, i.e.( RB0, RB4, RA2) or is the
format fixed?

Eric J. Marang
@spam@crsc06.....spamspamemail.mot.com

1999\01\11@180231 by Ray Doerr

picon face
part 0 2614 bytes content-type:application/octet-stream; (decoded 7bit)


CYCLE    RBO
1                1                ; comment
101            0                ;comment

   To be able to use this very simple file you would start the debugger,
either single step or whatever.  Then select "Debug/Simulator Stimulus/Pin
Stimulus/Enable" from the menu.  Then select the Stimulus file you want to
use.  This will enable your file.  This still will not work.  The Stimulus
function is tied directy to the "Windows/Stop Watch" function in the menu.
Now if you click on the Zero button in the "Stop Watch" window, this will
reset the MPLAB back to cycle 0, note this does not reset the PIC simulator
function.  I guess what I am trying to explain is that every time you click
the Zero button on the "Stop Watch" window your Stimulus file will start
over again from cycle 0.  This is very usefull when you want to repeated
test the input signal on RB0.
   What I don't find usefull and have highlighted to Microchip is that it
is very clumbsy to enable and disable the Stimulus file, and there can only
be one file active at a time.  One file is fine for most cases because you
can specify multiply pins in the file, but what I have tried to do is create
multiply Stimulus files to emulate different buttons on IR remote control.
I asked Microchip to consider being able to configure a button in the Async
Stimulus window to use a certain Stimulus file, this way you could simply
enable any number of stimulus files with a simply click.
   Anyway attached is my example of a Stimulus file that I use to emulate
the CH+ button on my Sony TV Remote.

I hope this helps, if not please send me a Email and I will try to explain
it better.


Thanks
Ray Doerr


{Original Message removed}

'Stimulus files and MPLAB V4.00'
1999\01\20@120806 by Mike Montgomery

flavicon
picon face
HI
I am trying to use a stimulus pin file with MPLAB version 4.00 but very
time it crashes MPLAB does this function work ?
mike


-----------------------------------------------------------------
Mike Montgomery

Gardown can be downloaded from my home page http://www.anali.demon.co.uk
-----------------------------------------------------------------

'RC5 infrared project files'
1999\01\20@123908 by Alan Nickerson

flavicon
face
I have posted Brian Aase's infrared RC5 project to the PICList Archive.
This has the updated schematics.


http://www.iversoft.com/piclist/

Enjoy
Alan Nickerson

'Stimulus files and MPLAB V4.00'
1999\01\20@133039 by Mike Morrin

flavicon
face
At 05:05 pm 1/20/99 +0000, Mike Montgomery wrote:
>HI
>I am trying to use a stimulus pin file with MPLAB version 4.00 but very
>time it crashes MPLAB does this function work ?

It works for me, but it did cause MPLAB to crash when I accidently used a
text file with the wrong format.

regards,

Mike

1999\01\20@200240 by Ray Doerr

picon face
I have had no problem with this feature.


-----Original Message-----
From: Mike Montgomery <spammike.....spam.....ANALI.DEMON.CO.UK>
To: PICLIST.....spamMITVMA.MIT.EDU <KILLspamPICLISTspam_OUTspamMITVMA.MIT.EDU>
Date: Wednesday, January 20, 1999 12:08 PM
Subject: Stimulus files and MPLAB V4.00


HI
I am trying to use a stimulus pin file with MPLAB version 4.00 but very
time it crashes MPLAB does this function work ?
mike


-----------------------------------------------------------------
Mike Montgomery

Gardown can be downloaded from my home page http://www.anali.demon.co.uk
-----------------------------------------------------------------

1999\01\23@020038 by WILLIE W. HO

flavicon
face
----------
> At 05:05 pm 1/20/99 +0000, Mike Montgomery wrote:
> >HI
> >I am trying to use a stimulus pin file with MPLAB version 4.00 but very
> >time it crashes MPLAB does this function work ?
>
> It works for me, but it did cause MPLAB to crash when I accidently used a
> text file with the wrong format.
>
> regards,
>
> Mike
>

try to minimize you r sitmulus pin file size, if it's too large will cause
a crash.

Best Rgds,
Willie HO

'[OT] .COD files (esp Walter Banks)'
1999\01\25@145013 by Scott Dattalo

face
flavicon
face
Primarily for Walter, but...

Could someone please send me a copy of Walter's pascal program that can
read .cod files. I seem to have lost (***) both Walter's email address and
the program.

Thanks,
Scott

(***)
Hucking Fackers polished my SCSI platters with an rm -rf /

1999\01\25@214149 by Eduardo R.

flavicon
face
> Should this be true for symbols too? Walter Banks sent me a pascal program
> that can read .cod files (the symbol file generated by mpasm), though I
> lost it (see why below). It would be relatively easy, though perhaps
> somewhat tedious, to ascertain the .cod file format from this pascal
> program. The more I think about this, the more I think that gpasm should
> generate symbol files in .cod format.
>
> What do you think?

I think that .COD file compatibility would be A Good Thing.  Could we
get the source again from Walter Banks?

--
James Bowman
spam_OUTjamesbspamTakeThisOuTsgi.com
-
To unsubscribe use .....gnupic-request.....spamRemoveMEcichlid.com
Archives http://www.scruz.net/~cichlid/gnupic-archive

At 11:21 AM 1/25/99 -0800, you wrote:
{Quote hidden}

Best wishes
                Eduardo R

AC Power Control project based on PIC
http://www.geocities.com/SouthBeach/Cove/4535
ICQ# 10909825
spam_OUTeriveraTakeThisOuTspamEraseMEumemphis.campus.mci.net

        CHILDHOOD CANCER
"Anyone whose family hasn't been touched by it
should get down on his knees every night and
thank the MAN upstairs"...........SAM COOPER

1999\01\25@221015 by Scott Dattalo

face
flavicon
face
On Mon, 25 Jan 1999, Eduardo R. wrote:

> To unsubscribe use EraseMEgnupic-requestspamBeGonespamKILLspamcichlid.com
> Archives http://www.scruz.net/~cichlid/gnupic-archive

Cross posting!

Walter has kindly resent the .COD format to me again.

I'll begin incorporating the format in to gpasm. (Though I doubt I'll be
ready by the time 0.0.8 is released).


Scott

1999\01\26@041605 by paulb

flavicon
face
Scott Dattalo wrote:

> I seem to have lost (***) both Walter's email address and the program.

 My!  How did fackers get at your disk?
--
 Cheers,
       Paul B.

1999\01\26@161024 by Scott Dattalo

face
flavicon
face
On Tue, 26 Jan 1999, Paul B. Webster VK2BZC wrote:

> Scott Dattalo wrote:
>
> > I seem to have lost (***) both Walter's email address and the program.
>
>   My!  How did fackers get at your disk?

Easily!

But I'm not exactly sure. My strongest suspicion is that they hacked into
my personal isp (interstice) and were able to look at my .bash_history to
see that I often telnet to work. From there they probably obtained my ip
address and username - and if they had a sniffer running my isp, my
password as well. Getting user access to my machine was trivial. Once that
was done, there are known attacks to get root access.  I was running
Redhat 5.1 which is know to have a few security holes (imountd for
example, is one). So I suspect that exploited something there. Once they
had control of my machine, they were able to sniff my subnet and obtain
other people's usernames AND passwords. I know of have a dozen accounts on
other computers that had unauthorized logins. In one account on SRI's
main server they managed to create an ircbot.

I was able to capture enough information to obtain leads on how to capture
these pricks. Our security guys are looking at the evidence. We've been
successful capturing these kind of breakins before, hopefully the same
will be true this time.

My machine was the only that was maliciously destroyed. Fortunately I had
backups of the important  work-related stuff. And depending on you
perspective, I either tragically or joyessly losted 6 months of e-mail
history.

This time I'm better prepared... we'll see what happens.

Scott


'PCB pdf files'
1999\03\01@105834 by Andres Tarzia
flavicon
face
Please, send me the files.

Thank you very much in advance.

Regards,
Andres Tarzia
Technology Consultant, SMART S.A.
e-mail: RemoveMEatarziaspamBeGonespamspamsmart.com.ar

{Original Message removed}

1999\03\01@110022 by RCGipson

flavicon
face
thanks for the files.  i hope you were going to send them to anyone.

roger gipson

'[OT] : Windows 95/98 Files sellected'
1999\03\02@144751 by Mail

flavicon
face
part 0 1362 bytes
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Does Anyone Know how to select all the
&quot;Files&quot; In a &quot;Folder&quot; with a given extention to
be</FONT></DIV>
<DIV><FONT color=#000000 size=2>copied and sent to another &quot;Folder&quot;
without holding the CTRL key and selecting one at a time.</FONT></DIV>
<DIV><FONT size=2>then COPY and Pasting it in the new
&quot;Folder&quot;...?</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2><FONT color=#000000>E.g. </FONT>... COPY
C:\WINDOWS\*.ASM D:\PICSTUFF</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Regards Mark E'Silva</FONT></DIV>
<DIV><FONT color=#000000 size=2><A
href="@spam@saverspamspampta.lia.net">TakeThisOuTsaverKILLspamspam@spam@pta.lia.net</A></FONT></DIV>> <DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV></BODY></HTML>

</x-html>

1999\03\02@150210 by beking

picon face
Sort by type.  Select (highlight) the first file you wish to copy.  While
holding the shift key down select the last file you wish to copy.  All files
between the first and last one will be selected.  Proceed as you normally
would.


Regards,

Barry

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

Does Anyone Know how to select all the "Files" In a "Folder" with a given
extention to be
copied and sent to another "Folder" without holding the CTRL key and
selecting one at a time.
then COPY and Pasting it in the new "Folder"...?

E.g. ... COPY C:\WINDOWS\*.ASM D:\PICSTUFF

Regards Mark E'Silva
.....saverRemoveMEspampta.lia.net

'[OT] TAR files'
1999\03\11@214224 by Ravi Pailoor

flavicon
face
Are there any utilities running on win95 to uncompress TAR files ?

Thanks

Pailoor

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

Chip Technologies - Microchip Design Consultant

No. 70, 9th Main Road, Mathikere, Bangalore - 560 054. INDIA
Tel    : +91-80-3362807, Fax   : +91-80-3369451
Email  : KILLspamchiptechspamTakeThisOuTvsnl.com,
Webpage : http://business.vsnl.com/chiptech ( Updated on 16th February )

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

 

1999\03\11@215236 by Bob Drzyzgula

flavicon
face
Winzip handles them just fine. http://www.winzip.com

--Bob

On Fri, Mar 12, 1999 at 07:52:59AM +0530, Ravi Pailoor wrote:
> Are there any utilities running on win95 to uncompress TAR files ?

--
============================================================
Bob Drzyzgula                             It's not a problem
TakeThisOuTbobspamspam_OUTdrzyzgula.org                until something bad happens
============================================================

1999\03\12@064840 by Alan Nickerson

flavicon
face
Yes, I dont remmeber where I got it from, I think it was winfiles.com under
the shareware->unix ports area.

Alan

{Original Message removed}

'Whats the differance in these HEX files'
1999\03\12@081228 by Richard Hershey

picon face
I'm planning on buying a compiler and I don't know if it will be a C
compiler or Pic Basic. The question is what
is the differance in the hex files they make. If mpasm, C, or picbasic is
used the output is in hex? As I only
have the money to get one but not both compilers I would like to as much
bang for the buck as I can.

Thanks

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

1999\03\12@100535 by jamesp

picon face
 The only difference I can think of would be the format,
 ie is it in Intel Hex, Extended Intel Hex, Motorola S, etc.
 This shouldn't be a real problem as far as I can see. As
 long as the compiler or assembler outputs a format the your
 programmer can handle.  Or am I wrong here?

                                      Regards,

                                        Jim



{Quote hidden}

'[OT] TAR files'
1999\03\12@115834 by mwestfal

flavicon
face
>
> Are there any utilities running on win95 to uncompress TAR files ?
>

The current version of WinZip will uncompress TAR and GZIP files.
I don't think it does BZIP files, yet, though...

-------------------------------------------------------------------------------
Mike Westfall N6KUY
RemoveMExyzzyspamspamSTOPspamacm.org
.....mwestfalEraseMEspamodc.net
http://www.odc.net/~mwestfal
Linux religious dogma: "The Gates of Hell shall not prevail."
-------------------------------------------------------------------------------

1999\03\12@121918 by w. v. ooijen / f. hanneman

picon face
WinZip

----------
{Quote hidden}

'Should I Post KEYPAD Program? - Files posted'
1999\03\20@153130 by Andy Stephenson

flavicon
face
People,

I have posted the revelant files on my site. They can be found at:


http://www.asamicros.com/Pub/ProjectSource/kpaddxf.zip

http://www.asamicros.com/Pub/ProjectSource/kpaddwg.zip

http://www.asamicros.com/Pub/ProjectSource/kpadasm.zip

Rgds...

...Andy

At 11:35 20/03/99 -0500, you wrote:
>Dear PICsters,
>I have just finished a little PIC project, and I want to know whether or
not it would
>be appropriate to send the full listing which is about 40K to the PIC List.
>
>I do not currently have a web site that I can post the information on,
otherwise I would
>simply do so and post the URL.
>
>The code is heavily commented, so it might be useful for beginners and
others to look
>at to see an example of a complete project. The assembly code comments
include info
>on the actual hardware (very simple) and PIC pinouts used.
>
>I also have the printed circuit board layout and schematics and parts
placement
>diagrams all in one AutoCad DWG file, for those who have access to
AutoCad. I could
>convert this to DXF format if that would allow more people to use it.
>
>Here is a description of the circuit and software:
>
>The hardware consists of a PIC 16C84 or PIC 16F84, a 16 key xy matrix keypad,
>a 4.00 Mhz resonator with built-in caps, a red and a green LED, 2 330 ohm
>resistors, 1 4.7K resistor, 1 10K resistor, a printed circuit board, 10
pin header,
>one general purpose NPN transistor such as MPSA05, and one 5 V PCB DPDT
Relay.
>
>The PCB design also has a general purpose 5 volt regulator circuit on it
>to allow operation from a 12VAC wall-wart type transformer. This part of the
>circuit uses 4 1N4001 (or greater) diodes, a 220 ufd cap, a 10 ufd cap, and
>a 5 volt regulator such as a 7805.
>
>The keypad used is made by Grayhill and has an 8 pin connector on the
back. I believe
>that Jameco has the same keypad that I am using, but with a 9 pin connector
>(unless their catalog is in error and it is really an 8 pin connector). The
>keypad has 0-9 and also LOAD   CLR   ENT   RUN  and UP and DOWN arrows.
>
>The user gets the unit's attention and synchronizes the program by hitting
the CLR
>key. The CLR (CLeaR) key is handled special, and ANY time the CLR key is
>hit, it will cause the program to synchronize and begin regular entry. To
>indicate that a key is being pressed, the normally-on RED LED will go off
>for the duration of any keypress. When the CLR key is released the GREEN LED
>will flash once to indicate that the program is synchronized and ready for
>regular input.
>
>The user can now enter any one of eight valid entry code sets. Each entry
code
{Quote hidden}

'URL for Keypad Project Files'
1999\03\21@114528 by Thomas McGahee

flavicon
face
Dear PICsters,
Andy Stephenson has graciously offered to place the files for
the Keypad Project on his web site:


http://www.asamicros.com/Pub/ProjectSource/kpaddxf.zip

http://www.asamicros.com/Pub/ProjectSource/kpaddwg.zip

http://www.asamicros.com/Pub/ProjectSource/kpadasm.zip

Anyone else who is interested in these files is welcome to
copy them from this site either for their own personal
use, or to place them on their own website. I think that
it is always useful to have an assortment of working
projects available for others to look at for ideas.

I am sorry that responses to my original posting may have
inconvenienced others due to the inclusion of the entire
original text.

A lot of this excess traffic on the List can be circumvented
by sending personal replies to posts, instead of just
sending replies back to the List. I know that we all make the
mistake of hitting the enter key sometimes before we check
to see *who* the recipient of our reply is, but it is a
good habit to send personal replies when the reply is only
meant for one person.

Trying not to eat up *too* much bandwidth,
Fr. Tom McGahee

1999\03\22@125833 by David Tait

flavicon
picon face
Fr. Thomas McGahee wrote:
> Anyone else who is interested in these files is welcome to
> copy them from this site either for their own personal
> use, or to place them on their own website.

I've put together a version of Tom's keypad project here:

http://www.man.ac.uk/~mbhstdj/files/keypad.zip
ftp://ftp.mcc.ac.uk/pub/micro-controllers/PIC/keypad.zip

Here's the README file:

              Tom McGahee's PIC16C84 Keypad Project
              =====================================

Files:

 mcgahee.txt     Tom's description as sent to the PICLIST
 pcb.png         PCB layout looking at copper
 pcbrev.png      PCB layout looking from above
 overlay.png     PCB with component overlay
 circuit.png     Schematic
 keypad.asm      MPASM compatible assembler source

The PNG images were extracted from Fr. Tom's DXF file which I grabbed
from Andy Stephenson's site:

http://www.asamicros.com/Pub/ProjectSource/kpaddxf.zip

If you haven't come across it before, the PNG format is fast becoming
a replacement for the more common GIF format; Windows users can use an
excellent freeware program by Irfan Skiljan to convert PNG images into
other image formats:

http://stud1.tuwien.ac.at/~e9227474/

David Tait
http://www.man.ac.uk/~mbhstdj
21/Mar/99

'Should I Post KEYPAD Program? - Files posted'
1999\03\23@013548 by Mark Willis

flavicon
face
Good answer, guys (I was going to suggest members.xoom.com,
members.tripod.com, geocities.com, and so on if anyone wanted to find
free web space.  4 off the top of my head - one side benefit of learning
how to chase SPAMmers is that you find ALL, and I mean ALL, of the free
& anonymous services available on the web - SPAMmers are so cheap I find
it pretty hilarious, if they're making as much money as they represent,
they'd not be that cheap <G>)  Thanks, Andy!

 Mark

Andy Stephenson wrote:
{Quote hidden}

'PIC AVI files'
1999\03\27@103928 by Ross

flavicon
face
Does anyone know how to send an (123.avi)
as an attachment file. I keep getting from
the Microsoft internet explorer mail program
that it can not split the file up into smaller
pieces. the file size is 1.4meg.  When I try

to use winzip the file is received as about
ten pieces. Help this file is for my friend CA
he's dying of cancer. Please let's not get into

to OT with me I need to help a friend out Thanks
in advance.



//Ross


(HANWE)


'Truncated digest files'
1999\05\04@083441 by John
flavicon
face
My last two digests of the PIClist have been truncated.  (May 2nd & 3rd
digest was a 135k file; 90 messages containing 3904 lines but was trun-
cated in the middle of the first message.)  Is this a problem at my end
or is anybody else receiving the same digests?
John
______________________________________________________________________________

John Leonard, instrument technician                        Electron Hacker
College of Science & Engineering                           Bit Banger
Saginaw Valley State University                            Bassist
University Center, MI USA  48710                           Dad
_____________________________________________________________________________

'[OT] Creating multiple image Gerber files'
1999\05\15@181829 by D. F. Welch

picon face
Sorry for the slightly off topic post.

A while back, when it didn't matter to me :),
there was a brief discussion on software which
would enable the combining of multiple circuit
board images on a single panel.  I have a board
which is about 1.5" x 1.75", ( Yes it uses a PIC).

I would like to make a large panel with a number
of boards per panel.  Can anyone point me to
software, Preferably freeware or shareware,
which will allow copy and paste editing of
Gerber files or some other way of accomplishing
this task?

Thanks in advance for your help.



-Dan Welch
spamamersci@spam@spamSTOPspamflash.net

1999\05\15@205128 by Brian Kraut

picon face
Traxmaker will allow you to cut and paste.  I usually put multiple small
boards on one.  Not shareware though, about $300.00.  They have an
evaluation version on their Web site.  Don't know if the Gerber output
is disabled or just printing and saving.

There is a shareware router you can get from AP Circuits in Alberta,
Canada.  I think http://www.apcircuits.com.  Not sure if it has cut and paste.
You can also check with their tech support for an answer to your
question.  They should have an answer.  Pretty good place for cheap high
quality double sided plated through boards to.

D. F. Welch wrote:

{Quote hidden}

1999\05\15@231547 by Gerhard Fiedler

picon face
At 15:15 05/15/99 -0700, D. F. Welch wrote:
>A while back, when it didn't matter to me :),
>there was a brief discussion on software which
>would enable the combining of multiple circuit
>board images on a single panel.  I have a board
>which is about 1.5" x 1.75", ( Yes it uses a PIC).
>
>I would like to make a large panel with a number
>of boards per panel.  Can anyone point me to
>software, Preferably freeware or shareware,
>which will allow copy and paste editing of
>Gerber files or some other way of accomplishing
>this task?

there is a freeware gerber viewer/editor, gcprevue. if you have trouble
locating it (should come up in most search engines), send me a mail.

ge

1999\05\16@174625 by William K. Borsum

flavicon
face
At 03:15 PM 5/15/99 -0700, you wrote:
>Sorry for the slightly off topic post.
>
>A while back, when it didn't matter to me :),
>there was a brief discussion on software which
>would enable the combining of multiple circuit
>board images on a single panel.  I have a board
>which is about 1.5" x 1.75", ( Yes it uses a PIC).
>
>I would like to make a large panel with a number
>of boards per panel.  Can anyone point me to
>software, Preferably freeware or shareware,
>which will allow copy and paste editing of
>Gerber files or some other way of accomplishing
>this task?

Company called "ECAM" has some good stuff that is down loadable from their
web site.  You'll need to track down the URL though.
This is a demo/stripped version of the professional system our board house
uses.

How about a simple copy and paste in you layout program?


****************************************************************************
********
All legitimate attachments to this email will be clearly identified in the
text.
Please note our new address and phone numbers.

William K. Borsum, P.E.
DASCOR
P.O.Box 462885
Escondido, CA 92046-2885

V&M&F)  760-796-7785
Direct)         760-796-7788
<RemoveMEborsumRemoveMEspamRemoveMEdascor.com>

1999\05\18@093223 by Aidi Moubhij

flavicon
face
The easy way is to ask your board house to put as many boards per panel as
you want.


At 08:55 PM 5/15/99 -0700, you wrote:
{Quote hidden}

Aidi Moubhij

spam_OUTaidi@spam@spammjr.com

'Attached files'
1999\05\25@002612 by Pablo De Leon

picon face
A question :  What is the attached file "VCARD.VCF" that i received with
various messages from the list?

1999\05\25@023253 by Mark Willis

flavicon
face
Some e-mail clients attach an "address card" trailer onto each
message, other people who use the same e-mail client can import this
"Address Card" into their address book easily; many e-mail clients turn
this ON by default, some are setup so the victim, er, user cannot turn
that "feature" off at all, some people have managed to turn it off quite
an impressive number of times (followed by the software stubbornly
turning it right back on again a couple days later, apparently.)

 Easiest to just ignore these most of the time, especially if your
e-mail client cannot do anything with the data.

 Mark

Pablo De Leon wrote:
>
> A question :  What is the attached file "VCARD.VCF" that i received with
> various messages from the list?


'[OT] PC Board CAD files'
1999\06\26@091405 by Ernie Murphy
flavicon
face
 I'd like to use my CAD tools to procure some PCB boards. Most of the
houses I see that quick ship work from Gerber files. Could anyone familiar
with this type of files please give me a resource to figure out what I
need? I usually work in AutoCad, and do have a .dwg to .grb conversion
routine. However, I am clueless when it comes to what to include for drill
lists, dcode lists, and the like.

TIA

Ernie

1999\06\27@110609 by Brian Kraut

picon face
Check out http://www.apcircuits.com.  They have a newuser file with a lot of goon
information.  I doubt that your Gerber converter will do drill files.  I
suggest using a real PCB program.  They have a shareware one that is a whole
lot easier to make boards on than Autocad.  It doesn't autoroute, but then
again either does Autocad.

I did just get a demo from OrCad that has a size limited full package.  I
haven't loaded it yet, but if it is good and the size isn't too limited I will
post my comments.

Ernie Murphy wrote:

{Quote hidden}

1999\06\27@111902 by D. F. Welch

picon face
At 11:11 AM 6/27/99 -0700, you wrote:
Also check out http://www.cadsoftusa.com
they have a free fully functional, but size limited, experimenters version
of EAGLE which includes an autorouter.  One caution, the demo version is
crippled
so don't bother downloading that one.

-Dan
TakeThisOuTw6DFWspam_OUTspamqsl.net
>Check out http://www.apcircuits.com.  They have a newuser file with a lot of goon
>information.  I doubt that your Gerber converter will do drill files.  I
>suggest using a real PCB program.  They have a shareware one that is a whole
>lot easier to make boards on than Autocad.  It doesn't autoroute, but then
>again either does Autocad.
>
>I did just get a demo from OrCad that has a size limited full package.  I
>haven't loaded it yet, but if it is good and the size isn't too limited I
will
{Quote hidden}

1999\06\27@133551 by Ron Dickinson

flavicon
picon face
In message <KILLspam3.0.1.32.19990627081530.009e8d80.....spamTakeThisOuTflash.net>, "D. F. Welch"
<TakeThisOuTamersciEraseMEspamRemoveMEFLASH.NET> writes
>At 11:11 AM 6/27/99 -0700, you wrote:
>Also check out http://www.cadsoftusa.com
>>Ernie Murphy wrote:
>>
I downloaded the Eagle software and apart from bugs, it did not give a
good enough impression.  What can you expect for free?  They are mainly
trying to sell boards and the output probably glues you to Eagle.

I eventually bought Quickroute 4.0 which comes in 300 pin/800 pin or
unlimited pins.  It is very good with full schematics and pcb's with
full Gerber outputs.

You may design your own schematic symbols and although I bought it for
PIC based machine control pcbs, I now use it for Electrical and
Pneumatic schematics.  I had to create my own symbols, but only once.

The 800 pin version costs around 79GBP/149GBP/249GBP for 300 pin/800 pin
or unlimited pin versions.

Regards

Ron
--
  /\
  []       Ron Dickinson
  []     <<<<<        >>>>>
  []     Compusolve-Redilec
 /--\    Derbyshire England
 !!!!    +44 01246 - 570281

1999\06\27@151843 by D. F. Welch

picon face
At 06:33 PM 6/27/99 +0100, you wrote:
>In message <spam_OUT3.0.1.32.19990627081530.009e8d80RemoveMEspam.....flash.net>, "D. F. Welch"
><spamamersciKILLspamspamKILLspamFLASH.NET> writes
>>At 11:11 AM 6/27/99 -0700, you wrote:
>>Also check out http://www.cadsoftusa.com
>>>Ernie Murphy wrote:
>>>
>I downloaded the Eagle software and apart from bugs, it did not give a
>good enough impression.  What can you expect for free?  They are mainly
>trying to sell boards and the output probably glues you to Eagle.
>

  What? are we talking about the same EAGLE v-3.55 ?

  CadSoft is not selling boards, they do have links to
some board houses but that is not their business.

  I have been using their product and have not found it
to be full of bugs although there is a learning curve their
tech support, which you get with registration, is quite helpful
and informed.  I don't believe the claim that it locks you
into their package is valid either.  You have a choice of several
input and output file formats, some of this is through
user supplied routines which are freely downloadable.

I have no financial interest in CadSoft in any way and
consider it to be a useful product at a very reasonable price
so lets just be fair and factual.  There may well be other
products that perform better or worse for a given purpose
but lets try & be factual and objective.

Sorry for the rant.

-Dan spamw6dfwspam_OUTspamqsl.net

{Quote hidden}

1999\06\27@152513 by Dave Johnson

flavicon
face
Ron Dickinson wrote:

>I downloaded the Eagle software and apart from bugs, it did not give a
>good enough impression.  What can you expect for free?  They are mainly
>trying to sell boards and the output probably glues you to Eagle.
I think you're confusing Eagle with the Douglas software, they have a
proprietary output format that you can send them to get boards made, but
you have to pay extra for a "Gerber translator". Cadsoft doesn't sell
boards, and Eagle has standard Gerber output built in. It's an extremely
capable program for the price - schematic, layout, and autorouter -
though the interface is less than stellar. Still, once you get to know it
a little, it's a very nice, full-featured program, in my opinion.

Dave Johnson

1999\06\28@111138 by Lawrence Lile

flavicon
face
I've done a lot of work with AutoCad and PC layout.  It is a good drawing
package, and can be monkley-wrenched into making PC board files.  But there
are a lot of problems.

Check my home page    http://home1.gte.net/llile/    for a list of blocks
used in PC board design.

Often I would go outside to have ACAD converted to Gerber.  BU National
Reprographics has this funny little fellow named Yogi that will convert
DXF's and photoplot them at the same time for $50.  I always needed accurate
photoplots anyway.  630-860-7161 phone, no web access.    There are freeware
converters for DWG to Gerber, and I had no luck with any of them.  There is
an excelent commercial package called CAMCAD.  the freeware version will
read DXF but will not write anything     http://www.rsi-inc.com     that
will import DXFs and write Gerbers.  You can get DXF import for free,
writing gerbers will cost you $399 and save you that much in ASPIRIN when
you get a headache trying to get a freeware gerber translator to work right.



{Original Message removed}


'Fr. Tom's PIC CAP METER files now available'
1999\07\13@140856 by Andy Kunz
flavicon
face
The cap meter project is posted now.

Andy


Subject: Fr. Tom's PIC CAP METER files now available

Andy Kunz has graciously offered to host my PIC based Capacitance Meter at
his web site. The url is:

http://www.montanadesign.com

Once you get there you will see a link to the zipped files. The zipped file
is 1.1 MB in size and includes all the  documentation in Adobe Acrobat PDF
format. I used version 4.0 to create the PDF files, but they should be
readable with a version 3.0 reader.

For those who have access to AutoCad, I have included in the zip file a
copy of CMETER.DWG. This will allow those who have access to AutoCad to
have access to the originals of all the drawings.

Please note that I will *not* be e-mailing copies out, but that instead all
interested persons should download the files from Andy's web site.

I have affixed a copyright notice to the main document, since I wish to
retain all rights to the work that I have produced. However, permission is
granted to any individual who wishes to make a PIC Capacitance Meter based
on my design for their own personal use. I hope that many people *will*
build one, and I hope that those who do so find it useful.

Anyone who wishes to place a copy of the zip file on their own web site or
archive site may do so, as long as the file is presented intact.

Fr. Tom McGahee
STOPspamtom_mcgaheespam_OUTspamspamBeGonesigmais.com

==================================================================
Andy Kunz               Life is what we do to prepare for Eternity
------------------------------------------------------------------
spam_OUTandyspamspamBeGonerc-hydros.com      http://www.rc-hydros.com     - Race Boats
EraseMEandyspamKILLspammontanadesign.com  http://www.montanadesign.com - Electronics
==================================================================

'MPLAB and multiple source files.'
1999\07\14@154750 by Barry Baldwin

flavicon
face
Hi,

I was wondering if anybody else has had any success in using multiple
source files with MPLAB.  I originally had about 5 source files and then
I would
link the resulting object files.  But I had strange behavior with the
interrupts.  When an interrupt would occur the W register would
decrement by 1 and the status register would then change before I had a
chance to  save either of them.

I have since moved all of the code into one big file and now everything
works just fine.  To me, having multiple source files is the logical way
to do things.  Having
one huge file is just a pain when it comes to developing or porting it
over to the next project.

Anyway now that I have it working I probably won't go back, I was just
curious if I was doing something wrong.

Thanks,

Barry

1999\07\14@215247 by Steve Ridley

flavicon
face
Barry

I do multiple files by using the include directive. Not as good as the
linking method because every file gets recompiled every time but maybe it is
a workable compromise for you.

Steve

{Original Message removed}

1999\07\15@123126 by Barry Baldwin

flavicon
face
Steve,

Even though I was using the link process MPLAB would still rebuild every
file each time I would do a make project.

Using includes is a good idea, at least I can keep the various modules
separate.

Thanks,

Barry

-----Original Message-----
From: Steve Ridley [EraseMEsteverRemoveMEspamINSNET.COM.AU]
Sent: Wednesday, July 14, 1999 6:49 PM
To: .....PICLISTspamspam_OUTMITVMA.MIT.EDU
Subject: Re: MPLAB and multiple source files.


Barry

I do multiple files by using the include directive. Not as good as the
linking method because every file gets recompiled every time but maybe
it is
a workable compromise for you.

Steve

'MPLINKD and lots of files'
1999\07\21@083946 by peterc

flavicon
face
I'm using V4.12 of MPLAB, on a Win 3.11 platform.

I have configured the linker to use MPLINKD and it worked fine for a
while.

But as the number of files has grown it now reports an error "Argument
list too long".

The line is 110 characters long (I have 7 object files and a linker file
specified).

Has anyone found a way around this problem?

--
Peter Crighton

'Stimulus files'
1999\07\29@221253 by Anne Ogborn

flavicon
face
I did the MPLAB tutorial on stimulus files and
their sample works fine.

I made this stimulus file for myself,
and it crashes MPLAB

CYCLE   RB0
1       0
500     1
750     0
1000    1
1500    0

I'm trying to figure out how to get around this.
Clearly MPLAB shouldn't crash, but am I doing something
wrong here? My experience is that usually when I
start using a new tool I exercise corners an experienced
user never would, so I sometimes run into bugs that
haven't been fixed.

So, does the above file look reasonable?

--
Anniepoo
Need loco motors?
http://www.idiom.com/~anniepoo/depot/motors.html

1999\07\29@221511 by Anne Ogborn

flavicon
face
Never mind -
Turns out my problem was a tab on a line
by itself at bottom of file.

Anybody have an email to send MPLAB bug reports to?

--
Anniepoo
Need loco motors?
http://www.idiom.com/~anniepoo/depot/motors.html

1999\07\29@222232 by Anne Ogborn

flavicon
face
Never mind -
Turns out my problem was a tab on a line
by itself at bottom of file.

--
Anniepoo
Need loco motors?
http://www.idiom.com/~anniepoo/depot/motors.html

1999\07\30@093413 by Darrel Johansen

picon face
Anne Ogborn wrote:
>
> Anybody have an email to send MPLAB bug reports to?
>

Best way to contact Microchip for things like this is
to go to the web site at
 http://www.microchip.com
and choose "Knowledge Base" tab on the left.  Then
scroll to the bottom of the page and choose
"Development Systems Conference."

Microchip engineers monitor this conference
and other users help with problems here , too.

--
___________________________
|     Darrel Johansen     |
|     tempe,  arizona     |
|   @spam@darreljEraseMEspamspamprimenet.com  |
|_________________________|


'Orcad part files for 16F877'
1999\09\08@172531 by Erik Reikes
flavicon
face
Does anyone know where I can get the part database for the new 16F877 parts?

Thanks.

-Erik Reikes
Xsilogy, Inc.

1999\09\08@175121 by Andy Kunz

flavicon
face
At 02:27 PM 9/7/99 -0700, you wrote:
>Does anyone know where I can get the part database for the new 16F877 parts?

Use a PIC16C74 or '77

Andy

==================================================================
Eternity is only a heartbeat away - are you ready?  Ask me how!
------------------------------------------------------------------
andyTakeThisOuTspamKILLspamrc-hydros.com      http://www.rc-hydros.com     - Race Boats
RemoveMEandyTakeThisOuTspammontanadesign.com  http://www.montanadesign.com - Electronics
==================================================================

1999\09\08@193000 by Dave VanHorn

flavicon
face
> At 02:27 PM 9/7/99 -0700, you wrote:
> >Does anyone know where I can get the part database for the new 16F877
parts?
>
> Use a PIC16C74 or '77


Did they "fix" this in the new orcad too? (and make it dramatically more
difficult?)
It only takes me a few minutes to make any part, and I make most parts
custom to the job, so that the schematic makes sense, rather than using one
pinout and making spaghetti out of the schematic.

1999\09\08@201230 by Dennis Plunkett

flavicon
face
At 18:28 8/09/99 -0500, you wrote:
>> At 02:27 PM 9/7/99 -0700, you wrote:
>> >Does anyone know where I can get the part database for the new 16F877
>parts?
>>
>> Use a PIC16C74 or '77
>
>
>Did they "fix" this in the new orcad too? (and make it dramatically more
>difficult?)
>It only takes me a few minutes to make any part, and I make most parts
>custom to the job, so that the schematic makes sense, rather than using one
>pinout and making spaghetti out of the schematic.
>
>


So do you save the library for each schematic? This can become a
maintenance nightmare. What hapens if you lose the library for that
schematic (Re-incarntaion?)
To stop spaghetti, why not use buses and hierarchial representation of the
CCT?

Dennis

1999\09\08@203317 by Dave VanHorn

flavicon
face
>
>
> So do you save the library for each schematic? This can become a
> maintenance nightmare. What hapens if you lose the library for that
> schematic (Re-incarntaion?)
> To stop spaghetti, why not use buses and hierarchial representation of the
> CCT?
>
> Dennis

Of course. Each project is archived with all the tools necessary to
reproduce it.
I start with the generic libraries, and if I have a new part that isn't in
the libraries, then I add it to "custom.lib".

When I start neatening things up though, I archive all the parts into a
project library ("thing.lib"), and any further work on the parts is now
unique to this project. When I finalize, I turn off all other generic
libraries, and work only in the project's library.

Same with PCB modules, except the board file IS the project library (an
irritating inconsistency)

I archive delivered or dead projects in a separate directory. Delivereds go
with their gerbers and drill files in the exact zip file I sent to the board
house, along with the schematic and it's part's library. I copy the design
to a new rev level for any modifications that I might make.  Anything I make
a board of is frozen at that level, and any mods happen to the new rev. This
way I can always get the schematic of the original board, regardless of any
"surgery" I've done.  I also hardfile a blank board for each project.

I use buses, and hierarchies, but still, I like ins on the left, and outs on
the right, and signals that logically go together should be located near
each other on the schematic, regardless of the physical pinout.  /RD, /WR,
and /CE are a functional group, even if intel decided to interleave them
with address lines on eproms. Address lines are a group (buss) and so is
data (another buss, located near address)  The control signals are the third
group.

'HEX Files and LCD contrast'
1999\09\22@062937 by Wesley Moore (Yallara)

flavicon
picon face
I've got two completely unrelated questions for you all:

1. What is the corelation between HEX file size and the program mem usage
on the PIC? Is it file size / 2 like I suspect? Can you get the compliler
to spit out stats like those shown at the end of Microchip's source code
in their application notes?

2. I have a Seiko L2432 2 x 24 char LCD module, which I am having some
difficulty getting a decent contrast out of. I am using what appears to be
a fairly standard usage of a 10k trimpot to control the LCD drive voltage
(pin 3) however the best contrast occurs when this is fully turned towards
the ground side. When I connected ground straight to the pin the display
was slightly darker but still not upto what I would consider to be a
reasonable standard. Anyone have any ideas?

Wesley Moore

1999\09\22@065437 by Peter van Hoof

flavicon
face
Yes, I do not have the datasheet of this display but a lot of similar
displays need a negative voltage for good contrast , most will take a pot
between -5 and +5 volt

Peter van Hoof
-------------
@spam@pvhSTOPspamspamvertonet.com
http://go.to/pvh

> {Original Message removed}

1999\09\22@072759 by JP.BROWN

flavicon
face
A .HEX type file is an ASCII coded binary file, each byte of machine code
takes two ASCII codes to define (one for each nibble), there is also a
little overhead for things like checksums and addresses etc. but generally
the file is a little over twice as big as the corresponding binary file.
You can look at a .hex file using any text editor and see how the data is
arranged, usualy the last 2 digits at the end of each line are the
checksum byte.

On Wed, 22 Sep 1999, Wesley Moore (Yallara) wrote:

{Quote hidden}

         -----  John P. Brown      TakeThisOuTJ.P.BrownTakeThisOuTspamRemoveMEbradford.ac.uk ----
          \            --- Witty remark goes here ---         /
           --------------------------------------------------

1999\09\22@074440 by Jim Robertson

flavicon
face
At 20:28 22/09/99 +1000, you wrote:
>I've got two completely unrelated questions for you all:
>
>1. What is the corelation between HEX file size and the program mem usage
>on the PIC? Is it file size / 2 like I suspect? Can you get the compliler
>to spit out stats like those shown at the end of Microchip's source code
>in their application notes?

The HEX file size is quadruped the program memory used plus 13 bytes
additional
bytes per each 8 words of program memory (Rule of thumb). This calculates
to over
5.5 times the size for the hex file.

Add to this 47 bytes for ID plus 17 bytes for the config word.


Jim
Regards,

Jim Robertson
NEWFOUND ELECTRONICS
________________________________________
Email: spam_OUTnewfoundspamspam.....pipeline.com.au
http://www.new-elect.com
MPLAB compatible PIC programmers.
________________________________________

1999\09\22@081041 by Michael Rigby-Jones

flavicon
face
> I've got two completely unrelated questions for you all:
>
> 1. What is the corelation between HEX file size and the program mem usage
> on the PIC? Is it file size / 2 like I suspect? Can you get the compliler
> to spit out stats like those shown at the end of Microchip's source code
> in their application notes?
>
No, it's not size/2 because although each byte is represented by as ascii
hex, i.e. 2 characters, this dosen't take into account the header strings
and the checksum.  I've sent you a hex to bin utility off-list which will
convert an intel hex file into absolute binary.  Because the size of the
PICs word is 12 to 16 bits, two bytes per word are used so if you divide the
resulting binary filesize by two, you will get the correct result.
Note that if config bytes are included in the hex file then it will be
slightly too large...not sure of the exact figure though.


> 2. I have a Seiko L2432 2 x 24 char LCD module, which I am having some
> difficulty getting a decent contrast out of. I am using what appears to be
> a fairly standard usage of a 10k trimpot to control the LCD drive voltage
> (pin 3) however the best contrast occurs when this is fully turned towards
> the ground side. When I connected ground straight to the pin the display
> was slightly darker but still not upto what I would consider to be a
> reasonable standard. Anyone have any ideas?
>
> Wesley Moore
>
Some displays (mostly extended temperature types) need a negative voltage on
the contrast pin.  Check the specs of your display to see what the minimum
voltage allowable on the pin is.  You can generate a negative voltage from a
simple charge pump driven from e.g. a 555 timer or use one of the special
purpose -ve voltage generators.

Mike Rigby-Jones

1999\09\22@091717 by Roland Andrag

flavicon
face
Wesley, about the LCD, some LCD's actually take a negative voltage on the
contrast pin - you'll have to check the specs to find out (hitachi driven
displays normally don't). If the display is just too light, this may be the
problem. You should be able to adjust the cotrast to the point where
everything is black. In the case of large displays with a low duty cycle per
line this may mean that the display is actually more grey than black.  Also
try is with the backlight on - sometimes makes a huge difference..

Cheers
Roland
-----
Original Message -----
From: Wesley Moore (Yallara) <wmoore.....spam@spam@CS.RMIT.EDU.AU>
To: <spamBeGonePICLISTspamspam_OUTMITVMA.MIT.EDU>
Sent: Wednesday, September 22, 1999 12:28 PM
Subject: HEX Files and LCD contrast


{Quote hidden}

1999\09\23@002423 by Wesley Moore (Yallara)

flavicon
picon face
Come to think of it maybe the 555 idea is more 'within specs' of the LCD
module. Where can I get an example of this configuration, the data sheets
don't appear to include it.

TIA

Wesley Moore

On Wed, 22 Sep 1999, Michael Rigby-Jones wrote:

{Quote hidden}

1999\09\23@010150 by Sean H. Breheny

face picon face
Hi,

On my web page, I give a small example circuit of an inverting charge pump
that you could use to achieve ~-4V with more than enough current to bias
the LCD. Unfortunately, I do not show the 555 part in the circuit,just the
diodes and caps. All you need is ANY low to medium-current pulse source, in
addition to the diodes/caps shown on my page. You could even just pulse one
of the PIC pins and use that. The rate would not be critical for this app,
even 30Hz would be fine,as would anything up to about 50kHz.

See:

http://www.people.cornell.edu/pages/shb7/neatcir.html

It's the second circuit down,but the info from the one above it applies,too
(voltage doubling charge pump).

Sean


At 02:01 PM 9/23/99 +1000, you wrote:
>Come to think of it maybe the 555 idea is more 'within specs' of the LCD
>module. Where can I get an example of this configuration, the data sheets
>don't appear to include it.
>
>TIA
>
>Wesley Moore

|
| Sean Breheny
| Amateur Radio Callsign: KA3YXM
| Electrical Engineering Student
\--------------=----------------
Save lives, please look at http://www.all.org
Personal page: http://www.people.cornell.edu/pages/shb7
EraseMEshb7.....spamcornell.edu ICQ #: 3329174

1999\09\23@013938 by w. v. ooijen / f. hanneman

picon face
> an you get the compliler to spit out stats

That depends on the compiler!
(plug warning!) Jal shows some statistics on
the standard output and some more in the assembler output.

Wouter


'[OT] WAV files'
1999\10\16@045912 by Duilio Foschi
flavicon
face
I need to know how the sound information is stored in a WAV file and how I
can programmatically raise the volume of the sound in a WAV file.

Any hint welcome

Thank you

Duilio Foschi

1999\10\16@055222 by Brent Brown

picon face
> I need to know how the sound information is stored in a WAV file and how I
> can programmatically raise the volume of the sound in a WAV file.
>
> Any hint welcome
>
> Thank you
>
> Duilio Foschi
>

Not so [OT] because you can do this on a PIC.  Here's some ideas.

Assuming a simple mono 8 bit per sample recording, there is a
about 20 bytes or so of header information at the start of the file
and then the audio samples are stored as 8 bit values.  The data is
"biased" with a 7Fh DC offset so that silence is recorded as 7Fh.
Kind of like a single rail audio amplifier would be biased at half the
supply voltage.  For simple play back from a micro with a PWM
output just send each byte to the PWM register sequentially at the
original sample rate.  Put an RC filter on the output and
capacitively couple it to an audio amp.  A little rough by hey - it
works!  Even play back the header bytes, they go by so fast you
hardly hear a scratch.

Back to the subject, to digitally amplify a .wav file you would need
to do something like this for each 8 bit sample:
- Remove the offset by subtracting 7Fh for data above 7Fh or
subtracting from 7Fh for data below 7Fh
- Multiply by your amplification factor
- Put the offset back in by adding 7Fh or subtracting from 7Fh as
necessary
- Store it or play it

You are limited to what you can do in an 8 bit file before clipping.
Using 16 bit intermediate maths helps by letting you do stuff like
this: for 10% increase in volume, multiply by 11 then divide by 10.

Brent Brown
Electronic Design Solutions
16 English Street
Hamilton, New Zealand
Ph/fax: +64 7 849 0069
Mobile: 025 334 069
eMail:  spambrent.brownKILLspamspam@spam@clear.net.nz

1999\10\16@091352 by - KITS EDUCACIONAIS NACIONAIS

flavicon
face
Brent Brown wrote:
{Quote hidden}

tHE LAST CIRCUIT CELLAR HAS INFORMATION ABOUT SOUND REPRODUCED BY PWM...

1999\10\16@212144 by Mark Willis

flavicon
face
Brent Brown wrote:
> <snipped>
> Back to the subject, to digitally amplify a .wav file you would need
> to do something like this for each 8 bit sample:
> - Remove the offset by subtracting 7Fh for data above 7Fh or
> subtracting from 7Fh for data below 7Fh
> - Multiply by your amplification factor
> - Put the offset back in by adding 7Fh or subtracting from 7Fh as
> necessary
> - Store it or play it
>
> You are limited to what you can do in an 8 bit file before clipping.
> Using 16 bit intermediate maths helps by letting you do stuff like
> this: for 10% increase in volume, multiply by 11 then divide by 10.
>
> Brent Brown

Sound isn't linear, as perceived by the human ear, though;  We hear sort
of Logarithmically.  And you need to consider, what happens if you hit
overflow?, and handle that <G>

Really good books on Audio Accoustics are out there;  The average human
ear perceives a doubling in volume when the power has been increased by
10db, i.e. twice the actual power - so basically for a 10% increase in
*perceived* volume, you want to increase a signal's voltage by 10
TIMES.  So for a 10% increase in volume, I'd guess you actually want to
increase voltage by about 3.548 times?  (It's been a while since I did
audio engineering, and all my books are in storage due to the move.  I
like Digital lots more <G>)  So I'm possibly wrong here.

 Mark

1999\10\17@164103 by steve

flavicon
face
> Sound isn't linear, as perceived by the human ear, though;  We hear sort
> of Logarithmically.  And you need to consider, what happens if you hit
> overflow?, and handle that <G>

You're correct but you run into quantization problems long before any
of the audiophile characteristics.
I did exactly this in a promotional thing for a client. I found that
8 bits @ 11kHz was perfectly adequate for a typical busy environment
where there is a bit of background noise like a tradeshow.
I had a bit of a play with adjusting the volume digitally and since
the raw data was about as rough as I could allow, going up or down
produced perceptable distortion. I would suggest adjusting the volume
in the analog domain with either a mechanical or electronic pot. If
you want to do it digitally, make sure you have plenty of bits
available but that takes storage space.

There are quite a few WAV file tools about on the net and you can
play on your PC to get an idea of what you can and can't do.
I found the time spent editting the data, expanding it to fill the
dynamic range and filtering on the PC paid off in the amount of ROM I
was able to save.

Steve.

======================================================
Steve Baldwin                Electronic Product Design
TLA Microsystems Ltd         Microcontroller Specialists
PO Box 15-680, New Lynn      http://www.tla.co.nz
Auckland, New Zealand        ph  +64 9 820-2221
email: RemoveMEstevebRemoveMEspamtla.co.nz      fax +64 9 820-1929
======================================================

1999\10\18@032024 by Duilio Foschi

flavicon
face
Brent,

my files are sampled at 16 bits.

How do this change things ?

Also, when does the header exactly end and data start ? (I need to take a
regular WAV file for input and output a regular WAV file to be played later).

Thank you

Duilio Foschi

At 22.44 16/10/99 +1300, you wrote:
{Quote hidden}

1999\10\18@034142 by gdaniel

flavicon
face
Duilio, why don't you open a 16 bit *.wav for random binary input and examine th
e
data ? try a silent sample and then a low frequency sine wave, the results shoul
d
be fairly apparent.

regards,
Graham Daniel.

Duilio Foschi wrote:

{Quote hidden}

1999\10\18@053840 by Brent Brown

picon face
Dulio,

Graham's idea is a good one - and that's exactly how I found out all
I needed to know about 8 bit .wav files.  You may need to find a
book on the subject to get all the details, but a little practical
investigation will go a long way.

Dulio wrote:
> Brent,
>
> my files are sampled at 16 bits.
>
> How do this change things ?
>
> Also, when does the header exactly end and data start ? (I need to
> take a regular WAV file for input and output a regular WAV file to be
> played later).

Graham wrote:
> Duilio, why don't you open a 16 bit *.wav for random binary input
> and examine the data ? try a silent sample and then a low frequency
> sine wave, the results should be fairly apparent.


Brent Brown
Electronic Design Solutions
16 English Street
Hamilton, New Zealand
Ph/fax: +64 7 849 0069
Mobile: 025 334 069
eMail:  KILLspambrent.brownKILLspamspamspamBeGoneclear.net.nz

1999\10\18@083151 by paulb

flavicon
face
Brent Brown wrote:

> Graham's idea is a good one - and that's exactly how I found out all
> I needed to know about 8 bit .wav files.

 Well, that's one approach, but what about http://www.wotsit.org/ ?
Specifically, http://wotsit.org/cgi-bin/download.cgi?wav ,
http://wotsit.org/cgi-bin/download.cgi?wave and
http://wotsit.org/cgi-bin/download.cgi?wavecomp .
--
 Cheers,
       Paul B.

1999\10\18@100623 by Wagner Lipnharski

picon face
Have you considered to use VOC sound files instead WAV? They don't have
headers, nothing else, the very fist byte is purely the first
digitalized audio, one byte per sample in 8 bits, two for 16.  I should
have few shareware programs to convert one to another (email me if you
are interested).  If you intend to play audio files with a
microcontroller, do not discard the possibility to record sounds
directly to VOC files.

>From 8 to 16 bits you have 256 times better resolution.  For regular
human recorded voice to be played at noisy environment as automobile
alerts, phone messages, street, public address and so on, a good
recording in 8 bits is enough, even sampling low as 9kHz, but for high
quality you need to go for 16 bits with sampling > 15kHz.

The use of "compressor" option (available at some audio editors), will
amplify low level and reduce high peaks, turning the voice recorded much
more understandable for 8 bits sampling.

The recomendation fot the 8 bits recording is adjust the maximum
recording level (clipping few peaks), and controlling the audio level in
the analog amplifier section, or the DAC output. The background noise
between words can be "blanked" with any audio editor.

1999\10\18@141029 by Duilio Foschi

flavicon
face
Brent,

I found all the infos I needed at

  http://www.wotsit.org

It seems that when the sound is sampled at 16bits the midpoint value is ... 0 !

So what I have to do is to multiply every integer of the data chunk (both
positive and negative values) by (100+p)/100, where p is the wanted volume
raise (in percentage).

I checked the formula against a WAV file whose volume was increased using
Goldwave and ev seems to work.

Now I need to write a program that will take into account the rather complex
RIFF structure of a WAV file in order to detect where the data chunk exactly
starts and ends.

Also some care must be taken in order to manage possible overflows.

I am on the right track now.

Thanks a lot

Duilio


{Quote hidden}

At 22.44 16/10/99 +1300, you wrote:
{Quote hidden}

1999\10\18@141821 by Duilio Foschi

flavicon
face
Daniel,

I tried that.

I can assure you that the RIFF structure of a WAV file cannot be guessed by
a binary dump.

You'd have a better chance with the state lottery :)

Thank you

Duilio

At 20.23 18/10/99 +1300, you wrote:
>Duilio, why don't you open a 16 bit *.wav for random binary input and
examine the
>data ? try a silent sample and then a low frequency sine wave, the results
should
{Quote hidden}

1999\10\18@142026 by Duilio Foschi

flavicon
face
WAV files are not my choice. I just have to use them.

Thank you

Duilio

At 09.48 18/10/99 -0400, you wrote:
{Quote hidden}

1999\10\18@144316 by Ben Stragnell

flavicon
face
Duilio,

Sure it can. If it's a simple PCM .WAV file, with no compression, then all
you have to do is figure out where the header ends. The rest is raw audio
data, and all you need to do is figure out whether it's hi or lo endian (in
the case of 16-bit data), and what the midpoint is.

Cheers,
Ben

{Original Message removed}

1999\10\18@155438 by Don Hyde

flavicon
face
There's a fantastic file format resource at:
http://www.wotsit.org/index.htm

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...