Shop OBEX P1 Docs P2 Docs Learn Events
Loading TAQOZ via SD or Serial — Parallax Forums

Loading TAQOZ via SD or Serial

Peter JakackiPeter Jakacki Posts: 10,193
edited 2020-06-17 22:29 in Propeller 2
While I am going to be a bit busy this morning setting up for zoom out the back of the house since it has the best 4G signal for upload speeds, I am just making sure that anybody with a P2 can join in. Given the limited amount of time, there is only so much that can be covered so perhaps if there is a spare 30 min presentation slot another week, I might be setup a bit better to go more in-depth.

However I tested loading _BOOT_P2.BIX via ozpropdev's P2 loader over serial and it worked, so I have zipped the files up here. You can either copy the BIX file onto a FAT32 card and have P2 boot from that or else you can load it via serial. I renamed the .BIX to a .bin just to keep the loader happy but I might just tweak the Python code to not assume it is a .bin file if I have some time.
08:01 TAQOZ$ python3 loadp2.py _BOOT_P2

Python Prop2 loader Ver 1.2 14th Jan 2019 - ozpropdev
Python version: 3.6.9 (default, Apr 18 2020, 01:56:04) 
[GCC 8.4.0] 

Scanning ports....
/dev/ttyUSB0 = Prop_Ver G
Project =  _BOOT_P2.bin on /dev/ttyUSB0
HUBSET #1 Ok
HUBSET #2 Ok
Loading TXT ....complete

Setup your terminal to 921600 (I will see if I have time to do a new version but set to 115200).
If you have loaded TAQOZ via serial and have an SDHC card you can insert, then do so and just hit ^B (control B) for now just to backup TAQOZ to after the MBR area in the hidden sectors.

Comments

  • Ok looking forward to playing along, will try this shortly
  • Going to try a three hour nap. Can't be sure I'll be able to wake in time. :)
  • Can anyone point out where to download loadp2.py? Is it the one at the top of this thread?
  • Can I „backup“ the taqoz to flash memory?
    I am asking because originally taqoz was only 64k but taqoz reloaded seems to use 128K

    Does this backup also work of I expand my dictionary above let’s say 256k?
  • Surac wrote: »
    Can I „backup“ the taqoz to flash memory?
    I am asking because originally taqoz was only 64k but taqoz reloaded seems to use 128K

    Does this backup also work of I expand my dictionary above let’s say 256k?

    I'm working on a simple little loader to put into Flash since it's not just a simple matter of copying to Flash.

    The memory map was redone earlier in the year to allow for code to expand beyond 64k, and code paging was added for this which is very efficient and compact. But even when I load every bit of code I have I can't break the 64k barrier, and the same with the dictionary. No doubt it will get there one day but I don't think you will be facing that problem anytime soon. When that day comes then the backup will be handled correctly.

  • Can anyone point out where to download loadp2.py? Is it the one at the top of this thread?

    I have a copy of it in my zip file that I posted earlier.
  • Cluso99Cluso99 Posts: 18,069
    Can anyone point out where to download loadp2.py? Is it the one at the top of this thread?
    loadp2.exe comes with flexgui from here
    https://github.com/totalspectrum/flexgui/releases/tag/v4.2.2
  • I'm using ozpropdevs Python loader which I renamed to loadp2.py with a slight mod for convenience. It's packaged with the binary file zip. I may update SourceForge to download a zip of the binary, the loader, and the readme.

Sign In or Register to comment.