It breathes and compiles
KMyers
Posts: 433
in Propeller 2
Just fired up my P2 eval board after sitting on it over the holidays. Using Flexgui I see the board and can edit and compile. Very happy!
Questions:
1 What should the dip switches be set to?
2 How to get into the forth in rom?
3 Source step by step to learn pasm?
Thanks guys, great chip and love Flexqui and Catalina.
Questions:
1 What should the dip switches be set to?
2 How to get into the forth in rom?
3 Source step by step to learn pasm?
Thanks guys, great chip and love Flexqui and Catalina.
Comments
Taqoz can be activated with ">" then [ESC][ESC] after a reset when the prop2 is waiting for a download. It's actually just the ESC but the ">" and another character is needed for baud detection first.
There's no Pasm learning documents but https://propeller.parallax.com/ has links to the spreadsheet of the instruction set and the main google doc covering the prop2. There was also assembler directives listed in the FPGA zip files, the last one of those is attached. Eric may also have something with Flexgui, dunno.
EDIT: Corrected Taqoz entry description.
I've generally left the dip switches at the default except when I'm programming / booting from flash.
There's an escape sequence to get into the forth in ROM, but I can never remember it. So I added it to the "Special" menu in flexgui, and that's probably the easiest way to get to it.
The P2 version of PASM isn't very well documented yet. If you know the P1 version of PASM then the Parallax google docs are fairly useful, but otherwise I would start with P1.
From Peter's Doc's:
GETTING THE TAQOZ PROMPT UP
Connect a terminal and I recommend using ones that don't drop characters and support ANSI such as TeraTerm, RealTerm, GtkTerm, Minicom. You can use any baud rate from 9600 to 2M baud (even 3M works) but by default select 115200, 8 data, 1 stop, no parity, no handshakes, no echo, no extra CR/LFs etc.
[Now that you have your P2 connected to a terminal you can type a "greater than sign" and a "space" to autobaud the serial loader after which you can hit escape to escape to TAQOZ. That is the ASCII key sequence for $3E,$20,$1B.
I used it with the BOD switch on (Up)
Sorry if my message was a bit unclear. Evan had posted the escape sequence already, or at least one that works. What I was trying to say is that FlexGUI has support for running TAQOZ in ROM baked in. So yes, you can get a terminal program like one of the ones listed above, run it, manually reset your P2 board, and then enter the magic sequence. Or, you can run flexgui.exe and select the "Special > Enter P2 ROM TAQOZ" menu item and then get TAQOZ in flexgui's built in terminal emulator.
The original poster indicated he had FlexGUI installed, so I thought that might be the easier way to do it for him. Obviously YMMV.
Any how all good and will play now. Havent touched a prop in years so I am rusty and cant see well.
How big an sd can we boot from?
A 32GB card is the largest that can be formatted with FAT32 natively. Others can be booted from up to128GB I believe.
IIRC only 31 bits can be used for sector number, of 512 Byte sectors = 1TB