How can i tell if a Microcontroller is dead in a x0xb0x ?

Discuss x0x construction and related issues

Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.
Locked
User avatar
cleaninglady
 
Posts: 38
Joined: Thu Jun 14, 2012 6:33 am

How can i tell if a Microcontroller is dead in a x0xb0x ?

Post by cleaninglady »

I was working on a x0x around the Tempo knob section as it was not increasing in Tempo when turned clockwise.
There were alot of bad solder joins and i was trying to make things better in that area.

The next time i powered it up, the x0x was dead ; pretty much.

Lights not coming on, or not for about a minute; then suddenly changing.
No response from any buttons , pots or encoders at all. Wont start a sequence. No sound out put.

Power is fine at J4.

Can anyone please point me to where to look first ?

User avatar
rv0
 
Posts: 395
Joined: Tue Jul 14, 2009 4:50 pm

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by rv0 »

see if you can connect to it with BANNED, try reflashing the cpu

User avatar
cleaninglady
 
Posts: 38
Joined: Thu Jun 14, 2012 6:33 am

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by cleaninglady »

Thanks darffader ; I'll try.
I'm on Mac is there any special procedure ?

I got BANNED and downloaded the VCP Driver (Version 2.2.18) here : http://www.ftdichip.com/Drivers/VCP.htm.

I'm not great at this stuff. Are there good guides to doing it ?

User avatar
antto
 
Posts: 1636
Joined: Thu Apr 15, 2010 3:21 pm

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by antto »

find which device the x0x is by plugging it in to the computer.. on OSX it should be something like /dev/tty.usbserial-BANNED with some numbers
run BANNED go to the settings, you might be able to find the serial port already there by pressing left/right, if not - hit enter and type the name manually, then go back and save the changes when it asks you

let's see if there is a bootloader:
- switch the x0x OFF, set it to BOOTLOAD mode, switch it ON
- in BANNED, use the first option in the main menu (Update FW)
you'll have to select a hex file, then BANNED will try to connect and talk to the bootloader
if that works - good, you have a working bootloader, you can proceed to flash it

User avatar
cleaninglady
 
Posts: 38
Joined: Thu Jun 14, 2012 6:33 am

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by cleaninglady »

I tried to update the firmware in BANNED ; i got this error :

knock knock...
Error: Coudn't get DeviceID string.
Failed.
Press any key to continue...

I also checked Voltage on Pin 9 and C102 (on suggestion from guest...over at Muffs).

I only have 60mV on Pin9 of the Microcontroller. 5V is present at C102.

Doesn't look good...

BTW...what scenario would i be looking at if i accidently did solder with the power on ?

A fried Microcontroller ?

User avatar
antto
 
Posts: 1636
Joined: Thu Apr 15, 2010 3:21 pm

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by antto »

pin9 is the RESET pin which should be sitting high
there are a few elements connected to it which have the purpose to wait some time (less than a second) after power has been applied and then raise the voltage to the reset pin to 5 volts in order to reset it properly
when the reset pin is low - the mcu will not run

check the components around IC1, check if IC1 is getting 5V

User avatar
cleaninglady
 
Posts: 38
Joined: Thu Jun 14, 2012 6:33 am

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by cleaninglady »

On the micro :

Pin 9 is 4.92V with the leg hanging out and the same when put back in place.

GND Confirmed pin 20 , 4.92V confirmed Pin 40.

IC 1 :

Pin 1 : 4.92V
Pin 2 : 4.68V
Pin 3 : 4.92V
Pin 4 : 0.1mV
Pin 5 : 0.1mV
Pin 6 : 0.67V
Pin 7 : 0.1mV
Pin 8 : 0.5.2V
Pin 9 : 0.1mV
Pin 10 : 4.9V
Pin 11 : 0.56V
Pin 12 : 0.1mV
Pin 13 : 0.1mV
Pin 14 : 4.92V

Voltages on the components around IC1 seem fine.

I read somewhere on here that the Micro can get jumbled if the GND is touched when powered.

This probably happened once or twice but every attempt to reflash the Micro via BANNED has failed.
The program connects but i keep getting the error you can see above in this thread.

PS

I had a look at Diagnostic Mode. It said i need to flash diagFW.

Where can i grab that ?

User avatar
antto
 
Posts: 1636
Joined: Thu Apr 15, 2010 3:21 pm

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by antto »

when it "connects" it actually just opens the serial port.. i should have made these messages more clear, sorry

when it says knock knock it sends the very first command to the bootloader, and it fails right there, which means that something is very wrong
Diagnostic mode was an idea which didn't really get realized as i didn't had time, and it won't help anyway since you cannot actually flash any firmware right now

so now, you desoldered the reset pin, it was high (i guess it has an internal pullup resistor) and when you soldered back in - it is still high? that seems good and odd at the same time

if you have another x0x, you could try putting this mcu into the working x0x and see if it happens to start up the firmware, or if you can at least flash it there
other than that, i'm running out of ideas

User avatar
cleaninglady
 
Posts: 38
Joined: Thu Jun 14, 2012 6:33 am

Re: How can i tell if a Microcontroller is dead in a x0xb0x

Post by cleaninglady »

Thanks so much for your help Anton.

I don't have another x0x on hand to swap out Micro's, unfortunately.

I have a Micro on the way from Willzyx.

Hopefully that will be a fix, i'll let you know.

I have a thread running over at Muffs too.

https://www.muffwiggler.com/forum/viewt ... 10#2034910

Locked
Please be positive and constructive with your questions and comments.

Return to “Making x0x”