Exact match. Not showing close matches.
PICList
Thread
'[PIC] Hitech PICC Lite limitations - add a LUT?'
2008\04\23@103950
by
Spehro Pefhany
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...TakeThisOuT
interlog.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
>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
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
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...