Searching \ for '(OT) Re: Mystery Processor - Revealed' 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=mystery+processor
Search entire site for: 'Re: Mystery Processor - Revealed'.

Truncated match.
PICList Thread
'(OT) Re: Mystery Processor - Revealed'
1999\06\02@103330 by Mark Walsh

flavicon
face
Russell McMahon wrote:
>
> AVR 8535
>
> Others are equally well priced.
> *MHz was of course meant to be 8 MHz
>

> >> 8 Kbyte flash

One got'cha to watch out for if moving from the
PIC to an AVR is
that an 8 kByte flash only holds 4 kBytes of
instructions.  Every
instruction is two bytes long.  Although you can
stuff a lot of
code into that space, it is easy when moving from
the PIC to think
you have twice the code space you actually do
(like I did).

Mark Walsh

1999\06\02@233410 by Tjaart van der Walt

flavicon
face
Mark Walsh wrote:

> > >> 8 Kbyte flash
>
> One got'cha to watch out for if moving from the
> PIC to an AVR is
> that an 8 kByte flash only holds 4 kBytes of
> instructions.  Every
> instruction is two bytes long.  Although you can
> stuff a lot of
> code into that space, it is easy when moving from
> the PIC to think
> you have twice the code space you actually do
> (like I did).

With the 16 bit instruction width, you get
1) 120 instructions
2) 32 X 8 bit general purpose working registers
3) Linear memory space (no banking shit)

These three features take you waaaaay further than
twice the 14 bit memory in a PIC. Check your code -
you will find that the banking commands take up
*at least* 17% (up to 25%) of your code space in a PIC.
Add 8 MIPS and a stack that you can read/write to.

Oh, yes - they sell for much less than the PIC OTP's.

A Mchip marketing guy yesterday told me that they can
compete with any other OTP price out there. Hahahahaha.

--
Friendly Regards          /"\
                         \ /
Tjaart van der Walt        X  ASCII RIBBON CAMPAIGN
spam_OUTtjaartTakeThisOuTspamwasp.co.za  / \ AGAINST HTML MAIL
|--------------------------------------------------|
|             Cellpoint Systems SA                 |
|             http://www.cellpt.com                |
|--------------------------------------------------|
|     http://www.wasp.co.za/~tjaart/index.html     |
|               Voice: +27-(0)11 2545100           |
|--------------------------------------------------|

1999\06\03@092919 by Andy Kunz

flavicon
face
>These three features take you waaaaay further than
>twice the 14 bit memory in a PIC. Check your code -

I would hope that with 2 extra bits it would bemore like 4x.

>you will find that the banking commands take up
>*at least* 17% (up to 25%) of your code space in a PIC.

By smartly arranging my variables and subroutines, this can be reduced to
5%.  Shoot, the HiTEch PICC compiler rarely goes about 12%.

Maybe you are too lazy, Tjaart! <G>

>Add 8 MIPS and a stack that you can read/write to.

NOW you make me envious.

Andy

==================================================================
  Montana Design Tech Support - http://www.montanadesign.com
==================================================================

1999\06\03@122017 by Mark Walsh

flavicon
face
Tjaart van der Walt wrote:

> With the 16 bit instruction width, you get
> 1) 120 instructions
> 2) 32 X 8 bit general purpose working registers
> 3) Linear memory space (no banking shit)
>
> These three features take you waaaaay further than
> twice the 14 bit memory in a PIC. Check your code -
> you will find that the banking commands take up
> *at least* 17% (up to 25%) of your code space in a PIC.
> Add 8 MIPS and a stack that you can read/write to.
>
> Oh, yes - they sell for much less than the PIC OTP's.
>
> A Mchip marketing guy yesterday told me that they can
> compete with any other OTP price out there. Hahahahaha.

You are absolutely right.  I was just being a pig
when I expected to get twice as much code space.
We've moved to the AVR's for most of our new
designs.  The PIC just can't compete on a
bang-for-the-buck basis.

Mark Walsh

1999\06\03@152019 by steveb

flavicon
face
> With the 16 bit instruction width, you get
> 1) 120 instructions
> 2) 32 X 8 bit general purpose working registers
> 3) Linear memory space (no banking shit)
>
> These three features take you waaaaay further than
> twice the 14 bit memory in a PIC. Check your code -
> you will find that the banking commands take up
> *at least* 17% (up to 25%) of your code space in a PIC.
> Add 8 MIPS and a stack that you can read/write to.

I have an application in HiTech C that fills a 16F84 and I
wanted to grow it a bit further. ICC announced a trial for their AVR
compiler so I gave it a shot and didn't get the results I expected.
PIC - 986 words
AVR - 2200 words
Changing the pin bashed serial code to use the UART brought that down
to 1750 words but that still doesn't help much.

I've used the AVR for a couple of things and I was quite suprised
both that the results were this way around and by how much.

Anyone else have any real unbiased data ?

======================================================
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: .....stevebKILLspamspam@spam@tla.co.nz      fax +64 9 820-1929
======================================================

1999\06\03@232559 by Tjaart van der Walt

flavicon
face
Andy Kunz wrote:
>
> By smartly arranging my variables and subroutines, this can be reduced to
> 5%.  Shoot, the HiTEch PICC compiler rarely goes about 12%.
>
> Maybe you are too lazy, Tjaart! <G>
Hehehe. I tell myself that every day!

--
Friendly Regards          /"\
                         \ /
Tjaart van der Walt        X  ASCII RIBBON CAMPAIGN
tjaartspamKILLspamwasp.co.za  / \ AGAINST HTML MAIL
|--------------------------------------------------|
|  Cellpoint Systems SA    http://www.cellpt.com   |
|--------------------------------------------------|
|     http://www.wasp.co.za/~tjaart/index.html     |
|             WGS84 : -26.0124 +28.1129            |
|             Voice : +27 (0)11 2545100            |
|--------------------------------------------------|

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