PropBasic & PASD isuue
Spiller
Posts: 52
Hi All,
I'm a fan of Parallax product. I used SX chips with SX/B for years before. Now I'm building my application with Propeller chips. I have built my own HW. ( Propeller chip, I2C EEPROM. 3.3 regulator, some RC components for sigma-delta ADC and XOR gates for timer PWMs.) I have not integrated the USB-RS232 HW onto this small board, it is a separate plug. This HW works fine by using PropBasic with the BST. (My application status LED working well.) I like to use a serial ADC with SHIFTOUT and SHIFTIN commads, but it seems to be it is not working properly. (This HW configuration was working well in my older SX/B application.) I like to debug this issue with PASD. After I have dowload the the spin code genereted by PropBasic compiler by pressing F2 in PASD it gets the ASM code but says COM port not found. I tried to set the PORT manually but got the same issue.
I have download the latest PASD too (Ver 07) but it not solved my problem. What can be the problem? My own HW?
I have a PropStick too Ibut have not tried the PASD with this. May it help?
Can be a FTDI chip or driver issue? ( Although I downloaded the latest USB driver from the Parallax too.)
I have some additional problems too:
How the syntax highlighting working in BST for PropBasic? I can not set it up. I have black and white window only. I shaw syntax highlighted PropBasic code in the web. How it can happed?
Other problem:
Using the LOCKs in PropBasic
I did not see any sample code with using them. Can any one send me sample?
Best Regards
Spiller
I'm a fan of Parallax product. I used SX chips with SX/B for years before. Now I'm building my application with Propeller chips. I have built my own HW. ( Propeller chip, I2C EEPROM. 3.3 regulator, some RC components for sigma-delta ADC and XOR gates for timer PWMs.) I have not integrated the USB-RS232 HW onto this small board, it is a separate plug. This HW works fine by using PropBasic with the BST. (My application status LED working well.) I like to use a serial ADC with SHIFTOUT and SHIFTIN commads, but it seems to be it is not working properly. (This HW configuration was working well in my older SX/B application.) I like to debug this issue with PASD. After I have dowload the the spin code genereted by PropBasic compiler by pressing F2 in PASD it gets the ASM code but says COM port not found. I tried to set the PORT manually but got the same issue.
I have download the latest PASD too (Ver 07) but it not solved my problem. What can be the problem? My own HW?
I have a PropStick too Ibut have not tried the PASD with this. May it help?
Can be a FTDI chip or driver issue? ( Although I downloaded the latest USB driver from the Parallax too.)
I have some additional problems too:
How the syntax highlighting working in BST for PropBasic? I can not set it up. I have black and white window only. I shaw syntax highlighted PropBasic code in the web. How it can happed?
Other problem:
Using the LOCKs in PropBasic
I did not see any sample code with using them. Can any one send me sample?
Best Regards
Spiller
Comments
PropBasic has "LOCKNEW", "LOCKRET", "LOCKSET", and "LOCKCLR" commands. These work like the spin commands.
As for the SHIFTIN and SHIFTOUT problems, we'll need to see some code and a schematic to help with that.
Make sure you get the latest BST bst-0.19.4-pre14 from http://www.fnarfbargle.com/bst/snapshots/
Bean
Thaks for the qiuck answer. I have an earliest. I will update it. I have attached a part of my shematic. (AD converter and Propeller wiring)
Best Regards
Spiller
If Yours EEProm are one that You have on SCH (24C128 = 16KB) that give You problems.
You need 24C256 = 32KB else other type that have 32KB
This EEPROM is not the Boot EEPROM because it is side the PPROPELLER COMPUTER MODUL can' tsee in this schematic.
Best Regards
This has some filtering in it too, but the "inValue" variable holds the value from the ADC. You may have to change it slightly for the MCP3202.
Bean
I have dowloaded the latest BST, but the PASD COM port issue still exists.
I attached my PropBasic code and the PASD COM Port error screen shot.
Best Reagards
Spiller
Does PASD also not find the COM if you start PASD alone without any other Program running?
You need to set the right COM port in the COM menu. Then you can test it with COM Open/Close in the COM menu.
With SaveSettings in the File menu you can store the COM number, so you don't need to set it every time.
What is this "SMCWPCI-G11.." program on your Taskbar? Does this perhaps scan COM ports to sync with some device?
Andy
Thanks, I will try this.
The "SMCWPCI-G11.." is my WIFI Port
Best Regards
Spiller
It is working now. I'm happy! I don't know why the PASD wanted to connect to COM Port 6, while the Popeller was on COM Port 4. I have set it up now and works.
Thanks Ariba
Spiller