- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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