2008-05-16 00:27:09     external peripheral access problem in BF561

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-05-16 00:27:09     external peripheral access problem in BF561

Praveen Deshpande (INDIA)

Message: 55880   

 

Hi,

 

iam accessing external peripheral from BF561 using asynchronous memory  bank 1

 

The following setting has being made to access the device.

 

EBIU_AMGCTL     ----    Enable all banks

 

EBIU_AMBCTL0   ----    0xFFC2

 

 

still we are not able to access the device registers.

 

what could be the problem? Can anybody suggest.

 

 

and one more problem is while allocating memory for the data structures of  the peripheral, we get following error

 

-------- HARDWARE ERROR -------

 

External memory addressing error

 

 

 

Regards

 

Praveen

 

QuoteReplyEditDelete

 

 

2008-05-16 10:50:36     Re: external peripheral access problem in BF561

Mike Frysinger (UNITED STATES)

Message: 55934   

 

you've showed the settings for Bank 0, not Bank 1

 

you should start slow and verify that the hardware actually works ... when you try to read the address you think the device is on, the request actually goes out to the device

 

as for hardware errors, that shouldnt occur when calling malloc ... either things are severly corrupted by another process, or your hardware is flaky

Attachments

    Outcomes