Pages: [1]   Go Down
Author Topic: OSCOKIRQ failed to assert  (Read 7118 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an Arduino ADK board, http://arduino.cc/en/Main/ArduinoBoardADK, the same one. I have burnt a program to the board and getting an error in the Serial Monitor as:

Error: OSCOKIRQ failed to assert

How to solve it?
Some people advised to supply 7-12V to Vin. I did that, but it didn't help.
Logged

Forum Moderator
ਪੰਜਾਬ
Offline Offline
Edison Member
*****
Karma: 12
Posts: 1573
Another year! Alone! :(
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

for sure it is a power issue, the voltage regulater eats a lot of stuff try measuring the power at the +5v on the ADK and make sure the minimum standard voltage is there so that this ADK may work.

The problem is that USB devices take a lot to function and as such here not only the ADK needs power to function + the AVR but also the USB periferal device needs power for functioning too.
Logged

"Real Men can Accomplish  Anything"
-  Website  
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੂਂ !

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

At +5v I am getting about 5.41v and at +3v it's around 3.14v.
Logged

Forum Moderator
ਪੰਜਾਬ
Offline Offline
Edison Member
*****
Karma: 12
Posts: 1573
Another year! Alone! :(
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ok so try again , what's the result?
Logged

"Real Men can Accomplish  Anything"
-  Website  
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੂਂ !

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Tried, no change. Same error

Error: OSCOKIRQ failed to assert

And btw I have a rooted HP touchpad with CM9. Any idea if it has Android Open Accessory support? Running Android 4. I am not sure if it's usb port is compatible for ADK.
Logged

Forum Moderator
Bangalore, India
Offline Offline
Jr. Member
*****
Karma: 0
Posts: 61
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

And btw I have a rooted HP touchpad with CM9. Any idea if it has Android Open Accessory support? Running Android 4. I am not sure if it's usb port is compatible for ADK.

By default, CM9 doesn't have support for Android Open Accessory support. You have to specifically add the usb.jar file
Logged

Checkout some of my Arduino projects and tutorials

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Where can I get the usb.jar file, any download link?

And OSCOKIRQ failed to assert, error, is still not fixed. Anyone any suggestion?
I downloaded the required libraries like AndroidAccessory and USB_Host_Shield from https://dl-ssl.google.com/android/adk/adk_release_0512.zip. And then I modified it according to this http://marctan.com/blog/2012/04/06/fixing-the-adk-library-to-work-with-arduino-1-0/. Now the programs compiles without any error and can be burnt easily.
Can it be that the library has some problem and it's showing OSCOKIRQ error in the serial monitor?
Logged

Forum Moderator
Bangalore, India
Offline Offline
Jr. Member
*****
Karma: 0
Posts: 61
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Where can I get the usb.jar file, any download link?

You can get the files and the instructions from this forumn post http://forum.cyanogenmod.com/topic/26339-usb-accessory-mode-is-adk-supported-in-cm-7/
Logged

Checkout some of my Arduino projects and tutorials

Forum Moderator
Bangalore, India
Offline Offline
Jr. Member
*****
Karma: 0
Posts: 61
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

And OSCOKIRQ failed to assert, error, is still not fixed. Anyone any suggestion?

Someone seems to have fixed this issue. Try this solution http://stackoverflow.com/a/11239701/24949
Logged

Checkout some of my Arduino projects and tutorials

bangalore
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,
I am also stuck in the same issue..also tried solution suggested by sundar but it didn't work.
Is an external supply(other than USB) mandatory for Max3421 to work?
Logged

Forum Moderator
ਪੰਜਾਬ
Offline Offline
Edison Member
*****
Karma: 12
Posts: 1573
Another year! Alone! :(
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes its needed , try plugging in a wall wart supply and it will work ,the concept is u..au it needs steady current.
Logged

"Real Men can Accomplish  Anything"
-  Website  
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੂਂ !

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Adding

Code:
delay(100);

before executing "acc.powerOn()" is working for me
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you,

I solved it with "delay (100);"

Do you know why?
Logged

Pages: [1]   Go Up
Jump to: