discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] binary update error on SD card


From: Leslie Choong
Subject: Re: [Discuss-gnuradio] binary update error on SD card
Date: Mon, 26 Jan 2009 16:11:21 -0800

On Sat, Jan 24, 2009 at 4:20 AM, Yc Park <address@hidden> wrote:
> Hello,
> I'm a newbie struggling with the new usrp2 to work...
>
> From the FAQ on the gnuradio.org, I found that I have to update the
> image on the SD card. But I have two problems (actually more, but first
> things first.)
>
> 1. As http://gnuradio.org/trac/wiki/USRP2UserFAQ says,
>  '# Build the firmware by running make in the gnuradio/usrp2 directory
> ',
>
> but my ubuntu 8.10 does not compile anything showing messages as below:
> This is my first problem.
You've already built this directory when you compiled GNURadio so
although it isn't compiling anything, this is because it's already
done the work. So it shuldn't really be a problem.

>
> So, I downloaded the binary images from
> http://gnuradio.org/releases/usrp2-bin/trunk/,
> and ran
>
> sudo u2_flash_tool --dev=/dev/sg3 -t s/w usrp2/firmware/txrx.bin -w
> (my computer showed /dev/sg3 as the Flash Reader)
> BUT, it showed the message below:
>
> address@hidden:~/gnuradio/usrp2/firmware$ sudo ./u2_flash_tool
> --dev=/dev/sg3 -t s/w ./txrx.bin -w
> Traceback (most recent call last):
>  File "./u2_flash_tool", line 111, in <module>
>    main()
>  File "./u2_flash_tool", line 97, in main
>    r = (write_flash(offset, filename, options.dev)
>  File "./u2_flash_tool", line 24, in write_flash
>    dev.seek(offset, 0)                 # seek to absolute byte offset
> IOError: [Errno 29] Illegal seek

I believe you need to use:
sudo sg_map
to see what /dev/sg3 maps too. That is just a guess. Good luck!
-Leslie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]