Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - adamoutler

1
Bus Pirate Support / I Have 2 BPv4's From Seed, and Neither One Works
Hi,
I've been a bus pirate v3 contributor and user for many years.  I blew mine up recently when I hit a 110v line.  I decided to upgrade to the BPv4 as I was pretty sure it's had time to hit a high level of development by now.

I ordered one Bus Pirate v4 from Seeed.  It didn't respond, but would perform firmware upgrades.  Seeed sent me a new one.

2- I received a replacement BPv4 from Seeed.  It doesn't respond and it will perform firmware upgrades.

I needed the Bus Pirate about 4 months ago when I ordered it.  What do I do?  It takes them 2 months to ship anything and I have to keep reminding them. 

This seems like something that should be repairable.  What could cause this?  Should I try the oven?

Upgrade mode:
Code: [Select]
[1749309.451950] usb 1-1.6: new full-speed USB device number 100 using ehci-pci
[1749309.546319] usb 1-1.6: New USB device found, idVendor=04d8, idProduct=000a
[1749309.546326] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1749309.546330] usb 1-1.6: Product: CDC Test
[1749309.546334] usb 1-1.6: Manufacturer: Dangerous Prototypes
[1749309.546337] usb 1-1.6: SerialNumber: 00000001
[1749309.546899] cdc_acm 1-1.6:1.0: This device cannot do calls on its own. It is not a modem.
[1749309.546914] cdc_acm 1-1.6:1.0: ttyACM0: USB ACM device

Normal mode:
Code: [Select]
[1749397.051750] usb 1-1.6: new full-speed USB device number 101 using ehci-pci
[1749397.145904] usb 1-1.6: New USB device found, idVendor=04d8, idProduct=000a
[1749397.145911] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1749397.145915] usb 1-1.6: Product: CDC Test
[1749397.145919] usb 1-1.6: Manufacturer: Dangerous Prototypes
[1749397.145922] usb 1-1.6: SerialNumber: 00000001
[1749397.146390] cdc_acm 1-1.6:1.0: This device cannot do calls on its own. It is not a modem.
[1749397.146406] cdc_acm 1-1.6:1.0: ttyACM0: USB ACM device
[1750328.163064] usb 1-1.6: USB disconnect, device number 101

both are ttyACM0.

Tail of update log
Code: [Select]
Writing page 169 row 1352, 2a400...OK
Writing page 169 row 1353, 2a480...OK
Writing page 169 row 1354, 2a500...OK
Writing page 169 row 1355, 2a580...OK
Writing page 169 row 1356, 2a600...OK
Writing page 169 row 1357, 2a680...OK
Writing page 169 row 1358, 2a700...OK
Writing page 169 row 1359, 2a780...OK
Erasing page 170, 2a800...OK
Writing page 170 row 1360, 2a800...(SKIPPED by bootloader)...OK
Writing page 170 row 1361, 2a880...(SKIPPED by bootloader)...OK
Writing page 170 row 1362, 2a900...(SKIPPED by bootloader)...OK
Writing page 170 row 1363, 2a980...(SKIPPED by bootloader)...OK
Writing page 170 row 1364, 2aa00...(SKIPPED by bootloader)...OK
Writing page 170 row 1365, 2aa80...(SKIPPED by bootloader)...OK
Writing page 170 row 1366, 2ab00...(SKIPPED by bootloader)...OK
Writing page 170 row 1367, 2ab80...(SKIPPED by bootloader)...OK

Firmware updated successfully :)!


What do I do now?
5
AVRDude / Programming an ATTiny2313a
I can't get the Bus Pirate to program my ATTiny2313a.  I don't know much about this, so I'm providing my log and source.  All I want to do is make my ATTiny2313a run a "Blinking LED" program until I can figure out how to do this better. 

