cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

We are using the EMIF and try to check the connection via several test sequences. With the 8-bit macros (SET, GET) we get the correct values returned, although the memory window only shows the values on even addresses. The odd addresses display always 0x00 all over the 64 k of the external SRAM (starting from 0x60000000).

   

Are the displayed values correct? And does it mean I place (SET) my "odd-test-byte" somewhere else and I read (GET) it back from that wrong location?

   

Or does the memory window always expects a 16 bit SRAM, and therefore doesn't display the odd values? 

0 Likes
Reply
1 Solution
Anonymous
Not applicable

Hi Markus,

   


It seems the debugger always uses 16-bit data bus regardless of what is actually selected for the EMIF data width.

   

We have observed that when  EMIF is configured for 16-bit data bus, the data gets written, read and displayed correctly.

View solution in original post

0 Likes
Reply
5 Replies
Employee

Please check your hardware wise the address bit connections.

   

Please check whether you are incrementing the address properly in firmware.

   

If possible please share your project

0 Likes
Reply
Anonymous
Not applicable

Hi,

   

in between we found a small sentence within the documentation.

   

"PSoC 5LP should only initiate 8 bit requests for 8 bit memories".

   

We moved the 16 and 32 bit macros to pure 8 bit requests and got successful results.

   

The issue with the missing display within the memory watch window at odd addresses still remains.

0 Likes
Reply
Anonymous
Not applicable

Hi Markus,

   


It seems the debugger always uses 16-bit data bus regardless of what is actually selected for the EMIF data width.

   

We have observed that when  EMIF is configured for 16-bit data bus, the data gets written, read and displayed correctly.

View solution in original post

0 Likes
Reply
Anonymous
Not applicable

I know this reply was over a year ago, but is this STILL the case with the debugger?  I believe I am seeing this problem withh PSoC creator 4.1 and an EMIF interface to a part I'm working with.  I am trying to figure out how I can get access the data I'm after during testing if the debugger only uses 16 bit addressing.

0 Likes
Reply
Contributor II

Any updates with debugger here?

We're on PSoC Creator 4.3 and still seeing EMIF work for 8-bit Address and 8-bit Data on PSoC 5 only if offset address is even.

Greg

0 Likes
Reply