RE: using PCE's ?

"NZG" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Oh, whoops, I didn't notice you were actually modifying the control
registers to move the PCE's.
I think you actually have to use a different kind of move instruction to use
the PCE's if you put the processor in another mode, but I've never tried
this.

NZG.

-----Original Message-----
From: NZG [mailto:[email protected]]
Sent: Thursday, March 25, 2004 2:07 PM
To: 'Hans Brinkman'; 'tini-6tN4nzCoH/[email protected]'
Subject: RE: [TINI]using PCE's ?


The OS doesn't use the PCE's, it configures the processor to use CE's for
the entire memory region.
The PCE lines can be used as GPIO's and are in fact by the Dallas SPI native
library.
They can also be moved(at a much slower rate) by the BitPort object.

NZG.

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of
Hans Brinkman
Sent: Thursday, March 25, 2004 7:03 AM
To: 'tini-6tN4nzCoH/[email protected]'
Subject: [TINI]using PCE's ?


Hi all

I'm using the Dallas 400 with SRAM at 0x0 - 0x100000 (1MB) and Flash at
0x400000-0x600000 (2MB). I am trying to get the PCE's working.
I have tried all sorts of SFR-settings, but so far, none of the PCE lines do
anything, apart from staying at high level.
The SFR's:
MCON = B3	- CE0, CE1 as Prog/Data memory and CE2, CE3 as Prog memory
P4CNT = EF	- CE0, CE1, CE2 enabled, 2MB per CEx
P5CNT = 87	- PCE0, PCE1, PCE2, PCE3 enabled
P6CNT = E0	- 1MB/PCEx

As far as I can tell, when stepping through the entire 16MB, reading each
byte, at some point the PCE's should be activated.
So far, however, this has not happened and at least PCE2 and PCE3 stay rock
solid at high level.

Can anybody shine some light on this?
(also, P4CNT says that eg. PCE3 controls 768K - 1 MB, while according to the
PC6CNT this should be 3-4MB ??)

Thanks in advance.

Regards,
	Hans


Hans Brinkman
LogicaCMG bv.
Division IDT-RTAT2, Advanced Technology
Kralingseweg 241-249, 3062 CE Rotterdam
Tel: 010-2537000
Fax: 010-2537032
Email: hans.brinkman-/[email protected]
The Information contained in this E-mail and its attachments is confidential
and may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed and others authorised to
receive it. If you are not the intended recipient you are hereby notified
that any disclosure, copying, distribution or taking any actions in reliance
of the contents of this E-mail and any attachments is strictly prohibited
and may be unlawful. LogicaCMG is neither liable for the proper and complete
transmission of the information contained in this E-mail and any attachments
nor for any delay in its receipt. If received in error, please contact
LogicaCMG on +31 (0)20 50 33 000 quoting the name of the sender and the
addressee and then delete it from your system. Please note that LogicaCMG
does not accept any responsibility for viruses and it is your responsibility
to scan the Email and attachments (if any). No contracts may be concluded on
behalf of LogicaCMG by means of E-mail communications.



This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini



_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.