Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
IPM ImportError on AVR
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Vasco  
View profile  
 More options Aug 30 2012, 10:15 am
From: Vasco <vasco....@gmail.com>
Date: Thu, 30 Aug 2012 07:15:29 -0700 (PDT)
Local: Thurs, Aug 30 2012 10:15 am
Subject: IPM ImportError on AVR

Hello,

after some problems, I was able to run p14p on ATMega1284P. I used latest source from repository (version from Jun-22-2012). I modified source in src/platform/avr for m1284p and program it into chip. The simple python code is running, I'm able to control output pins and I can print strings to UART.

But, if I try to import ipm and then run ipm.ipm() i get this traceback:

Error:     0xE6
  Release: 0x08
  FileId:  0x00
  LineNum: 0
Traceback (top first):
  main()
  <module>.

According to ErrorsAndExceptions.txt file the 0xE6 error is ImportError. I have absolutely no idea what is wrong. Where can i start to debug? How can I get more information or more detailed traceback?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dean Hall  
View profile  
 More options Sep 3 2012, 11:26 pm
From: Dean Hall <dwhall...@gmail.com>
Date: Mon, 3 Sep 2012 21:26:54 -0600
Local: Mon, Sep 3 2012 11:26 pm
Subject: Re: [python-on-a-chip] IPM ImportError on AVR
I haven't done this, but you might run in the AVR simulator, set a breakpoint on plat_reportError() in src/platform/avr/platform.c and view the C function call stack to see where the exception was launched.

!!Dean

On Aug 30, 2012, at 8:15 AM, Vasco wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »