 |
|
 |
| Parallax Forums > Public Forums > Propeller Chip > Updated: the PropTerminal | Forum Quick Jump
|
|  Ariba Registered Member

       Date Joined Apr 2007 Total Posts : 596 | Posted 5/9/2007 5:24 PM (GMT -8) |   | Hi all, after many nights of work, I will present you my Propeller Terminal.
The PropTerminal is not just another Terminal-program for a PC. It is specially made for the Propeller in such a way, that it can emulate a keyboard, mouse and TV-Text-Display with the PC. If you use a PropStick, or, like me, the Propeller chip direct on a breadboard, it can be very handy to use this emulation instead of connecting the real PS2-devices and a TV or VGA-Monitor. You only need the serial (USB) connection with P30 and P31 and have all other Pins free for other purpose. It can be also very usefull to get a second Display for debugging, I used it for example with POD to debug assembly code (see appended screenshots). To easy include the Emulation in existing spin applications, I adapted the original drivers for keyboard, mouse and text display in such a way that they communicate over the serial interface with the terminal. You only have to replace the driver-objects in the OBJ section, and mostly it will work. It is also possible to mix real and emulated devices, for example use PropTerminal as keyboard and mouse, and a real TV as Display.
Because PropTerminal has to share the COM-Port with the Propeller Tool, I implemented a special mode that allows fast switching between the two applications. Every time the PropTerminal is minimized to the Taskbar, it closes the COM-Port and the Propeller Tool can download the new code. When finished, you click on PropTerminal in the Taskbar, then the Window and the COM-Port opens again.
Other features of PropTerminal are: - included loader for binary files - displays the special propeller-font characters - can also draw some simple graphics
What is not possible: - keystate methode of keyboard object not yet supported (used often by games) - no direct emulation of Graphics object, only Text - not the original color palette
The actual PropTerminal is a Beta-version for Windows. I have tested it only on one single computer with a swiss-german keyboard layout. So I don't know how good it is working on other computers, OSes, keyboard-layouts etc.... Try it out and let me know your impressions.
Andy
Attached is now also the new version 0.4 of PropTerminal. See posting on page 2 for the new features.Post Edited (Ariba) : 10/20/2007 1:47:24 AM GMT
Image Attachment :
 ShotTerminal.gif 9KB (image/gif)This image has been viewed 1453 time(s). | | | |
File Attachment : PropTerminal_0.3.zip 104KB (application/zip)This file has been downloaded 530 time(s). File Attachment : PropTerminal_0.4.zip 94KB (application/zip)This file has been downloaded 757 time(s). | | Back to Top | | |
 |  Basil Registered Member

       Date Joined Jul 2006 Total Posts : 305 | Posted 5/9/2007 5:40 PM (GMT -8) |   | This is great! I was dreading having to write my own similar program for debugging.
Will try it out as soon as I have my board finished :) Looks good though! | | Back to Top | | |
 |  mynet43 Registered Member

       Date Joined Apr 2007 Total Posts : 360 | Posted 5/9/2007 6:53 PM (GMT -8) |   | I tried your demo routines. They all worked without a problem.
The only suggestion is that you might want to include a keyboard cursor.
Keep up the good work! | | Back to Top | | |
     |  Baggers Registered Member

       Date Joined Mar 2007 Total Posts : 1932 | Posted 5/10/2007 5:56 AM (GMT -8) |   | Hi Ariba, Nice App :) I was wanting to do some deving without a tv out, ie on my laptop and since it doesn't have AV in, it's a tad awkward, but this is great, thanks for the neat app. I'm sure lots of others will use it too. And putting them all onto one cog, perfect :) I look forward to any advances you make on it.
Baggers. | | Back to Top | | |
  |  Paul Baker Registered Member
        Date Joined Jul 2004 Total Posts : 6316 | Posted 5/10/2007 2:44 PM (GMT -8) |   |
simonl said...WOW, this should be part of the Propeller IDE!
Something akin to this is in development, he has just been pulled away by other more pressing issues recently.
Andy, he says your method of COM port negotiation is very clever.
Paul Baker
Propeller Applications Engineer
Parallax, Inc. | | Back to Top | | |
   |  Paul Baker Registered Member
        Date Joined Jul 2004 Total Posts : 6316 | Posted 5/11/2007 9:32 AM (GMT -8) |   | |
Jeff, the programmer, is impatient to get it done as well. But he is the product owner of the entire Stamp line and there have been some QA issues that he has had to deal with. Making sure manufacturing is running smoothly always takes precedance over development.
Paul Baker
Propeller Applications Engineer
Parallax, Inc. Post Edited (Paul Baker (Parallax)) : 5/11/2007 6:13:46 PM GMT | | Back to Top | | |
    |  Paul Baker Registered Member
        Date Joined Jul 2004 Total Posts : 6316 | Posted 5/11/2007 6:33 PM (GMT -8) |   | | | |
  |  Graham Stabler Registered Member

       Date Joined Jul 2006 Total Posts : 1908 | Posted 5/15/2007 4:38 PM (GMT -8) |   | | | |
 |  codemonkey Registered Member
        Date Joined Apr 2007 Total Posts : 34 | Posted 5/20/2007 9:29 AM (GMT -8) |   | This looks like a really, really cool tool, if i could get it to work (i suspect hdw issue [isn't it always a hdw problem?]). So, my first try was on a dell latitude (xp pro up-to-date) to a prop usb thingie (as com4) and while proptool works just fine, propterm gets a checksum error. So, i loaded eeprom with proptool and then with propterm up hit the reset button (on a bare proto board i.e. no mouse, kbd, etc) hoping to get a message, then nothing happened. So, i motored on over to a compaq (xp home up-to-date) and tried the same thing with almost the same result. I did get the checksum err, but then resetting the protoboard produced the attached message (it should read "starting"). Everything in propterm is at the default. After a number of attempts i finally got it to verify ram, but always am receiving the wrong "text". I then messed with the baud rate in pc_text but it didn't seem to have much effect. Any ideas? TIA
| | Back to Top | | |
  |  codemonkey Registered Member
        Date Joined Apr 2007 Total Posts : 34 | Posted 5/20/2007 11:12 AM (GMT -8) |   | Ariba,
Demos?  Ok, next time i look there before driving.
However, Re my problem and the new v .291 -- First the good news: Putting in the constants did wonders, i now get back "starting" like i should.
Then the not-so-good news: Downloading binary now always gives "Checksum Error".
I saved into eeprom only because i couldn't bring back the propterm window fast enough to see my initial message.
If you want, i'll keep checking fairly frequently and trying new versions as i find them, then let you know. I would like to get this working off the laptop as sometimes TVs are not always handy.
| | Back to Top | | |
   |  M. K. Borri Registered Member
        Date Joined Jul 2006 Total Posts : 152 | Posted 5/20/2007 6:40 PM (GMT -8) |   | | | |
 | 105 posts in this thread. Viewing Page : 1 2 3 4 5 | | Forum Information | Currently it is Tuesday, February 09, 2010 3:18 AM (GMT -8) There are a total of 415,988 posts in 57,637 threads. In the last 3 days there were 78 new threads and 885 reply posts. View Active Threads
| | Who's Online | This forum has 18517 registered members. Please welcome our newest member, try388. 51 Guest(s), 7 Registered Member(s) are currently online. Details Rsadeika, Graham Stabler, humanoido, Bob Lawrence (VE1RLL), Rick Brooks, JohnandElspeth, mikestefoy |
Forum powered by dotNetBB v2.42EC SP2.02 dotNetBB © 2000-2010 |
|
|