Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #379498

Re: OT: How fetch random byte on PIC16F648A

From Robert Baer <robertbaer@localnet.com>
Newsgroups sci.electronics.design
Subject Re: OT: How fetch random byte on PIC16F648A
References <pZqNx.53785$l07.38595@fx22.iad> <XnsA5217A6C9CF1A0xDEADBEEF@213.239.209.88> <8AENx.30414$NY7.4101@fx08.iad> <pn7e0btl0ovk5hpf94r9fdfgpj03grbdfc@4ax.com>
Message-ID <X4LOx.22293$1M2.20450@fx24.iad> (permalink)
Date 2015-09-29 23:14 -0700

Show all headers | View raw


krw wrote:
> On Sat, 26 Sep 2015 15:00:37 -0700, Robert Baer
> <robertbaer@localnet.com>  wrote:
>
>> Ian Malcolm wrote:
>>> Robert Baer<robertbaer@localnet.com>   wrote in
>>> news:pZqNx.53785$l07.38595@fx22.iad:
>>>
>>>> How fetch random byte on PIC16F648A without using CALL/RETLW, and get
>>>> from anywhere in program memory (say from 0x0100 to 0x1fff).
>>>>
>>>>      It is not clear if or how one could use EEDATA addressing, as well
>>>>      as not clear if or how one could use FSR/INDF addressing.
>>>>
>>>>      Help?
>>>
>>> You cant on the PIC16F6(27/28/48)A device family.  Generally the ability
>>> to read a random program memory locaation (rather than executing a RETLW
>>> instruction at a location) is only available ib PICs that have self-write
>>> FLASH (i.e. can change their own program memory at runtime)
>>>
>>>
>>    Thanks for the info.
>>    But it is stupid to NOT allow a READ.
>
> It takes logic to read data.  The point of PICs is to minimize the
> logic to the bare bones.  Perhaps it's broken by design but it wasn't
> an oversight.
>
   Well, the PIC16F648A has the FSR and some related registers; is not 
that logic??

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT:  How fetch random byte on PIC16F648A Robert Baer <robertbaer@localnet.com> - 2015-09-25 23:31 -0700
  Re: OT:  How fetch random byte on PIC16F648A Ian Malcolm <See.My.Sig.for.email@totally.invalid> - 2015-09-26 11:00 +0000
    Re: OT:  How fetch random byte on PIC16F648A Robert Baer <robertbaer@localnet.com> - 2015-09-26 15:00 -0700
      Re: OT:  How fetch random byte on PIC16F648A krw <krw@nowhere.com> - 2015-09-26 18:42 -0400
        Re: OT:  How fetch random byte on PIC16F648A Robert Baer <robertbaer@localnet.com> - 2015-09-29 23:14 -0700
          Re: OT:  How fetch random byte on PIC16F648A krw <krw@nowhere.com> - 2015-09-30 09:20 -0400
          Re: OT: How fetch random byte on PIC16F648A Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-01 16:19 +0100
            Re: OT: How fetch random byte on PIC16F648A rickman <gnuarm@gmail.com> - 2015-10-01 11:49 -0400
              Re: OT: How fetch random byte on PIC16F648A Martin Brown <|||newspam|||@nezumi.demon.co.uk> - 2015-10-01 20:59 +0100
      Re: OT: How fetch random byte on PIC16F648A rickman <gnuarm@gmail.com> - 2015-09-26 21:23 -0400
      Re: OT:  How fetch random byte on PIC16F648A Robert Roland <fake@ddress.no> - 2015-09-27 11:57 +0200
  Re: OT:  How fetch random byte on PIC16F648A Martin Riddle <martin_ridd@verizon.net> - 2015-09-26 10:51 -0400
    Re: OT:  How fetch random byte on PIC16F648A Robert Baer <robertbaer@localnet.com> - 2015-09-26 15:07 -0700
      Re: OT:  How fetch random byte on PIC16F648A Martin Riddle <martin_ridd@verizon.net> - 2015-09-26 18:22 -0400
        Re: OT:  How fetch random byte on PIC16F648A Ian Malcolm <See.My.Sig.for.email@totally.invalid> - 2015-09-27 01:51 +0000
          Re: OT:  How fetch random byte on PIC16F648A Robert Baer <robertbaer@localnet.com> - 2015-09-29 23:21 -0700
  Re: OT:  How fetch random byte on PIC16F648A Spehro Pefhany <speffSNIP@interlogDOTyou.knowwhat> - 2015-09-26 21:43 -0400
  Re: OT:  How fetch random byte on PIC16F648A "P E Schoen" <paul@pstech-inc.com> - 2015-09-27 21:56 -0400

csiph-web