I prepared a source package here: http://www.mediafire.com/file/0e77xr5u8 ... Pirate.zip  .  It contains everything I've been trying.. make file set up for bus pirate,  Arduino Mega ISP, AVRDude SVN, blinking_led C code, blinking LED arduino code, and make files.  If you uncompress this on Linux, you should just have to run "make install" and it will attempt to use the Bus Pirate as a programmer.

 I don't know if it helps, but here is my log: http://pastebin.com/a2xAq9rZ  It seems to detect the chip, but it won't program.  When it attempts to program, it does this:
Code: [Select]
Detecting BusPirate...
avrdude: buspirate_send_bin():
        0x23 0x0a
avrdude: Send: # [23] . [0a]
avrdude: Recv: . [ff]
avrdude: buspirate_readline():
BusPirate is not responding. Attempting reset.
avrdude: buspirate_send_bin():
        0x00
avrdude: Send: . [00]
avrdude: buspirate_send_bin():
        0x0f
avrdude: Send: . [0f]
avrdude: ser_recv(): programmer is not responding
BusPirate is back in the text mode


I have tried 3 separate ATTiny2313's and I feel like I've tried everything and nothing is working.
6
Web platform / Re: Adam's questions on capabilities
That would work...  It's a bit large though...  very limited flash rom.. basically it would be programmed to just send a block of pre-programmed text and possibly make decisions based on inputs received...
Arduino nano: http://www.bizoner.com/arduino-nano-30- ... p-240.html
SPI Ethernet module: http://iteadstudio.com/store/index.php? ... ilhpflclh7
Overall cost $37, same price as web platform.  However, Arduinos are such general purpose hardware that it's hard to find a good job for them.  To me,leaving them in a project doesn't seem right because they're repurposeable....  Like it's still in prototype mode.  I like the idea of a hackable "web platform"..  just not enough to pick up the books and learn another programming language.

I will wait and see what version 2 brings.
7
Web platform / Re: Adam's questions on capabilities
[quote author="arhi"]if you go with w500-gp or alike device it will work great as a router but that's it .. running alix board (for e.g. my favorite is ALIX 2D13 (availble locally for ~100eur + 10eur for metal case and psu) and when I use them as routers I run zero shell on them (linux with great web interface for configuring all router/firewall options, but still a full fledged linux that you can customize and add any package you want) ... board also have usart, usb and i2c that you can use to control / talk to other appliances (I assume 3 eth ports will be used for other stuff :D like wan, lan ..). I used uart and usb, never tried i2c on these boards but should be straight forward as it is supported on linux[/quote]
That's alot more hardware then required for what I want to do.  A bit more pricey as well.  I'm really looking to toy around and have a hacked website running on something which noone would look at and say "hey, that's a server".  I really want something custom like this web platform, but I guess it's beyond my abilities.
8
Web platform / Re: Adam's questions on capabilities
[quote author="ian"]
I'd say no, the web platform isn't right. I use it for pull internet stuff, like the twitter controlled christmas tree, and the thermal printer that's printing our Twitter mentions on live stream right now. #1 alone is probably way beyond the abilities of the web platform, and it would take a lot of effort to program all that from scratch because it doesn't run an OS and no such utilities are available.
...
I'd say go for a netbook or small box with a linux live CD, it would be way easier and there's way more support for it.[/quote]
Hrm...  You said you use it to pull internet stuff...  It wouldn't be able to pull several RSS feeds and parse the first entry every 15 minutes, then return a link to a web page?    Maybe have a table with content pulled from another website or computer on my network?  It seems very possible.  However, it does seem like it would be more effort then it's worth... 

I was planning on maybe referring people to adamoutler.com and showing them that this website is powered by my web platform, displaying basic content like on the website demo, and serving up content pulled from RSS.  It would be like an internet business card, in a physical form factor of a business card.  From what you're saying it should be possible...  I'm not really good in C++ though...  I know wiring, but that's not the same.  If this were Java, I'd be all over it.  I think you're right, I should look at a different platform...

