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
pizzica problem and minicom solution
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
 
newsgroups.a...@byortek.com  
View profile  
 More options Sep 18 2012, 7:32 am
From: newsgroups.a...@byortek.com
Date: Tue, 18 Sep 2012 04:32:03 -0700 (PDT)
Local: Tues, Sep 18 2012 7:32 am
Subject: pizzica problem and minicom solution

Hi

I lost the boot on my foxboardg20 and pizzica was not able to restore the
dataflash.

I did a lot of thing to recover the boot. I'll try to summarize here.

Pizzica was trapped in this while statement.

while True:
        ser.flushInput()
        ser.write("#")
        time.sleep(1)
        if ser.read(1)=='>':
            break

I don't know why.  Under minicom when I type # I receive >
I did not want to investigate this python thing and I switched to minicom

apt-get install minicom

minicom is a serial communication tool. You need to configure it
for using /dev/ttyUSB0 with the settings 115200 8N1

When done I saw that the fox board was sending one "RomBOOT".
With the contacts unclosed it sends   "RomBOOT" every 15 seconds.

When the contact is closed it sends only one. After this 1st RomBOOT
I unclosed (removed) the contact

Under minicom I typed "#" I received ">"
I typed "S200000,#" (as in pizzica) I received "C"

Now it's type to send the file that pizzica modified, it's name
is the same as the bin file but with the extension _patched added

I used minicom for tranferring it but not the standard xmodem protocol
I had to add another protocol as described in the file enclosed in this
message.

When the transfer was over I typed "G200000#"   (as in pizzica)

Then I received characters, the fox board booted, and I was happy

best luck everyone

  sx-at91.c
8K Download

 
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.
newsgroups.a...@byortek.com  
View profile  
 More options Nov 16 2012, 3:05 pm
From: newsgroups.a...@byortek.com
Date: Fri, 16 Nov 2012 12:05:45 -0800 (PST)
Local: Fri, Nov 16 2012 3:05 pm
Subject: Re: pizzica problem and minicom solution

> pizzica was not able to restore the dataflash

It was my mistake.
I was not logged as root !
So the serial communication failed for pizzica

 
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 »