Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#45183 - 05/11/2001 12:31 LogoEditor Kernel Flash Problems
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
Hi Tony,

Can't seem to flash a new kernal with LogoEditor at the moment. Am running 2.0b3 with Mikes dodgy volume knob fix v3 (it's the knob that is dodgy, not Mikes fix ). I keep getting the following output from LogoEditor:

found empeg unit: entering program mode
manufacturer=0089, product=88c1
waiting for prompt
starting erase [Failed to get echo-back on erase command.

Error: erasepage(10000) got code 1

Press the Enter key to continue.
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#45184 - 05/11/2001 13:38 Re: LogoEditor Kernel Flash Problems [Re: Derek]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
And you're able to apply upgrade files from the same computer with the same serial port? But not kernels?

There's been one other user experiencing problems with upload.exe, and changing the timing of some stuff seemed to fix it. Can't remember who it was, though.

Question: if you downgrade to 1.03 does it start working again? (shouldn't make a difference, come to think of it, but you never know).
_________________________
Tony Fabris

Top
#45185 - 05/11/2001 13:38 Re: LogoEditor Kernel Flash Problems [Re: Derek]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
I had the same problem with both kernel and logos (but not upgrade). At Tony's advice I tried fiddling with download.c, adding debug messages etc, and - guess what - one of those versions (made slower by echoing characters read from serial, and with a alrge - unused - static buffer for those characters) works every time! I am baffled, because I am quite sure I didn't change anything save for that dump, which should, if anything, make things worse...

I am attaching a zip with both source and exe. The exe might or might not work on your machine, since I compiled it under CygWin using gcc, and I don't know whether it uses its own dlls (I don't have MS tools installed at home), but that's what the source is for . Usage is
download_dbg zImage 10000
or
download_dbg logo.bin a000
Comm port is hardcoded to com2.

Let us know whether it works.


Attachments
43883-download_dbg.zip (71 downloads)



Edited by bonzi (05/11/2001 13:40)
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#45186 - 05/11/2001 13:43 Re: LogoEditor Kernel Flash Problems [Re: tfabris]
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
Sorry, forgot to mention that upgrade does work. Have to go home now, so won't be able to try anything again 'til tomorrow :-(

ciao
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#45187 - 06/11/2001 16:38 Re: LogoEditor Kernel Flash Problems [Re: Derek]
Alan
member

Registered: 06/05/2000
Posts: 142
Loc: Cedar Grove , IN
I am seeing the same response trying to flash the kernel on my MK1. It always hoses the existing kernel requiring 2.03 to be re installed. I will try it on another PC after while.
_________________________
home page

Top
#45188 - 07/11/2001 07:24 Re: LogoEditor Kernel Flash Problems [Re: Alan]
Alan
member

Registered: 06/05/2000
Posts: 142
Loc: Cedar Grove , IN
The kernel flash worked fine on another PC.

Alan
_________________________
home page

Top
#45189 - 07/11/2001 07:59 Re: LogoEditor Kernel Flash Problems [Re: Alan]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
Yes, I have the same problem trying to upload kernels to my Mk1 from Win98. The wierd thing is that upgrades AND LOGOS upload fine, just kernel images fail every time from that machine. Uploading from my work laptop (NT) goes great every time. Go figure...
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
#45190 - 07/11/2001 08:58 Re: LogoEditor Kernel Flash Problems [Re: bonzi]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Can you do me a favor?

Can you narrow down exactly where the timing needs to be slowed down (perhaps down to one line of added code) so that I can incorporate this into my next logo editor release?

I can't do it myself because I can't reproduce the bug on my computer.
_________________________
Tony Fabris

Top
#45191 - 07/11/2001 09:31 Re: LogoEditor Kernel Flash Problems [Re: tfabris]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
I'll try.
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#45192 - 08/11/2001 11:44 Re: LogoEditor Kernel Flash Problems [Re: bonzi]
Derek
addict

Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
Finally got a chance to try out your debug version of download.c. It worked! You do need cygwin, but I had it on my system anyway so that wasn't a problem . I was going to give you are more full report (got some kind of ".. error 16" message just after the finding the empeg bar and before Hugos bootstrap comments) but Win2k did the old BSOD thing on me (who the heck said Win2k was more stable than NT?!!). Thanks anyway. Hopefully this will give you and Tony something to work with.
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)

Top
#45193 - 18/12/2001 09:39 Re: LogoEditor Kernel Flash Problems [Re: Derek]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
I had a lot of issues with the download for com1 - one upload in 10 would actually work. All other tries would crash out at the same initial point. I altered every conceivable setting for ports on my PC and was convinced I was just missing something obvious until I used the com2 executable and all worked fine (obviously I swapped the serial cable across from com1 before anyone points out potential D'oh!:)
All of a sudden I could upload logos and new, fun kernels (mlords v78 is doing fine right now.)
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#45194 - 18/12/2001 09:54 Re: LogoEditor Kernel Flash Problems [Re: frog51]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
I'm still wondering where in the code I can insert some kind of a timing fix. I've got no idea what's wrong since it works on all of my PC's.
_________________________
Tony Fabris

Top
#45195 - 19/12/2001 12:55 Re: LogoEditor Kernel Flash Problems [Re: frog51]
schofiel
carpal tunnel

Registered: 25/06/1999
Posts: 2993
Loc: Wareham, Dorset, UK
Have you got a modem or serial device on COM3?
_________________________
One of the few remaining Mk1 owners... #00015

Top
#45196 - 19/12/2001 13:25 Re: LogoEditor Kernel Flash Problems [Re: schofiel]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Have you got a modem or serial device on COM3?

Agreed that these problems sound like an IRQ conflict. However, I thought we had already ruled that out...
_________________________
Tony Fabris

Top