gnupic: Thread: Re: Pista 0.32a released


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: Pista 0.32a released
From: "Gabor Kiss [Bitman]" ####@####.####
Date: 18 Mar 2004 15:41:17 +0000
Message-Id: <Pine.LNX.4.44.0403181638430.21794-100000@nelson.cdata.hu>

> Well, now to program
>
> Pista> copy myfile.hex pic:
> 121 Writing prog section 0x0-0xabf
> 122 6% written

> 122 99% written
> 122 52% read
> 121 Verifying prog section
> 121 Writing conf section 0x300000-0x300009
> Use of uninitialized value in pack at
> /usr/local/bin/../lib/pista/Pista/Util.pm line 96, <GEN13> line 178.
> Use of uninitialized value in pack at
> /usr/local/bin/../lib/pista/Pista/Util.pm line 96, <GEN13> line 178.
> 532 Verification failed. 4 words differ
>
> Hmm. I tried fixing the directory on line 31, but that didn't help.
> Although, it seems the device programmed fine. At least there's nothing
> obviously wrong.

I'm afraid two bytes of config area were zeroed.
Fixed in 0.33a.
ftp://gatling.ikk.sztaki.hu/pub/pic/pista/pista-0.33a.tar.gz

Gabor

Subject: Pista 0.32a released
From: "Gabor Kiss [Bitman]" ####@####.####
Date: 5 Mar 2004 09:08:14 -0000
Message-Id: <Pine.LNX.4.44.0403050932350.20382-100000@nelson.cdata.hu>

> > http://gatling.ikk.sztaki.hu/~kissg/pd/pista/pista.html
> > ftp://gatling.ikk.sztaki.hu/pub/pic/pista/
>
> When I try to run pista I get this error:
>
> Can't locate Pista/Object/Buffer.pm in @INC (@INC contains:

> Can't locate object method "AddHistory" via package "Term::ReadLine::Stub"
> at /usr/local/bin/pista line 79.

Version 0.32a is released.
Both problem is fixed.
'make uninstall' also works from now. (It just leaves some empty dirs
under /usr/local/lib/pista. They will be removed in the next release.)

Gabor

Subject: Re: Pista 0.32a released
From: Scott Dattalo ####@####.####
Date: 9 Mar 2004 05:21:03 -0000
Message-Id: <Pine.LNX.4.44.0403082016570.28329-100000@ruckus.brouhaha.com>

On Fri, 5 Mar 2004, Gabor Kiss [Bitman] wrote:

> > > http://gatling.ikk.sztaki.hu/~kissg/pd/pista/pista.html
> > > ftp://gatling.ikk.sztaki.hu/pub/pic/pista/
> >
> > When I try to run pista I get this error:
> >
> > Can't locate Pista/Object/Buffer.pm in @INC (@INC contains:
> 
> > Can't locate object method "AddHistory" via package "Term::ReadLine::Stub"
> > at /usr/local/bin/pista line 79.
> 
> Version 0.32a is released.
> Both problem is fixed.
> 'make uninstall' also works from now. (It just leaves some empty dirs
> under /usr/local/lib/pista. They will be removed in the next release.)

Here's what I found with 0.32a

Pista> programmer picstart /dev/ttyS0
120 Resetting programmer
220 PICSTART Plus detected, firmware version 3.11.0

Good.

Pista> help device
550 Cannot open dir /usr/local/bin/../lib/grupid No such file or directory

Uh oh. 

So I changed line 50 to read:

my $GRUPID="$FindBin::/usr/local/lib/pista/grupid";		# BUG

(The BUG comment was there already :).

Pista> device 18f452
242 Device 18f452 selected

Good.

Pista> erase
551 Cannot open file <: No such file or directory

Uh oh. Ooops, that should've been

Pista> erase pic:
132 Device erased
232 Object has been modified


Okay.

Well, now to program

Pista> copy myfile.hex pic:
121 Writing prog section 0x0-0xabf
122 6% written
122 18% written
122 30% written
122 41% written
122 53% written
122 64% written
122 76% written
122 88% written
122 99% written
122 52% read
121 Verifying prog section
121 Writing conf section 0x300000-0x300009
Use of uninitialized value in pack at 
/usr/local/bin/../lib/pista/Pista/Util.pm line 96, <GEN13> line 178.
Use of uninitialized value in pack at 
/usr/local/bin/../lib/pista/Pista/Util.pm line 96, <GEN13> line 178.
532 Verification failed. 4 words differ

Hmm. I tried fixing the directory on line 31, but that didn't help. 
Although, it seems the device programmed fine. At least there's nothing 
obviously wrong.

Scott

Subject: Re: Pista 0.32a released
From: "Gabor Kiss [Bitman]" ####@####.####
Date: 9 Mar 2004 08:50:17 -0000
Message-Id: <Pine.LNX.4.44.0403090911360.16187-100000@nelson.cdata.hu>

> Here's what I found with 0.32a

> Pista> help device
> 550 Cannot open dir /usr/local/bin/../lib/grupid No such file or directory
>
> Uh oh.
>
> So I changed line 50 to read:
>
> my $GRUPID="$FindBin::/usr/local/lib/pista/grupid";		# BUG
>
> (The BUG comment was there already :).

You can see I don't lie. :-)
(Actually the last few week I tried to rememeber why this comment
was put here but I could not.)

>
> Pista> device 18f452
> 242 Device 18f452 selected
>
> Good.
>
> Pista> erase
> 551 Cannot open file <: No such file or directory

This is a syntax error.
Valid commands are
erase pic:
erase file:foo (same as erase foo)
erase buf:bar
Well. More strict check required.

> Uh oh. Ooops, that should've been
>
> Pista> erase pic:
> 132 Device erased
> 232 Object has been modified
>
>
> Okay.
>
> 121 Writing conf section 0x300000-0x300009
> Use of uninitialized value in pack at
> /usr/local/bin/../lib/pista/Pista/Util.pm line 96, <GEN13> line 178.
> Use of uninitialized value in pack at

Grrrrr.
Saturday I will investigate it.

Thanks for the feedback.

Regards

Gabor

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.