This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Activating chip selects...???

I'm trying to access external devices on a XC161.
A0-A19 are active.
So are CS0-CS4.
ADDRSEL4 is set to 0x0400 (start at 40000h, size 4k)
Writing to 0x40000 works but CS0 is activated not CS4 ???
I have no experience with this family, so I must be doing something silly...

Startup file was generated by DAVE, but checked out to be correct.
Writing is done by use of a pointer. Is there an other/more direct way of accessing external memory/device?

Frank

Parents
  • Hi Frank,
    thanks a lot for this info. This macro we found suspect as I got back the first mail from the DAvE's author. But at this time I had not enough time to check completely.
    Sounds really good, what you wrote.
    I will try it out asap.

    What I did, was to inspect DAvE's *.dpt and the project_name.asm which hold the asm formatted informations for IDE.
    Right was the authors say - DAvE calculate it all right. So the macro must be the bad boy. ;-}
    Stefan

Reply
  • Hi Frank,
    thanks a lot for this info. This macro we found suspect as I got back the first mail from the DAvE's author. But at this time I had not enough time to check completely.
    Sounds really good, what you wrote.
    I will try it out asap.

    What I did, was to inspect DAvE's *.dpt and the project_name.asm which hold the asm formatted informations for IDE.
    Right was the authors say - DAvE calculate it all right. So the macro must be the bad boy. ;-}
    Stefan

Children