#374719 - 06/08/2025 04:08
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Well... I got: Found empeg unit: entering program mode Manufacturer=0089, product=88c1 starting erase [Bad result code: 0xa2
That doesn't sound good.
|
Top
|
|
|
|
#374723 - 07/08/2025 00:43
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
That just sounds like it had a comms error. Still on MS-Win, eh?
|
Top
|
|
|
|
#374724 - 07/08/2025 03:47
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Ok. No, this was download.c on Linux Mint.
I'll see about ordering a new null cable.
Edited by time (07/08/2025 13:37)
|
Top
|
|
|
|
#374725 - 07/08/2025 13:53
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
The cable appears to be working. It could just be perhaps needing a different chipset in the USB-Serial Adapter.
What does 'lsusb' show for the adapter? If I have a similar one here, I could re-test against it.
Cheers
|
Top
|
|
|
|
#374726 - Yesterday at 04:00
Re: Time to refurbish my MK2A.
[Re: time]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Nope. That's not it. New null-modem cable does the same thing. It gets about 16-20% through the erase and throws that error. Any other ideas?
This is via a 9-pin to the 9-pin on the empeg.
Edited by time (Yesterday at 04:19)
|
Top
|
|
|
|
#374727 - Yesterday at 04:07
Re: Time to refurbish my MK2A.
[Re: mlord]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0040:073d Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Is that what is reported for ttyS0?
dmesg shows: [ 0.563684] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
Changed to stty -F /dev/ttyS0 cs8 -parenb -cstopb and tried again. Still [Bad result code: 0xa2
Edited by time (Yesterday at 04:17)
|
Top
|
|
|
|
#374729 - Yesterday at 20:46
Re: Time to refurbish my MK2A.
[Re: time]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
dmesg shows: 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
Oh, okay. Not a USB-Serial cable/dongle then? A real, built-in serial port with DB-9 on the computer itself! (?) Mmmm..
|
Top
|
|
|
|
#374730 - Yesterday at 20:48
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
Here (attached) is the download binary I use, which works for me on Linux.
Attachments
download.bin (6 downloads)
|
Top
|
|
|
|
#374731 - Yesterday at 21:35
Re: Time to refurbish my MK2A.
[Re: tfabris]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Hey Tony! No sled. Just on the desk.
Edited by time (Yesterday at 21:36)
|
Top
|
|
|
|
#374732 - Yesterday at 21:46
Re: Time to refurbish my MK2A.
[Re: mlord]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Sorry sir, I only act like I know what I'm doing on linux. I tried chmod 755 download.bin and trying to launch it says: download.bin: command not found
Edited by time (Yesterday at 22:03)
|
Top
|
|
|
|
#374733 - Yesterday at 22:25
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
|
Top
|
|
|
|
#374734 - Yesterday at 22:26
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
Are you trying this on a simulated Linux (eg. "Linux for Windows") or some such trash, or on a native install?
|
Top
|
|
|
|
#374735 - Yesterday at 22:34
Re: Time to refurbish my MK2A.
[Re: time]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31636
Loc: Seattle, WA
|
I tried chmod 755 download.bin and trying to launch it says: download.bin: command not found That still gets me. Frequently! I'm no expert on Linux, and my main driver is a Mac these days, and I hardly ever need to do anything at a DOS command prompt any more. Yet still, that's one of those things where, even if you know it, it still seems like it should work without the ./ in the front. Frustrating. Someday I'll look up WHY it works that way. Still probably won't help me remember.  (Edit: Just did look it up. Supposedly it's a security feature to prevent a malicious program with the same name as a program in the PATH (like LS or MAN etc) from being automatically called in lieu of the real one from the operating system. Microsoft, on the other hand, chose convenience over security when designing their command line syntax.)
|
Top
|
|
|
|
#374736 - Today at 00:14
Re: Time to refurbish my MK2A.
[Re: mlord]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Native Mint 20.2 (Uma) install on bare metal.
Ok. Now prompting for an <address in hex>
|
Top
|
|
|
|
#374737 - Today at 00:30
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
./download.bin image_file_name 10000 /dev/ttyS0
But you already attempted to use download earlier, so same syntax as before.
|
Top
|
|
|
|
#374738 - Today at 02:49
Re: Time to refurbish my MK2A.
[Re: gmarsh]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
(base) time@time-OptiPlex-790:~/Documents/mlord$ ./download.bin ../../Downloads/car2-developer-v2.01-final.upgrade 10000 /dev/ttyS0 Turn on empeg unit now Found empeg unit: entering program mode Manufacturer=0089, product=88c1 Starting erase [Bad result code: 0xa2
Yup. Increments to 24% and then errors.
I've even tried briefly shorting the 3v cell on the mainboard and retrying the reset in hopes of forcing a reset, but get the same results.
Edited by time (Today at 02:57)
|
Top
|
|
|
|
#374739 - Today at 09:00
Re: Time to refurbish my MK2A.
[Re: tfabris]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5692
Loc: London, UK
|
(...Microsoft, on the other hand, chose convenience over security when designing their command line syntax.) DOS didn't have directories until 2.x, so commands were always in the current directory (or built-in), so it didn't have a PATH environment variable. Microsoft chose (as they almost always do) backwards compatibility.
_________________________
-- roger
|
Top
|
|
|
|
#374740 - Today at 13:12
Re: Time to refurbish my MK2A.
[Re: time]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14544
Loc: Canada
|
(base) time@time-OptiPlex-790:~/Documents/mlord$ ./download.bin ../../Downloads/car2-developer-v2.01-final.upgrade 10000 /dev/ttyS0 Turn on empeg unit now Found empeg unit: entering program mode Manufacturer=0089, product=88c1 Starting erase [Bad result code: 0xa2
Increments to 24% and then errors.
Mmm.. So either bad flash, or a bug in the download.c program. I would try just circumventing the failed test, and see how far it gets after that. Here's a hacked copy of the source code which does that (attached). Cheers
Attachments
download.c (4 downloads)Description: hacked copy of download.c to ignore 0xa2 error.
|
Top
|
|
|
|
#374742 - Today at 15:30
Re: Time to refurbish my MK2A.
[Re: mlord]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Dang, so I have two bricked players? Should I try to get a scope on that WP line... though I don't think I could get it captured correctly as I don't have a digital scope.
|
Top
|
|
|
|
#374743 - Today at 18:06
Re: Time to refurbish my MK2A.
[Re: mlord]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
Thank you sir! Sadly, I get looped:
(base) time@time-OptiPlex-790:~/Documents/mlord/0x2a bypass$ ./download ../../../Downloads/car2-developer-v2.01-final.upgrade 10000 /dev/ttyS0 Turn on empeg unit now Found empeg unit: entering program mode Manufacturer=0089, product=88c1 Starting erase [Bad result code: 0xa2, continuing regardless.. Bad result code: 0xa2, continuing regardless.. Bad result code: 0xa2, continuing regardless.. Bad result code: 0xa2, continuing regardless.. Bad result code: 0xa2, continuing regardless..
Endlessly.
I super appreciate all your help on this! Given the people on this board if anyone can figure it out, it will be this crew. Thank you so much!
|
Top
|
|
|
|
#374744 - Today at 18:26
Re: Time to refurbish my MK2A.
[Re: mlord]
|
enthusiast
Registered: 20/11/2000
Posts: 293
Loc: Southwest
|
So this schematic got me looking... This doesn't seem right: [img:center] https://photos.app.goo.gl/tf78cj6XewCQWWU17[/img] and specifically, [img:center] https://photos.app.goo.gl/D3yvHt1ULpf9Wao88[/img] I've flushed with 97% Isopropyl and then some DeoxIT D5 using a 0.3mm syringe and a wee bit of scraping. A flush and then blew it out with air. Looks better, but waiting for it to dry before try again.
Edited by time (Today at 18:52)
|
Top
|
|
|
|
|
|