I'm confused on how to setup the 123 board for P2 testing
potatohead
Posts: 10,261
in Propeller 2
I can finally talk to it now. It was lonely. Now it's hungry!
Anyone have a dead simple, do x, y, z pointer or comment here to share?
Anyone have a dead simple, do x, y, z pointer or comment here to share?
Comments
Power it up and flip the switch next to power connector to "PGM"
>px.exe /p /x Prop123_A7.........rbf
where x is your com port #
Switch to "RUN" and it should reset and reload FPGA. I usually power mine of just to make sure I load the latest. From here on, you just leave it in "RUN" and write PASM and load it with Ctl-F11 from PNUT.
Are getting to it through PNUT?
COM port less than 10 should work for that.
Ctl-G will query the hardware version.
If you have gotten here, start cranking out code!!!
I can't think of any other steps.
all_cogs_blink.spin should load and start light a blinkin'
Code examples?? I got a couple, nothing fancy.
What else you looking for??
Now, what is the difference in the DAC output? My test frame program should work on both boards, and it doesn't.
Sine DAC program doesn't work either.
I haven't done any video.
There's a schematic somewhere in the 1-2-3 FPGA thread if that would help. Maybe in the .ZIP files Chip first shared with us 1-2-3 people?
I imagine now that the Quartus software won't work since it's using a P1 for programming...
I just have to find a power supply now.. I wish they'd charged $10 more and included one...
Others have had luck with far less.
If it does, I'll have to get one too...
http://forums.parallax.com/discussion/comment/1338872/#Comment_1338872
http://www.amazon.com/gp/product/B009ZZV6TA?psc=1&redirect=true&ref_=od_aui_detailpages00
The power LED blinks off after a second or so. Sometimes the red and green LEDs with flash on right before power blinks off.
I guess either 12V, 2A is not enough, or there's something wrong with the board...
However, I still am unable to get DAC output on my 123. Right now, I'm using the DE2, and may come back to investigate more. For me personally, I can wait, and or upgrade to the A9 version, and my time is better spent writing PASM than it is digging through what might be wrong with the 123...
Everything looked perfect, except for some white residue on where the USB pins connect to the board. I cleaned that with alcohol and now it seems better...
Now, it stays on after all the LEDs light and it looks like LEDs GRN 15..12 are doing a binary count. Is that how it comes programmed?
I just PNut to "Get Hardware Version" and it tells me P1.
Interestingly, doing that gives me similar behavior to my earlier issue, i.e., LEDs go out and then red LED on Prop hat lights up. Main difference is that the Power LED doesn't flicker when doing this.
Anyway, I think it was the goop on the USB pins messing it up. Looked like it might have been solder flux, but don't know why that would be there...
It only finds something with switch set to Prog and the jumper on PGM.
I'm guessing I need to flash the rbf file.
I read from the top posts that the switch needs to be on PGM.
What about the jumper?
What position should it be in for using px on the rbf file?
px /P /8 foo.rbf
Thanks.
We are in early testing too. The boot process is simplified for the purpose of running instructions, looking for bugs, etc... When this stage is complete, the boot process will flesh out, encryption added, boot methods, etc... Clock speed is 50Mhz, a fraction of what is planned for the real device.
A few FPGA boards are supported. Altera DE2 and Nano, along with the Parallax A7 FPGA based 123 board. It's a partial emulation too, some of the COGS, and a few DAC outputs.
There is also smart pin development to complete. That may come before we improve on the actual boot process. Chip will have to tell us that. The smart pins will have some small amount of computing power centered right on the pin! A general expectation is to move some tasks to the pins, which will communicate with the rest of the chip via some special instructions.
Documentation is in progress. We've got a small subset documented, with more as we are testing and Chip works through the docs, which compete with bug fixes and or minor tweaks as they are found to make sense.
I've read/heard/dreamed that pins will have a/d capability....any idea on what the resolution will be?
Then, it just happened again... Power light flickering like crazy...
But then, after a few minutes and power cycles, it's all better.
At least it sometimes works... Very strange...
I now think it's something with the power supply. Happened to notice two twin looking switching supply units with big caps on the left side of the board. Touching the smts on bottom side of one of them makes power go crazy, but other one is not affected.
Maybe if the problem comes back, I'll investigate more...