Maybe some of these ideas could go into Web Platform V2...  It would be awesome to have a Java-style interface which gets translated to C then compiled.  You must surely agree that C is somewhat of a lost art these days with options like C++, Java, and Visual Studio available.  Maybe some shortcut APIs or a chip which runs nothing but a Java VM, or a modified version of Apache...  Don't slay me here, I'm just thinking of things that would make this platform useful to me.
10
USB serial LCD backpack / Re: LCD serial LCD backpack is about to go on sale
Well?  When is it going on sale?  I'd like to get one...

You say LCD backpack...  Is there an LCD included, or do I have to provide my own? 

This is within my realm of interest. It would be nice to add this to an arduino project like  LCD.println("foo"); or LCD.Scroll("bar");  it would make debugging very easy and quick without establishing a serial connection...  maybe as a output device for the web platform, or last email received in evolution...
11
Web platform / Adam's questions on capabilities
I understand the Web Platform to be a good always-on server solution for non-processing tasks.  As a hobbiest I would like to take advantage of offloading a personal web server onto something the size of a business card. I was wondering about the capabilities before I order one though. 

I searched the wiki and I read.  I found a few guides, but nothing really detailed.  I don't know if the web platform is right for me.

Here's what I'd like it to be able to do... 
    1. Serve dynamic content from RSS feeds (my blogs, things I'm interested in).
    2. Have a predefined login/password screen which will allow access to the next items, which will wait a few  minutes between invalid password attempts and log the IP of anyone who performs an invalid password attempt.
    3. Be able to modify my router's routing tables by sending a http/POST request to my router like this:
Code: [Select]
 http://username:password@192.168.1.1/apply?name1="foo"
then 30 minutes later execute another command to reenable my firewall.  (this way I can login-in, then use SSH, VNC or RDP without having the ports always open).
4. Be able to pull those routing tables from a text file.
5. make use of Linux command line applications..  like Expect, SSH or Telnet for scripting other computers actions.[/list]
If 5 is not possible, it would not be a deal breaker.  I am just looking for a web server I can log onto and have it perform remedial actions on my network to take down my firewall.

These would be the things I'd like to make my webplatform do if I bought one.  Are they feasable?  On a scale of 1-10, how difficult would they be for someone who is proficient in java, bash, arduino, and somewhat familiar with other languages including html?
12
Client software / Re: Python-based Client
[quote author="arhi"]@adamoutler, what's wrong with python 3 compared to older versions? I do speak many languages (over 60) and python is the only one that disgust me .. but I did not found anything especially ugly with v3 ?[/quote]
I've been programming since I was 9..  Python 3 is like the time when Microsoft released .NET back in 2000ish.  I was familiar with Visual Studio 5, however with .NET, I could not even display a textbox. 

Now, instead of building upon Python's existing foundations, in Python3 they broke just about everything I had learned about Python 2.6...  I decided at that point, if they can't support the hobbiest programmer, then I won't support them.

I don't get paid to learn programming languages.  I program in my spare time..  I don't want to have to learn a new language with each version, and I don't want to have to specify a version of an interperater with every program.  They're not stable enough.  Java has been through similar changes but nothing drastic.  Also, the same programs you wrote on Windows in 2001,  still work 10 years later with a double-click on Linux.
13
Open Bench Logic Sniffer / Re: Maybe bug: RLE at 200MHz
Im having the same problem.  I mentioned it before.  I am using 3.06 I think...  its demon core.  I am using the dump which came with it.  I am running under ubuntu 11.04.  200mhz returns seconds worth of static on group0.  100mhz and lower returns a clean, unRLE signal...  I think this only affects group 0 and 1.... not sure and cant test

Possible:
Lead 7 not turned off
Single data rate is not handled properly
Timing on RLE is improperly calculated
14
Client software / Re: Python-based Client
That's great!  You should do a java port next!    I've decided to use java for everything as its cross platform and will run on any interperater.  Python 3.0 screwed my interest in learning python. 

Don't take me wrong.  This is awesome!

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01612457928session_write_close ( )...(null):0
20.01642589504ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01642590280Database_MySQL->query( ).../DatabaseHandler.php:119
40.06012729000Database_MySQL->error( ).../Db-mysql.class.php:273