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


Previous by date: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Nicolas
Next by date: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Rick Bronson
Previous in thread: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Nicolas
Next in thread: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Rick Bronson

Subject: Re: [gnupic] PICDEM FS USB and Linux tools
From: "Xiaofan Chen" ####@####.####
Date: 21 Sep 2007 15:18:55 +0100
Message-Id: <a276da400709210718w24c87943y8f0b24af0f7bd79c@mail.gmail.com>

On 9/21/07, Nicolas ####@####.#### wrote:
> On 9/20/07, Rick Bronson ####@####.#### wrote:
> >   If someone wanted to use Linux tools for uploading a program via USB
> > to the PICDEM board what are the suggested tools?  Two I've run across
>
> Piklab should also support the PICDEM bootloader...
> Please give me feedback if it does not work.
>

I was trying to test out this under Ubuntu 6.06 but unfortunately
Piklab crashed when I was trying to configure the programmer. The old
version is ok but mentioned that it does not support 18F4550. The
latest svn version is also not working. fsusb works fine under Ubuntu
6.06.

GUI mode prompt from the latest version:
Connecting Picdem Bootloader on USB Port with device 18F4550...
Bootloader version 1.0.0 detected
  Set target self powered: true
Connected.
The selected programmer cannot read device memory

Console mode:
mcuee@ubuntu:~$ piklab-prog -p picdem_bootloader -c read testcdc.hex
piklab-prog: version 0.14.5 (rev. 2209)
programmer: picdem_bootloader
Error: Device not specified.
mcuee@ubuntu:~$ piklab-prog -d 18f4550 -p picdem_bootloader -c read testcdc.hex
piklab-prog: version 0.14.5 (rev. 2209)
programmer: picdem_bootloader
device: 18F4550
Using port from configuration file.
Error: The selected programmer cannot read device memory.

mcuee@ubuntu:~$ uname -a
Linux ubuntu 2.6.15-28-386 #1 PREEMPT Wed Jul 18 22:50:32 UTC 2007
i686 GNU/Linux


Crash log when configuring Piklab:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1238889600 (LWP 12345)]
[KCrash handler]
#6  0x081687e0 in Hardware::Config::hardwareNames (this=0x0,
    type=Port::USBType) at hardware_config.cpp:89
#7  0x0816895e in Hardware::Config::currentHardware (this=0x0,
    type=Port::USBType) at hardware_config.cpp:38
#8  0x080b57e7 in Programmer::SelectConfigWidget::portChanged (this=0x9c26b18)
    at prog_config_widget.cpp:131
#9  0x080ca391 in Programmer::SelectConfigWidget::qt_invoke (this=0x9c26b18,
    _id=50, _o=0xbff2c798) at prog_config_widget.moc.cpp:170
#10 0xb6a8d051 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb6e2025a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#12 0xb6aaa7c8 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#13 0xb6ab22b8 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#14 0xb6a22f3e in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#15 0xb6a2313a in QApplication::notify () from /usr/lib/libqt-mt.so.3
#16 0xb71a7d7d in KApplication::notify () from /usr/lib/libkdecore.so.4
#17 0x081b012b in QApplication::sendEvent (receiver=0x875b110,
    event=0xbff2cb08) at qapplication.h:520
#18 0xb6a1492b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#19 0xb69c7f67 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#20 0xb6a3ba2f in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#21 0xb6a21a79 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#22 0xb6c4052c in QDialog::exec () from /usr/lib/libqt-mt.so.3
#23 0x080883b2 in MainWindow::configure (this=0x875a028,
    showType=ConfigCenter::General) at toplevel.cpp:494
#24 0x080cf0eb in MainWindow::qt_invoke (this=0x875a028, _id=79, _o=0xbff2cf3c)
    at toplevel.moc.cpp:642
#25 0xb6a8d051 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#26 0xb6a8daec in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#27 0xb73c28a7 in KAction::activated () from /usr/lib/libkdeui.so.4
#28 0xb73f8674 in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#29 0xb7413d96 in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#30 0xb741404b in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#31 0xb6a8d051 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#32 0xb6e2025a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#33 0xb6aaa7c8 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#34 0xb6bb2149 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#35 0xb73ce4e7 in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#36 0xb6ac7825 in QWidget::event () from /usr/lib/libqt-mt.so.3
#37 0xb6a22f3e in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#38 0xb6a234c8 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#39 0xb71a7d7d in KApplication::notify () from /usr/lib/libkdecore.so.4
#40 0xb69b41c5 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#41 0xb69af5c0 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3
#42 0xb69add59 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#43 0xb69c74db in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#44 0xb6a3ba2f in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#45 0xb6a3b952 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#46 0xb6a21a4d in QApplication::exec () from /usr/lib/libqt-mt.so.3
#47 0x08084773 in main (argc=1, argv=0xbff2dc84) at main.cpp:32

Previous by date: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Nicolas
Next by date: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Rick Bronson
Previous in thread: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Nicolas
Next in thread: 21 Sep 2007 15:18:55 +0100 Re: [gnupic] PICDEM FS USB and Linux tools, Rick Bronson


Powered by ezmlm-browse 0.20.