Searching \ for '[PIC] Hitech PICC Lite limitations - add a LUT?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'Hitech PICC Lite limitations - add a LUT?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Hitech PICC Lite limitations - add a LUT?'
2008\04\23@103950 by Spehro Pefhany

picon face
Hi,

Using Hitech's PICC Lite with the PIC16F690, there's a 2K word code
limitation. Is there a reasonable way to stuff a 1K or 2K lookup table
into the remaining 2K words of flash?

Best regards,
Spehro Pefhany
--
"it's the network..."                          "The Journey is the reward"
spam_OUTs...TakeThisOuTspaminterlog.com             Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog  Info for designers:  http://www.speff.com

2008\04\23@111025 by Alan B. Pearce

face picon face
>Using Hitech's PICC Lite with the PIC16F690, there's a 2K word code
>limitation. Is there a reasonable way to stuff a 1K or 2K lookup table
>into the remaining 2K words of flash?

I would have thought using pointers, and setting up the table in assembler
would do it.

2008\04\23@112111 by Mike Harrison

flavicon
face
On Wed, 23 Apr 2008 10:39:25 -0400, you wrote:

>Hi,
>
>Using Hitech's PICC Lite with the PIC16F690, there's a 2K word code
>limitation. Is there a reasonable way to stuff a 1K or 2K lookup table
>into the remaining 2K words of flash?

Henerate a seperate hex file in mpasm and merge the hex files afterwards...
You can probably do some pointer-fudging macros  to make it look like a real  array.

If you can persuade a programmer to not wipe its buffer when loading a new file, this should be as
simple as loading the two hex files one after the other.
Not too familiar with the Hi-Tech linker but there may even be an option to merge a hex file - if
you're lucky this might be after the code-size-limit test..

In the worst case you might need to do an asm procedure to access the table.

2008\04\23@183232 by sergio masci

flavicon
face


On Wed, 23 Apr 2008, Spehro Pefhany wrote:

> Hi,
>
> Using Hitech's PICC Lite with the PIC16F690, there's a 2K word code
> limitation. Is there a reasonable way to stuff a 1K or 2K lookup table
> into the remaining 2K words of flash?
>
> Best regards,
> Spehro Pefhany

I haven't tried this but I would suspect you could probably con it into
thinking you have an array somewhere in low code space and hack the code
bank yourself before you try to access it so that it ends up looking at
that location +2K. Then you would just need to load the array into the top
2K (plus offset).

Regards
Sergio

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