Firmware - Stuck at Send SysEx w/ solution.

Discussions related to MegaDrum Hardware

Re: Firmware - Stuck at Send SysEx.

Postby Ken Forgettable » Sat Aug 29, 2009 12:14 am

I believe the 18F2550 is not able to handle updates - if you can follow Dmitris advice and do the update over a standard MIDI port :shock:

... if I'm wrong then please knock it on the head (good and hard).
Ken Forgettable
 
Posts: 402
Joined: Tue Jan 06, 2009 5:04 pm

Re: Firmware - Stuck at Send SysEx.

Postby gabriel1712 » Sat Aug 29, 2009 2:14 am

Ken Forgettable wrote:I believe the 18F2550 is not able to handle updates - if you can follow Dmitris advice and do the update over a standard MIDI port :shock:

... if I'm wrong then please knock it on the head (good and hard).

As mentioned, I tried stadard midi a week ago with zero luck. I'm now trying to flash the AtMega using a isp cable, also zero luck.
"the woods are lovely, dark and deep
but I have promises to keep
and miles to go before I sleep..."
gabriel1712
 
Posts: 195
Joined: Thu Mar 19, 2009 10:16 pm
Location: Denmark

Re: Firmware - Stuck at Send SysEx.

Postby gabriel1712 » Sat Aug 29, 2009 3:17 am

In PonyProg, PROBE fails in I/O-port setup. Is there a specific mode for LPT1-port to work with PonyP? Like EEC, EEP, EEC+EEP etc?


Observations from PonyProg:

Read all: "Device not found" if "IGNORE": Success
Read program Flash: "Device not found" if "IGNORE": Success
Read Data EEPROM: "Device not found" if "IGNORE": Success

Verify all : fails
Verify program Flash: Success
Verify Data EEPROM: Success

All writing fails
"the woods are lovely, dark and deep
but I have promises to keep
and miles to go before I sleep..."
gabriel1712
 
Posts: 195
Joined: Thu Mar 19, 2009 10:16 pm
Location: Denmark

Re: Firmware - Stuck at Send SysEx.

Postby dmitri » Sat Aug 29, 2009 10:30 am

I don't remember which is is which but the LPT port has to be in bidirectional mode which is default nowadays for virtually all PCs.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware - Stuck at Send SysEx.

Postby gabriel1712 » Sat Aug 29, 2009 12:04 pm

Any idea why I can't flash my AtMega?
"the woods are lovely, dark and deep
but I have promises to keep
and miles to go before I sleep..."
gabriel1712
 
Posts: 195
Joined: Thu Mar 19, 2009 10:16 pm
Location: Denmark

Re: Firmware - Stuck at Send SysEx.

Postby Firelord » Sat Aug 29, 2009 1:19 pm

gabriel1712 wrote:Any idea why I can't flash my AtMega?

If you are completely sure that the programming cable is correct, that LPT port settings are correct and currently MD boots up as expected (in FW update mode), but does not accept FW via SysEx messages, then there could be something wrong with the ATMega MCU itself.
Firelord
 
Posts: 666
Joined: Wed Jun 10, 2009 7:50 pm
Location: Estonia

Re: Firmware - Stuck at Send SysEx.

Postby gabriel1712 » Sat Aug 29, 2009 2:17 pm

Firelord wrote:
gabriel1712 wrote:Any idea why I can't flash my AtMega?

If you are completely sure that the programming cable is correct, that LPT port settings are correct and currently MD boots up as expected (in FW update mode), but does not accept FW via SysEx messages, then there could be something wrong with the ATMega MCU itself.


The cable is correct if this is the right understanding of the pin-layout
LPT pin.JPG
.

Hm.. the LPT port setting inside PonyProg is correct but I don't know what to check for in windows. In the bios the choice is between SPP, EPP, ECP or ECP+EPP. I'm at ECP+EPP. Windows recognize the LPT-port.

The MD start up in 'FW update screen' no light in LED.
LButton boot = start up in 'FW update screen' with flashing LED for as long as LButton is held.
RButton boot = start up in 'Send data Now' and constant LED, also after release of Rbutton.

When I push 'OK' on the PonyProg splash screen, the 'FW update screen' scroll through MHz settings as if the UPbutton is pushed every 1 sec.

I would gladly order another pre-programmed AtMega chip if there's even a greater than 50/50 chance of correcting the problem.
You do not have the required permissions to view the files attached to this post.
"the woods are lovely, dark and deep
but I have promises to keep
and miles to go before I sleep..."
gabriel1712
 
Posts: 195
Joined: Thu Mar 19, 2009 10:16 pm
Location: Denmark

Re: Firmware - Stuck at Send SysEx.

Postby Firelord » Sat Aug 29, 2009 2:25 pm

gabriel1712 wrote:The cable is correct if this is the right understanding of the pin-layout
LPT pin.JPG

If that is the front view of the connector (i.e. with the pins that go into the port on the PC, the picture is quite small) then the wiring is incorrect. Pin 1 is where pin 13 should be.
Firelord
 
Posts: 666
Joined: Wed Jun 10, 2009 7:50 pm
Location: Estonia

Re: Firmware - Stuck at Send SysEx.

Postby gabriel1712 » Sat Aug 29, 2009 2:55 pm

Firelord wrote:
gabriel1712 wrote:The cable is correct if this is the right understanding of the pin-layout
LPT pin.JPG

If that is the front view of the connector (i.e. with the pins that go into the port on the PC, the picture is quite small) then the wiring is incorrect. Pin 1 is where pin 13 should be.

Yay! So, just to be sure. Holding the connector at the cable in front of my face (like the photo), pin 1 should be in the top left corner and pin 13 in the top right?
P1030562-25%.jpg


So this schematics is showing what the port layout looks like and not the cable connector?
http://www.megadrum.info/sites/default/files/programming_cables_kicad.png
You do not have the required permissions to view the files attached to this post.
"the woods are lovely, dark and deep
but I have promises to keep
and miles to go before I sleep..."
gabriel1712
 
Posts: 195
Joined: Thu Mar 19, 2009 10:16 pm
Location: Denmark

Re: Firmware - Stuck at Send SysEx.

Postby Firelord » Sat Aug 29, 2009 3:10 pm

gabriel1712 wrote:Holding the connector at the cable in front of my face (like the photo), pin 1 should be in the top left corner and pin 13 in the top right?

That's right. If you look closely at the connector pin base you can even make out the numbers from 1 to 25 (they are even visible on your second photo). Just follow the schematic to correct your wiring. The numbers provided in the schematic correspond to those you see on the front panel of the connector.
Firelord
 
Posts: 666
Joined: Wed Jun 10, 2009 7:50 pm
Location: Estonia

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 102 guests