I've got it figured out now. There are many confusing pinout diagrams out there, but I've got the locations and names of the four pins of importance.
The Spinneret product provides all pins on the SDCard interface plus a card detect. The card detect circuit would be useful for your propeller computer. Just using the 4 pin interface limits us in the kind of hardware we can deploy (A QuadSPI Flash or other peripherals SDCard footprint for example).
I'm fine with the 4 pin interface of course if that makes the most sense.
What did the DE2-115 FPGA config image you provided before use?
The Spinneret product provides all pins on the SDCard interface plus a card detect. The card detect circuit would be useful for your propeller computer. Just using the 4 pin interface limits us in the kind of hardware we can deploy (A QuadSPI Flash or other peripherals SDCard footprint for example).
I'm fine with the 4 pin interface of course if that makes the most sense.
What did the DE2-115 FPGA config image you provided before use?
The DE2-115 configuration file I made for David Betz (which he posted for anyone else that was interested) connected all seven pins. I'll just keep them all, and arrange them as such in the next DE2-115 configuration file that uses the new add-on board we made:
The DE2-115 configuration file I made for David Betz (which he posted for anyone else that was interested) connected all seven pins. I'll just keep them all, and arrange them as such in the next DE2-115 configuration file that uses the new add-on board we made:
Chip,
There haven't been any restrictions on using an SD-card in 4-bit mode (which uses all of the pins) since the SD association released their specifications for it in 2006. It hasn't been implemented on the Propeller yet, since it wouldn't be faster than SPI, at least when using only one cog. The protocol was designed to be implemented in silicon, so the CRCs (which are required in 4-bit mode) are calculated separately for the data transmitted on each pin, instead of together for the data as a whole. (Each of the four CRCs ends up covering every fourth bit.) With an extra cog or two thrown in to calculate CRCs, or a faster Propeller II, an SD-card in 4-bit mode could be as fast as quad-SPI flash memory.
The 1280x1024 demo code in the latest doc from Chip.... is there any way to get that to work with the DE0 / DE2 boards, or we need to wait for physical silicon?
I gather from the comments it's using onboard DACs, but then again the frequency is 60MHz which tends to indicate Terasic board...
The 1280x1024 demo code in the latest doc from Chip.... is there any way to get that to work with the DE0 / DE2 boards, or we need to wait for physical silicon?
I gather from the comments it's using onboard DACs, but then again the frequency is 60MHz which tends to indicate Terasic board...
Anyone else tried this yet?
Have you tried running running the code and probing the outputs?
The 1280x1024 demo code in the latest doc from Chip.... is there any way to get that to work with the DE0 / DE2 boards, or we need to wait for physical silicon?
I gather from the comments it's using onboard DACs, but then again the frequency is 60MHz which tends to indicate Terasic board...
Anyone else tried this yet?
I thought Chip had said in the other thread that he was using one of the add-on boards for either the DE0 or DE2 that should be available to us faithful emulators any time real soon, now.
Have you tried running running the code and probing the outputs?
Yes that's pretty much exactly what I have done.
I upgraded the DE2 to the latest POF that David Posted (the one with the SD card support), as it also breaks out some other connections via port B (leds, switches,buttons, SD card). It was in the hope some DAC pins were also broken out.
I loaded the sample code in successfully, then probed pins on the VGA output plug and 40 pin header.
There are DC voltages on the VGA plug - the red signal on pin 1 about 1.43v DC, the green on pin 2 has about 1.97v DC, blue is 0.0v DC, and the syncs each have about 3.1v DC on them, but there isn't any modulation happening, its all DC. The fact those votlages are there at boot even when Prop2 *isn't* running makes me think they are just configured that way or float to those levels.
On the 40 pin header the signals (P0..31) were floating. I added a neg pina,#1 to the sample code to set those pins to outputs, but still couldn't see any modulation there.
I tried the DE0 too and couldn't see anything modulated either.
@MindRobots
Yes I look forward to those boards, but I'm desperate enough to solder my own resistor networks if that's all that's stopping the vga output.
The real trouble is I'm not quite sure if the DAC pins are mapped out yet or not, and if so whether the sample code needs some tweaks to reflect that.
I've got the DE0 emulation board (Thanks Chip!) and a DE0. I think I can find the software I need in the first post of this thread (thanks Cluso).
Only problem I have is I don't know which way to plug the DE0 into the emulation board...
Can anybody tell me which way it goes in?
Hopefully, I can try out some of those VGA drivers in the other thread this week...
There is a legend marking on the add-on board that shows that the DE0-Nano board's USB connector should be up from the arrow. You could also plug in the DE0-Nano to the add-on board so that the add-on board's text reads normally and the DE0-Nano's 2x13 header is located on the bottom, if you are holding the add-on board in front of you.
Late to the party, but up and running with the DE2, at least as far as getting into rom monitor. One question though. Prop plug works if plugged into the header on the DE2, but not if plugged into the 4-pin header on the add-on board.
I am Frank, a Belgian in the Bay Area. I have been eagerly awaiting the prop 2 ever since I first started playing with the prop 1. I have found some additional time for the coming three to four months... So, I was wondering if still makes sense to jump onto the emulation bandwagon? Or, is it likely we can duel for samples at the official propeller conference (ergo: I should train in stead of play)?
I am Frank, a Belgian in the Bay Area. I have been eagerly awaiting the prop 2 ever since I first started playing with the prop 1. I have found some additional time for the coming three to four months... So, I was wondering if still makes sense to jump onto the emulation bandwagon? Or, is it likely we can duel for samples at the official propeller conference (ergo: I should train in stead of play)?
Frank.
Unfortunately, I don't think real P2 chips will be available at OPC so feel free to jump on the FPGA emulation bandwagon! We'll welcome you aboard!
Comments
On PCB I made only Standard SPI is used.
I've got it figured out now. There are many confusing pinout diagrams out there, but I've got the locations and names of the four pins of importance.
The Spinneret product provides all pins on the SDCard interface plus a card detect. The card detect circuit would be useful for your propeller computer. Just using the 4 pin interface limits us in the kind of hardware we can deploy (A QuadSPI Flash or other peripherals SDCard footprint for example).
I'm fine with the 4 pin interface of course if that makes the most sense.
What did the DE2-115 FPGA config image you provided before use?
If You have any questions on PIN's used --- ask -- I can make list if that can help.
And one Question ... Will pin's that will be used to DAC's have possibility even be addressed as standard I/O pins?
The DE2-115 configuration file I made for David Betz (which he posted for anyone else that was interested) connected all seven pins. I'll just keep them all, and arrange them as such in the next DE2-115 configuration file that uses the new add-on board we made:
(Prop2 pin = xxxx)
63 = DATA3 (SPI CS)
62 = DATA2
61 = DATA1
60 = DATA0 (SPI DO)
59 = CMD (SPI DI)
58 = CLK (SPI SCLK)
57 = WP
There haven't been any restrictions on using an SD-card in 4-bit mode (which uses all of the pins) since the SD association released their specifications for it in 2006. It hasn't been implemented on the Propeller yet, since it wouldn't be faster than SPI, at least when using only one cog. The protocol was designed to be implemented in silicon, so the CRCs (which are required in 4-bit mode) are calculated separately for the data transmitted on each pin, instead of together for the data as a whole. (Each of the four CRCs ends up covering every fourth bit.) With an extra cog or two thrown in to calculate CRCs, or a faster Propeller II, an SD-card in 4-bit mode could be as fast as quad-SPI flash memory.
— David Carrier
I should receive it on Monday
The DE2-115 I ordered last week arrived today!!!
Right now I am setting up my new lab (about 700sq ft), including the new SMT assembly area
I gather from the comments it's using onboard DACs, but then again the frequency is 60MHz which tends to indicate Terasic board...
Anyone else tried this yet?
I'm excited!
Have you tried running running the code and probing the outputs?
I thought Chip had said in the other thread that he was using one of the add-on boards for either the DE0 or DE2 that should be available to us faithful emulators any time real soon, now.
Yes that's pretty much exactly what I have done.
I upgraded the DE2 to the latest POF that David Posted (the one with the SD card support), as it also breaks out some other connections via port B (leds, switches,buttons, SD card). It was in the hope some DAC pins were also broken out.
I loaded the sample code in successfully, then probed pins on the VGA output plug and 40 pin header.
There are DC voltages on the VGA plug - the red signal on pin 1 about 1.43v DC, the green on pin 2 has about 1.97v DC, blue is 0.0v DC, and the syncs each have about 3.1v DC on them, but there isn't any modulation happening, its all DC. The fact those votlages are there at boot even when Prop2 *isn't* running makes me think they are just configured that way or float to those levels.
On the 40 pin header the signals (P0..31) were floating. I added a neg pina,#1 to the sample code to set those pins to outputs, but still couldn't see any modulation there.
I tried the DE0 too and couldn't see anything modulated either.
@MindRobots
Yes I look forward to those boards, but I'm desperate enough to solder my own resistor networks if that's all that's stopping the vga output.
The real trouble is I'm not quite sure if the DAC pins are mapped out yet or not, and if so whether the sample code needs some tweaks to reflect that.
We'll need to send you all special add-on boards we are building right now. They should be ready to ship this week.
We'll also need to post configuration files to go with them.
Only problem I have is I don't know which way to plug the DE0 into the emulation board...
Can anybody tell me which way it goes in?
Hopefully, I can try out some of those VGA drivers in the other thread this week...
Look on picture Chip posted.
http://forums.parallax.com/showthread.php/146197-DE0-Nano-and-DE2-115-add-on-boards-for-Prop2-emulation-are-ready!?p=1165738&viewfull=1#post1165738
Be even sure You have installed that srtap that this picture show on 23 pin connector
There is a legend marking on the add-on board that shows that the DE0-Nano board's USB connector should be up from the arrow. You could also plug in the DE0-Nano to the add-on board so that the add-on board's text reads normally and the DE0-Nano's 2x13 header is located on the bottom, if you are holding the add-on board in front of you.
And be sure to put a jumper across pins 3 and 5 of the 2x13 header, like in the picture.
Sorry my bad .........Not 23 but 26 else as You write 2x13
http://forums.parallax.com/showthread.php/146197-DE0-Nano-and-DE2-115-add-on-boards-for-Prop2-emulation-are-ready!?p=1168136&viewfull=1#post1168136
Connect the Prop Plug with the label facing toward the center of the add on board. You should see the blinking LED's facing you.
I am Frank, a Belgian in the Bay Area. I have been eagerly awaiting the prop 2 ever since I first started playing with the prop 1. I have found some additional time for the coming three to four months... So, I was wondering if still makes sense to jump onto the emulation bandwagon? Or, is it likely we can duel for samples at the official propeller conference (ergo: I should train in stead of play)?
Frank.