gnupic: Re: [gnupic] PICDEM FS USB and Linux tools


Previous by date: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Next by date: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Previous in thread: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Next in thread: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen

Subject: Re: [gnupic] PICDEM FS USB and Linux tools
From: "Xiaofan Chen" ####@####.####
Date: 23 Sep 2007 11:37:29 +0100
Message-Id: <a276da400709230337t22dd0205w1164497b73ac8de8@mail.gmail.com>

On 9/23/07, Nicolas ####@####.#### wrote:
>
> First the crash in the GUI should be fixed...

The crash of GUI with configuring Piklab is now fixed but reading
with 18F4550 and PICDEM FS USB bootloader caused crash
of the GUI.

Crash log:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1240258864 (LWP 23740)]
[KCrash handler]
#6  0x0816b23b in Programmer::Base::doRead (this=0x9e25af8, memory=@0x0,
    range=@0xbf9decf4) at generic_prog.cpp:323
#7  0x0816b333 in Programmer::Base::read (this=0x9e25af8, memory=@0x0,
    range=@0xbf9decf4) at generic_prog.cpp:313
#8  0x081677d9 in Programmer::Manager::read (this=0x87c6030, memory=@0x0,
    range=@0xbf9decf4) at prog_manager.cpp:101
#9  0x08089b11 in MainWindow::read (this=0x873ef68) at toplevel.cpp:986
#10 0x080d30db in MainWindow::qt_invoke (this=0x873ef68, _id=96, _o=0xbf9dedbc)
    at toplevel.moc.cpp:659
#11 0xb69bd88b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0xb69be330 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0xb732b4c9 in KAction::activated () from /usr/lib/libkdeui.so.4
#14 0xb7363cc2 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#15 0xb743106d in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#16 0xb7431331 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#17 0xb69bd88b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0xb6d497b0 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#19 0xb69dd81e in QSignal::activate () from /usr/lib/libqt-mt.so.3
#20 0xb6ae3f1b in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#21 0xb733234e in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#22 0xb69f465d in QWidget::event () from /usr/lib/libqt-mt.so.3
#23 0xb6954a60 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#24 0xb6956c1e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#25 0xb7118cc2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#26 0xb68e725d in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#27 0xb68e5b9f in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#28 0xb68e3fac in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#29 0xb68fb180 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#30 0xb696f136 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#31 0xb696ef46 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#32 0xb6956609 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#33 0x08089820 in main (argc=1, argv=0xbf9dfa44) at main.cpp:32


> > So I tried erasing and writing: both did not work.
>
> Hum I guess the code in Piklab for this bootloader has never been
> tested... I tried to fix it. Please try again...

I then tried to use the console version and reading seems to work
but not writing. I need to test again.

One thing is that you need to ignore address below 0x800. For
more detail you may want to refer to the forum thread.
http://forum.microchip.com/tm.aspx?m=106426

By the way, PICkit 1 and PICDEM FS USB (both borrowed from Microchip
Singapore in my previous job in year 2005 and later returned) were
the two things got me started with GNUPIC and USB. And Mark Rages
certainly helped quite a bit during the very beginning. Buying the
PICkit 2 was a good decision for me. Now I do not have the
original PICDEM FS USB board but I have a manual-soldered
cut-down version.

Time flies and it has been two years I played with this.
Some history:
http://forum.microchip.com/tm.asp?m=106426
http://forum.microchip.com/tm.asp?m=106529
http://forum.microchip.com/tm.asp?m=107340

Regards,
Xiaofan

Previous by date: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Next by date: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Previous in thread: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen
Next in thread: 23 Sep 2007 11:37:29 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Xiaofan Chen


Powered by ezmlm-browse 0.20.