Tema: Re: "Jaunasis radioliubitelius" - nuo ko pradeti?
Autorius: Levas
Data: 2012-01-27 19:01:34
Esme tame, kad kad ir 16F84 negali adresuoti tiesiogai savo programos atminties, jei reikia sokti kur nors toliau, reikia rupinti vyresniu baitu "aka" memory page. Kitas minusas PICui- nera nemokamo standartizuoto C.
Nauji pikai (18) jau pasitaise:
a.. extending the FSR registers to 12 bits, allowing them to linearly address the entire data address space

As prisimenu PIC kosmara, kai softas buvo per visa MCU atminti ir kai reikejo rupintis, tuo "vyresniuoju" pusbaiciu. Po sito kosmaro, ATMEGA16 pasirode kaip superkompiuteris... :) Juolab, kad is kazkokio sroto prisilupaus keliolika ju. :)

Dar prie minusu rodos buvo registru neuniversalumas, viskas kaip pas koki 6805 ar 8080 eina per viena akumuliatoriu...

Placiau apie Pic16 page problemas:
With paged program memory, there are two page sizes to worry about: one for CALL and GOTO and another for computed GOTO (typically used for table lookups). For example, on PIC16, CALL and GOTO have 11 bits of addressing, so the page size is 2048 instruction words. For computed GOTOs, where you add to PCL, the page size is 256 instruction words. In both cases, the upper address bits are provided by the PCLATH register. This register must be changed every time control transfers between pages. PCLATH must also be preserved by any interrupt handler.





-- 
Bye, Levas

--
http://www.vabolis.lt

"bleketas@work" <bleketas@nospam_takas_.lt> wrote in message news:jfujgg$qi8$1@trimpas.omnitel.net...
> kas yra nauja serija ir kas ta puslapiuota atmintis?
> 
> kazkaip labai minimaliai is seniau esu pradejes butent su pic zaisti ir 
> nematau ju blogumo. poreikiai minimalus, zaidziau su 16f877 ir 12 serijos 
> picais, kolkas tenkino.
> 
> Idomu is teorines puses kas su jais blogai ir kas gerai toje naujoje 
> serijoje?
> 
> 
> "Levas" <info@gooo.com> wrote in message 
> news:jfuehd$k0p$1@trimpas.omnitel.net...
>> jei pic, tai tik naujas serijas. Ta sena pabaisa su "puslapiuota" atmintim 
>> geriau neprisiminti.
>>
>> -- 
>> Bye, Levas
>>
>> --
>> http://www.vabolis.lt
>>
> 
>