Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

My arduino mega was working well by interfacing it with matlab , suddenly it stopped working and serial communication with matlab has been stopped , then i tried to use it using Arduino sketch and trying to upload any program, the upload not complete every time, knowing that

ON LED work

and

L LED always ON

what can i do ?

share|improve this question
By "upload not complete every time", do you mean the program upload never completes? Do you get an error message? – Oli Glaser Jul 28 '12 at 2:35
Make a screenshot when the error appears and add it to your question. – jippie Jul 28 '12 at 7:19
1  
It seems you have been back since the requests for more info were posted. Afraid I'm voting to close here, the question (as it stands) is far too vague. – Oli Glaser Jul 28 '12 at 13:25
1  
Not afraid, like Oli, but also voting to close. I have commented on other questions from you that you're not very cooperative in giving extra information when we ask for it. Many here willing to help you, but like I said before, something has to come from you. We have too little information here to give a good answer. – stevenvh Jul 28 '12 at 14:58

closed as not a real question by Oli Glaser, stevenvh, zebonaut, Brian Carlton, W5VO Aug 28 '12 at 0:50

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.

1 Answer

You don't provide enough information for anyone to be able to help you. I only speak for myself (I am sure there are at least a few others similar to me) but I have no clue what an Arduino Mega is... or an Arduino Ultra Mega... or an Arduino Ultra Ultra Super Mega. I don't intuitively know what the ON LED or L LED is and how it figures into the schematic. For example, if the ON LED is tied to the power supply and simply indicates there is voltage then you probably have a significant problem (no wall adapter attached, failed voltage regulator, etc.).

Let's assume it's a problem with your code. When problems like this occur you should really step back and start simple. Write the simplest bit of code that you can to toggle a pin. Just the bare minimum code. Don't include anything that's not necessary for toggling that pin. Does it toggle? If so, you know your micro is running. Now, progressively introduce features which you recently changed (before it stopped working) and continue to test them incrementally.

The more information you provide the better someone can help you. The above is my best advice until you can edit your original question with more detail.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.