I am asking because i stumbled upon this:
tinyos-1.x\tos\lib\TinySec\SkipJackM.nc, lines 74-80
"F-BOX
It can live in either RAM (faster access) or program memory (save ram, but
slower access). The type CRYPTO_TABLE_TYPE, defined in crypto.h defines
where we drop the table and how we access it. This is necessary to compile
for the PC target since it doesn't support tables in program memory the same
way.
static const CRYPTO_TABLE_TYPE SJ_F[] = {...}"
The comment seems to imply that there is a performance difference between
reads from ROM/RAM but I cant find any other info than this.
Help is welcome
Rgds
Artur
2007/5/17, Michael Schippling <[EMAIL PROTECTED]>:
A quick review of the ATMEGA manual reveals...nothing...
I suspect that access times are the same, for reads anyway,
on both internal memories because instructions seem to take
the same number of clock cycles. More manual study would
be indicated however...
MS
Artur Skrajnowski wrote:
> Hi,
>
> Does anyone know the difference in the ROM and RAM memory access times
> for MICA2 in TinyOS?
> I have a table lookup heavy app and would like to know how performance
> might change if I placed the table in ROM or RAM.
> Unfortunately I dont a have a mote to test it "live".
>
> Any links to docs / articles touching this subject would also be
apreciated.
>
> Thanks for the help.
>
> --
> Regards
> Artur Skrajnowski
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Pozdrawiam
Artur Skrajnowski
[EMAIL PROTECTED]
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help