Firmware upgrade disaster!!!

Discussions related to MegaDrum Hardware

Re: Firmware upgrade disaster!!!

Postby kurtus420 » Fri Jun 19, 2009 9:39 pm

I will do it this way in an hour, I'm back at work right now.

dmitri wrote:
kurtus420 wrote:is it dump buffers to hex option?

The file you posted is not what you read from device. When dumped the whole memory content the resulting file for PIC18F2550 should be 92k in size.
First do Device->Read and then File->Dump buffers to hex file.
56 input Megadrum644, Tama Iron Cobra, Taye, Sonor, Roland, Yamaha, Gibraltar, Tascam.
kurtus420
 
Posts: 222
Joined: Tue May 26, 2009 12:51 am
Location: Nanaimo, Vancouver Island, Canada

Re: Firmware upgrade disaster!!!

Postby kurtus420 » Fri Jun 19, 2009 11:23 pm

here's what I got, It's not 92kb though, I went read device then dumped buffer to hex is this wrong?
You do not have the required permissions to view the files attached to this post.
56 input Megadrum644, Tama Iron Cobra, Taye, Sonor, Roland, Yamaha, Gibraltar, Tascam.
kurtus420
 
Posts: 222
Joined: Tue May 26, 2009 12:51 am
Location: Nanaimo, Vancouver Island, Canada

Re: Firmware upgrade disaster!!!

Postby dmitri » Fri Jun 19, 2009 11:51 pm

kurtus420 wrote:here's what I got, It's not 92kb though, I went read device then dumped buffer to hex is this wrong?

The memory content came out empty.
With the PIC in the socket is it still detectable as Megadrum USB (or USB Audio) by your PC? If it is, then the PIC is programmed with a firmware so it should not come out empty. In this case you either have a problem with Winpic configuration, the ICSP cable, a serial port or you don't power up the MegaDrum board when trying to program/read PIC18F2550.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware upgrade disaster!!!

Postby kurtus420 » Fri Jun 19, 2009 11:59 pm

I just plugged it into my laptop and it is cycling with the connected not connected dinging sound, when I go into the device manager it is not showing up and the screen keeps refreshing everytime the usb dings.
dmitri wrote:
kurtus420 wrote:here's what I got, It's not 92kb though, I went read device then dumped buffer to hex is this wrong?

The memory content came out empty.
With the PIC in the socket is it still detectable as Megadrum USB (or USB Audio) by your PC? If it is, then the PIC is programmed with a firmware so it should not come out empty. In this case you either have a problem with Winpic configuration, the ICSP cable, a serial port or you don't power up the MegaDrum board when trying to program/read PIC18F2550.
56 input Megadrum644, Tama Iron Cobra, Taye, Sonor, Roland, Yamaha, Gibraltar, Tascam.
kurtus420
 
Posts: 222
Joined: Tue May 26, 2009 12:51 am
Location: Nanaimo, Vancouver Island, Canada

Re: Firmware upgrade disaster!!!

Postby dmitri » Sat Jun 20, 2009 12:05 am

kurtus420 wrote:I just plugged it into my laptop and it is cycling with the connected not connected dinging sound, when I go into the device manager it is not showing up and the screen keeps refreshing everytime the usb dings.

Then it means it is still detectable by Windows but experiences instability and you still should be able to read existing firmware (non-empty memory content) from the PIC.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware upgrade disaster!!!

Postby kurtus420 » Sat Jun 20, 2009 12:05 am

heres another dump file which was read while the megadrum was turned on.
You do not have the required permissions to view the files attached to this post.
56 input Megadrum644, Tama Iron Cobra, Taye, Sonor, Roland, Yamaha, Gibraltar, Tascam.
kurtus420
 
Posts: 222
Joined: Tue May 26, 2009 12:51 am
Location: Nanaimo, Vancouver Island, Canada

Re: Firmware upgrade disaster!!!

Postby dmitri » Sat Jun 20, 2009 12:09 am

kurtus420 wrote:heres another dump file which was read while the megadrum was turned on.

And all previous times you programmed/read the PIC without powering the board up?
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Firmware upgrade disaster!!!

Postby el-dr » Sat Jun 20, 2009 12:10 am

It's not working here either. :twisted: Here's what Winpic read from the PIC:
dumped.hex


Here's the contents of the message window after the update:

Initialising PIC-Programmer: Success.
Reading 0x3FFFFE - 0x3FFFFF ...
Reading 0x300000 - 0x30000D ...
Reading 0xF00000 - 0xF000FF ...
Reading 0x000000 - 0x007FFF ...
Reading PIC ok.
Programming...
Erasing ("bulk" or "chip") ...
Programming CODE, 0x000000..0x007FFE
Verifying CODE, 0x000000..0x007FFE
Verifying 0x000000..0x007FFE
Verify Error: 000002: read 000BEF, wanted 00F00B, mask 00FFFF ==> diff=00FBE4
Verify Error: 000004: read 00F0F0, wanted 000012, mask 00FFFF ==> diff=00F0E2
Verify Error: 000008: read 000000, wanted 00EF53, mask 00FFFF ==> diff=00EF53
Verify Error: 00000A: read 000000, wanted 00F009, mask 00FFFF ==> diff=00F009
More Verify Errors, unable to list all (total=16367)
Programming CONFIG, 0x300000..0x30000C
Verifying CONFIG, 0x300000..0x30000C
Verifying 0x300000..0x30000C
Verify Error: 300002: read 000E0E, wanted 001E3F, mask 00FFFF ==> diff=001031
Verify Error: 300004: read 000E0E, wanted 00810E, mask 00FFFF ==> diff=008F00
Verify Error: 300006: read 000E0E, wanted 000E85, mask 00FFFF ==> diff=00008B
Verify Error: 300008: read 000E0E, wanted 00C00F, mask 00FFFF ==> diff=00CE01
More Verify Errors, unable to list all (total=6)
ERROR: Programming FAILED !


When I switch the MD on, the PC recognizes it as a USB Audio Device without any errors.
You do not have the required permissions to view the files attached to this post.
el-dr
 
Posts: 110
Joined: Thu Apr 30, 2009 9:51 pm

Re: Firmware upgrade disaster!!!

Postby kurtus420 » Sat Jun 20, 2009 12:13 am

usb has been plugged in but I never switched the megadrum on. I have tried with the megadrum on and get the on and get the same outcome. If the cable was wrong than would it not initialize ok?

dmitri wrote:
kurtus420 wrote:heres another dump file which was read while the megadrum was turned on.

And all previous times you programmed/read the PIC without powering the board up?
56 input Megadrum644, Tama Iron Cobra, Taye, Sonor, Roland, Yamaha, Gibraltar, Tascam.
kurtus420
 
Posts: 222
Joined: Tue May 26, 2009 12:51 am
Location: Nanaimo, Vancouver Island, Canada

Re: Firmware upgrade disaster!!!

Postby dmitri » Sat Jun 20, 2009 12:15 am

el-dr wrote:It's not working here either. :twisted: Here's what Winpic read from the PIC:
dumped.hex


It shows regular garbage, which means it doesn't read the memory properly and of course won't program it properly.
You either have a problem with Winpic configuration, the ICSP cable, a serial port or you don't power up the MegaDrum board when trying to program/read PIC18F2550.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: No registered users and 61 guests