Send ROM (or RAM) from Prop to PC as a binary file using YMODEM and Hypertermin
Rayman
Posts: 14,889
I wanted to capture the ROM font as a binary file...
So, I made a couple changes to my YMODEM example code and got it.
Anyway, thought I'd share...· Also, this is a very simple example.
It also displays on TV or VGA, but that really isn't necessary.
All you need is a Prop with serial connection, such as PropPlug, to a PC running Hyperterminal (or similar program).
Here's an image I made with Visual C++ using this ROM font:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Post Edited (Rayman) : 6/30/2010 2:11:44 PM GMT
So, I made a couple changes to my YMODEM example code and got it.
Anyway, thought I'd share...· Also, this is a very simple example.
It also displays on TV or VGA, but that really isn't necessary.
All you need is a Prop with serial connection, such as PropPlug, to a PC running Hyperterminal (or similar program).
Here's an image I made with Visual C++ using this ROM font:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
Post Edited (Rayman) : 6/30/2010 2:11:44 PM GMT
Comments
Is ymodem an extension of xmodem where the filename is wrapped up in the first packet?
Are you planning on writing the other half, to send the data to the propeller?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller
I believe I have written code to accept files and store on SD card, have to dig it up...
Think it's part of the PSM code base...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
The first program linked to there (ymodem.spin) can upload and download files...
http://www.rayslogic.com/propeller/Programming/YModem/Ymodem.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Apps:· http://www.rayslogic.com/propeller/Programming/Programming.htm
My Prop Info: ·http://www.rayslogic.com/propeller/propeller.htm
My Prop Products:· http://www.rayslogic.com/Propeller/Products/Products.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com E-mail: mikronauts _at_ gmail _dot_ com
My products: Morpheus / Mem+ / PropCade / FlexMem / VMCOG / Propteus / Proteus / SerPlug
and 6.250MHz Crystals to run Propellers at 100MHz & 5.0" OEM TFT VGA LCD modules
Las - Large model assembler Largos - upcoming nano operating system