Pages: [1]
Author Topic: ADDRSEL  (Read 4328 times)
terminator
Sr. Member
****

Karma: +15/-4
Offline Offline

Posts: 425


« on: May 30, 2014, 05:58:25 AM »

I would like to ask someone who knows assembler very well. 
I'm trying to understand how to know where to load flash, eeprom, RAM? (according to this forum 800000 address for ROM and 380000 for RAM). But what about eeprom?

ROM:7726                 mov     ADDRSEL1, #3801h
ROM:772A                 mov     BUSCON1, #40Ch
ROM:772E                 mov     ADDRSEL2, #1007h
ROM:7732                 mov     BUSCON2, #48Ch
ROM:7736                 mov     ADDRSEL3, #0
ROM:773A                 mov     BUSCON3, #0
ROM:773E                 mov     ADDRSEL4, #0
ROM:7742                 mov     BUSCON4, #0

Ok, 3801h means that memory space 8kb and 380000 address. This is for RAM as I understand.

But ADDRSEL2, #1007h means 512kb and 100000? ADDRSEL3 = 0 Huh

In VAG me7 its possible to use DPP0-3 for finding memory address, but in edc15 there are 0,1,2,3 in DPP registers.   

Please give me a point to start.
« Last Edit: May 30, 2014, 06:00:10 AM by terminator » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.012 seconds with 17 queries. (Pretty URLs adds 0.001s, 0q)