Loading TAQOZ via SD or Serial
Peter Jakacki
Posts: 10,193
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.
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 for now just to backup TAQOZ to after the MBR area in the hidden sectors.
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 for now just to backup TAQOZ to after the MBR area in the hidden sectors.
Comments
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.
I have a copy of it in my zip file that I posted earlier.
https://github.com/totalspectrum/flexgui/releases/tag/v4.2.2