Conversation
|
this is awesome stuff @breakintoprogram to see what this essentially enables, you should watch Mario's video: https://www.youtube.com/watch?v=SGg-DttBok0 |
stevesims
left a comment
There was a problem hiding this comment.
this is very cool stuff
nice that it's so self-contained too - makes for a fairly clean integration.
just a few minor comments that should hopefully make it slightly more awesome 😁
|
Hi Steve, just committed my fixes that should resolve a couple of things you mentioned. Also just noticed you added a SERIALBAUDRATE define at the same time I made DEBUG_SERIAL_BAUDRATE for the same purpose. |
|
Hi @S0urceror I've tweaked the VDP code slightly to compile with the latest Quark codebase and remove a couple of compilation errors. I'm getting the following error when I press Ctrl+Z: I've published the branch on my Git. Assume I'll need to wire up a cable between the ESP32 GPIO and the ZDI connector. Save me having to reinvent the ark, do you have the details for that? Related:
|
|
Hi Dean,
The ZDI interface assumes GPIO26 and GPIO27 to be connected to TCK and TDI respectively. This replaces the functionality of the Zilog USB smart cable. Check here for more details: https://github.com/S0urceror/AgonElectronHAL
This enables you to enter an old-school hardware monitor styled after GDB. If you also enable the debug serial connection with the host pc you can also step through code with VSCode. (https://github.com/S0urceror/DeZog/tree/agonlight)
Btw. The original Agon and the Olimex version are easy to use like this. Just 2 Dupont cables and you’re done. With the 8 you unfortunately have do some soldering because the GPIO’s have been repurposed for the joystick interface and hidden behind buffer ICs.
Let me know if you get it working.
Regards,
Mario
… On 8 Nov 2023, at 00:20, Dean Belfield ***@***.***> wrote:
Hi @S0urceror <https://github.com/S0urceror> I've tweaked the VDP code slightly to compile with the latest Quark codebase and remove a couple of compilation errors. I'm getting the following error when I press Ctrl+Z:
(invalid EZ80 response, check ZDI connection: FFFF.FF)
I've tried this with and without my Zilog USB smart cable connected to the Agon ZDI port. It's an older Agon, not the Olimex version.
Any ideas?
—
Reply to this email directly, view it on GitHub <#93 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABGC6KEDBXM3E6NSYG7LMQTYDK64VAVCNFSM6AAAAAA43PGKP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBQGM4TCOBRGM>.
You are receiving this because you were mentioned.
|
Hi Dean,
Maybe you have seen that I have added a ZDI monitor mode to my own hobby ElectronOS for AgonLight. On top of that I created a version of Dezog that enables you to connect to the AgonLight and step through code from the leisure of Visual Studio Code.
Don't know if you are interested but I ported this to the Agon VDP latest release. It's a compile switch so you can have all defaults still off.
To enter ZDI mode you press CTRL-Z via the USB serial terminal. The prompt changes from * to # indicating you are in ZDI mode. There are a number of one letter commands in this mode. 'h' is help and lists all options.
Let me know what you think of this.
Best regards,
Mario