delpozzo wrote: ↑
26 Jun 2020, 17:13
That is really cool at67, I didn't know your emulator could do that! I just tried it and it works if I enter the loader manually on my Gigatron first. However, if it is at the main menu it navigates to WozMon (instead of Loader) and attempts the upload there. Was just wondering if there is something I am missing in my configuration?
There's a number of strange things going on:
1) Upon opening the com port to the current BabelFish residing in the main repo, the Gigatron's cursor moves to the right on the main menu. This happens with my software and all other software I have used to open the COM port, (i.e. terminal applications). It doesn't happen with Norgate's version of BabelFish, (which is specific to his Pluggy Reloaded hardware).
2) We have seen this strange cursor behaviour before, specifically on Arduino Nano's, it was addressed and solved by Marcel here:
https://github.com/kervinck/gigatron-ro ... b40dd68741
3) My software was not working correctly with older Arduino configurations, (I use Norgate's Pluggy Reloaded and it worked fine with that), and was not resetting the Gigatron hardware correctly, (which would have negated the wandering cursor).
4) My software was also opening and closing the COM port for every comms access, (it felt like a good idea at the time, i.e. non exclusive mode), but the version of BabelFish in the main repo sends a large version string every time the com port is opened; this caused some major havoc as you can imagine.
I've solved the problem for now by fixing the reset issue in my software, changing the open/close COM port to a global scope and adding an "Enable" option in 'loader_config.ini" as well as better overall comms error handling, (watch the terminal/console for errors).
This should solve your problems of not having gt1 files upload correctly, although the wandering cursor issue still persists, (the forced reset the software performs negates it and thus shouldn't impede you uploading to hardware anymore).
BabelFish is not my area of expertise, maybe others, (Norgate?), would have an idea/suggestions/solutions.
P.S. The main repo now has version 1.0.1B of my software and includes these fixes.