Panther Posted November 16, 2013 Share Posted November 16, 2013 What about testing using SRAM space outside of the areas that failed a file comparison test on my system? The areas that failed were within three ranges: 20000-2003F 40000-4003F 60000-6003F Quote Link to comment Share on other sites More sharing options...
foft Posted November 16, 2013 Author Share Posted November 16, 2013 Interesting. Same address ranges Hias saw: "I checked and see a distinctive pattern: I get 3 blocks of 64 bytes with a lot of memory errors, starting at (byte) addresses 0x20000, 0x40000 and 0x60000. And also 2 failing bytes at 0x55506 and 0x55507." I actually use 0x00000 to 0x07fff (16-bit words) for the Atari base 64k. Outside this range! Quote Link to comment Share on other sites More sharing options...
Panther Posted November 16, 2013 Share Posted November 16, 2013 I was just doing some comparisons writing all 00s and all FFs to the SRAM and came up with both bits staying high or low, sometimes just one bit within a byte and sometimes more or none. Also, it's only in those three ranges, no issues outside of them. Other than it being within the ranges I'd listed, I don't see any other patters, so it's as though it's some sort of addressing issue unless it is just a bug in the old control panel. I wonder why they removed the SRAM functions from the new version. Since the memory you're using is well outside the range where my tests have problems, I don't think it's the SRAM itself that is having issues with your code. Quote Link to comment Share on other sites More sharing options...
foft Posted November 17, 2013 Author Share Posted November 17, 2013 Can you try the spectrum core? This also uses the sram chip. http://www.mike-stirling.com/2010/11/zx-spectrum-on-altera-de1-source-code/ Quote Link to comment Share on other sites More sharing options...
NML32 Posted November 17, 2013 Share Posted November 17, 2013 Can you try the spectrum core? This also uses the sram chip. http://www.mike-stirling.com/2010/11/zx-spectrum-on-altera-de1-source-code/ Just flashed the Spectrum sof file. Quote Link to comment Share on other sites More sharing options...
foft Posted November 17, 2013 Author Share Posted November 17, 2013 Just flashed the Spectrum sof file. image.jpg Well that looks pretty broken, presuming switches are right. This core also runs fine on my board. Quote Link to comment Share on other sites More sharing options...
NML32 Posted November 17, 2013 Share Posted November 17, 2013 Well that looks pretty broken, presuming switches are right. This core also runs fine on my board. Switches were set to SW9 up, SW6 up, and the rest down. Slightly different screen when SW7 is up - Shows garbage on screen. Quote Link to comment Share on other sites More sharing options...
HiassofT Posted November 17, 2013 Share Posted November 17, 2013 I tried the spectrum core on my DE1 (where I replaced the SRAM) and it seems to work fine. I don't know anything about speccies, but I managed to enter "print 42" and it printed "42" on the screen. So I guess it's OK Now that we have 2 cores that fail with the EDBLL SRAMs I guess it would be a good idea to contact Terasic directly. Could anyone of you with a nonworking DE1 do that? It would be very interesting to hear what they tell about the issue. so long, Hias Quote Link to comment Share on other sites More sharing options...
Panther Posted November 17, 2013 Share Posted November 17, 2013 Just flashed the Spectrum sof file. Yeah, that's fairly close to how mine looks. Quote Link to comment Share on other sites More sharing options...
Panther Posted November 17, 2013 Share Posted November 17, 2013 I've sent an email to Terasic support. Quote Link to comment Share on other sites More sharing options...
NML32 Posted November 17, 2013 Share Posted November 17, 2013 @Panther when did you buy your DE1 from Digi-Key? Quote Link to comment Share on other sites More sharing options...
Panther Posted November 18, 2013 Share Posted November 18, 2013 About a week ago. Quote Link to comment Share on other sites More sharing options...
Panther Posted November 18, 2013 Share Posted November 18, 2013 Terasic's reply: The different SRAM chips on the board more likely have different specifications. There should be the specifications differe onto the DE1 board SRAM module that cannot run well with your apps which you mightbe not created exactly by following the SRAM's specifications. As what you mentioned in the email that there are some DE1 boards are having problems with the SRAM, could you provide us more about the source codes on the SRAM programming? We would like to help you to debug. Thank you.Send us a simple one is workable. Quote Link to comment Share on other sites More sharing options...
foft Posted November 19, 2013 Author Share Posted November 19, 2013 If you have a board with problematic sram try this version: experiment_201301119.sof If you put sw7 up then it uses sdram. If you put sw7 down then it uses sram. There is no benefit in using sdram if your sram works (yet - in future there will be more memory available). Quote Link to comment Share on other sites More sharing options...
Panther Posted November 19, 2013 Share Posted November 19, 2013 It runs on my board with SW7 up. 1 Quote Link to comment Share on other sites More sharing options...
Panther Posted November 19, 2013 Share Posted November 19, 2013 Interesting...my Asus VW266H monitor will display it even without the scan doubler enabled. The signal is outside the range specified by Asus, but the monitor is apparently okay with it. Quote Link to comment Share on other sites More sharing options...
foft Posted November 19, 2013 Author Share Posted November 19, 2013 Pleased it runs with SDRAM. Let me know how you get on - feel free to post some videos to youtube:-) We'll have to create a simple SRAM example for terasic. I guess a counter that writes/reads each location should show the problem. I might not have time for that for a few weeks though. Quote Link to comment Share on other sites More sharing options...
Panther Posted November 19, 2013 Share Posted November 19, 2013 Now that it runs I need to add those connections to my serial port, thanks! Unfortunately, at this point I know very little about this board, so I'd be very appreciative of an example to send them, but I can understand your schedule with a move and stuff. I think you mentioned a new job too? Quote Link to comment Share on other sites More sharing options...
NML32 Posted November 19, 2013 Share Posted November 19, 2013 Almost... I see the ready screen and can run the system tests. But my screen flashes between video and black screen. Computer monitor Samsung SyncMaster 2220wm Switches set to 7 & 4 up the rest down. Quote Link to comment Share on other sites More sharing options...
foft Posted November 20, 2013 Author Share Posted November 20, 2013 If this monitor works with the normal core it probably doesn't like my recent change to use composite sync on hsync even when scandoubled. This is for my development use since my new monitor only has composite sync. Quote Link to comment Share on other sites More sharing options...
NML32 Posted November 20, 2013 Share Posted November 20, 2013 Is this a setting that could be controlled with a switch? If this monitor works with the normal core it probably doesn't like my recent change to use composite sync on hsync even when scandoubled. This is for my development use since my new monitor only has composite sync. Quote Link to comment Share on other sites More sharing options...
foft Posted November 20, 2013 Author Share Posted November 20, 2013 The switches will be moved to an osd. I ran out of switches:) Quote Link to comment Share on other sites More sharing options...
Panther Posted November 20, 2013 Share Posted November 20, 2013 The switches will be moved to an osd. I ran out of switches:) That does it, everyone move to a DE2! Quote Link to comment Share on other sites More sharing options...
foft Posted November 20, 2013 Author Share Posted November 20, 2013 That does it, everyone move to a DE2! Perhaps I can make a breakout board adding 100 switches to the DE1 instead:-) Quote Link to comment Share on other sites More sharing options...
NML32 Posted December 5, 2013 Share Posted December 5, 2013 I just got this reply from Digi-Key about my DE1. Hi Mark, Regarding your return of ###### from Invoice #########, our Product Manager has concluded that the product is defective, and will be returned to the manufacturer. Credit will be issued accordingly back to the credit card of purchase by the end of the week. Please accept our apologies for the inconvenience. Not sure what to do since my replacement board from Digi has the same issues and SRAM chips as the one the deemed as defective. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.