NEWBIE - How to read what is on Arduino Pro Mini

Hello, first time here. So I apologize in advance if this is not posted in the correct area of the forum.

I built a Commodore 64 project known as a Tapecart SD. It uses a custom PCB, a Arduino Pro Mini, and a SD reader. The device, and accompanying firmware (HEX file), is intended to use that datasette port of a C64 to read a SD card as a mass storage device. XLOADER.EXE is used to upload the TAPECART.HEX file to the Pro Mini via TTL serial / USB adapter. The Arduino IDE is not used in any way, and I know almost nothing about it as well.

My first attempt at the project failed. The second attempt was successful. In wishing to diagnose the first attempt unit, I'd like to know what is recommended to read what was uploaded to the Pro Mini of the first unit (if anything) by downloading it from the Pro Mini to my Windows PC for viewing.

Is there a simple was of reading what is on the Pro Mini?

Thank you!

Joe

It can be done, but what you get back is pure assembly language with no variable labels, comments, etc. So if you're really trying to figure out what it did/does, good luck. Unless it's so simple as to be trivial, you're in for an uphill slog.
Many people come here looking to upload the program from their Arduino, because they've lost the original files. It's not possible to resurrect your code that way.

No maybe Yes, you need to post an annotated schematic showing how this is put together. be sure to include all hardware items such as caps, resistors, etc. Posting your code would also help.

This seems to be the original tapecart. There is an AVR folder under src-firmware here:

And a fork for other stuff here:

I have no clue on building it other than finding the main AVR file and follow the errors.

More...

Thank you for the prompt reply!

If I could just download what is installed on the Pro Mini on the unit that isn't working, and do the same for the unit that is working, then I could compare the two downloaded files to see if they are the same using a file comparison utility program. If they are, then the problem is likely not the code itself but something else on the unit. If they are different, then the problem could be the Pro Mini on the unit that doesn't work. I just need a download utility for the Pro Mini.

Joe

I've read here on the forum that it can be done, but haven't saved the details, so I can't personally help you. Someone will come along, hopefully, with the relevant information.

This thread might also help:

Good luck.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.