Subversion Repositories zpu
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 17 to Rev 18
- ↔ Reverse comparison
Rev 17 → Rev 18
Phi memory map
+The ZPU architecture does not define a memory map as such, but the GCC + libgloss + ecos hal library uses the +memory map below. ++
+ Address + |
+
+ Type + |
+
+ Name + |
+
+ Description + |
+
+ 0x080A0000 + |
+
+ Write + |
+
+ ZPU + enable + |
+
+ Bit + [31:1] Not used +Bit + [0] Enable ZPU operations +0 ZPU + is held in Idle mode +1 ZPU + running + |
+
+ 0x080A000C + |
+
+ Read/ +Write + |
+
+ ZPU + UART to ARM7 TX +NOTE! + ZPU side + |
+
+ Bit + [31:9] Not used +Bit + [8] TX buffer ready (valid on ready) +0 TX + buffer not ready (full) +1 TX + buffer ready +Bit + [7:0] TX byte (valid on write) + |
+
+ 0x080A0010 + |
+
+ Read + |
+
+ ZPU + UART to ARM7 RX +NOTE! + ZPU side + |
+
+ Bit + [31:9] Not used +Bit + [8] RX buffer data valid +0 TX + buffer not valid +1 TX + buffer valid +Bit + [7:0] RX byte (when valid) + |
+
+ 0x080A0014 + |
+
+ Read/ +Write + |
+
+ Counter(1) + |
+
+ Bit + [0] Reset counter (valid for write) +0 N/A +1 Reset + counter +Bit + [1] Sample counter (valid for write) +0 N/A +1 Sample + counter +Bit + [31:0] Counter bit 31:0 + |
+
+ 0x080A0018 + |
+
+ Read + |
+
+ Counter(2) + |
+
+ Bit + [31:0] Counter bit 63:32 + |
+
+ 0x080A0020 + |
+
+ Read + / Write + |
+
+ Global_Interrupt_mask + |
+
+ Bit + [31:1] Not used +Bit + [0] Global intr. Mask +0 Interrupts + enabled +1 Interrupts + disabled + |
+
+ 0x080A0024 + |
+
+ Write + |
+
+ UART_INTERRUPT_ENABLE + |
+
+ Bit + [31:1] Not used +Bit + [0] UART RX interrupt enable +0 Interrupt + disable +1 Interrupt + enable + |
+
+ 0x080A0028 + |
+
+ Read +Write + |
+
+ UART_interrupt + |
+
+ Bit + [31:1] Not used +Bit + [0] UART RX interrupt pending (Read) +0 No + interrupt pending +1 Interrupt + pending +Bit + [0] Clear UART interrupt (Write) +0 N/A +1 Interrupt + cleared + |
+
+ 0x080A002C + |
+
+ Write + |
+
+ Timer_Interrupt_enable + |
+
+ Bit + [31:1] Not used +Bit + [0] Timer interrupt enable +0 Interrupt + disable +1 Interrupt + enable + |
+
+ 0x080A0030 + |
+
+ Read + / +Write + |
+
+ Timer_interrupt + |
+
+ Bit + [31:2] Not used +Bit + [0] Timer interrupt pending (Read) +0 No + interrupt pending +1 Interrupt + pending +Bit + [1] Reset Timer counter (Write) +0 N/A +1 Timer + counter reset +Bit + [0] Clear Timer interrupt (Write) +0 N/A +1 Interrupt + cleared + |
+
+ 0x080A0034 + |
+
+ Write + |
+
+ Timer_Period + |
+
+ Bit + [31:0] Interrupt period (write) +Number + of clock cycles +between + timer interrupts +NOTE! + The timer will start at Timer_Periode value and count down + to zero, and generate an interrupt + |
+
+ .0x080A0038 + |
+
+ Read + |
+
+ Timer_Counter + |
+
+ Bit + [31:0] Timer counter (read) +
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+
+
|
+