Skip to main content

Topics

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

Topics - 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 / 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?
7
OpenOCD JTAG / cfg for JTAG Cortex A8?
Over on XDA-Developers.com we've seen a rash of carnage from developers recommending that new users flash improper firmware in risky ways...  Anyways... I'm trying to come up with an every man's solution.  The bus pirate is perfect for it's multi-tool capabilities and price.

I've been working on non-invasive recovery methods, but it seems that I've run out of options now.  So It's time to really look at JTAG. 

The target CPU is a Cortex A8 with CoreSight.  I've worked out the proper pinout and connectors to use here: http://forum.xda-developers.com/showthr ... ?t=1000175

I have:
A working device, a daily use device, and some guy's random brick
A bus pirate
The proper connectors worked out.

I need to get a solution for this processor though.  Which .cfg do I use?
9
Open Bench Logic Sniffer / 17.9 hours in RLE mode?
I was reading the page "Logic Sniffer 103" here: http://dangerousprototypes.com/docs/Logic_Sniffer_103 

I am trying to figure out a way to establish communications with the Call Processor in my mobile phone through the SIM card.  I need to watch the entire boot up sequence and it would be nice to have timestamps throughout the entire thing.  I want to watch 2 minutes of data on 6 pins. 

Is this for real?  18 hours of data logging when using all four groups?  Do I simply ground and enable all 4 groups?  Why does 3 groups have no data by the max duration?  Is there a way to get RLE to stop or does time have to elapse?
10
Bus Pirate Support / Improved Bus Pirate case sticker
Hey, I was looking at the bus pirate reference cards and I found that most of the ones on the wiki were out of date or had wrong color codes.

So I made a new one with these features
  • Easy to read
  • Compatible with SeeedStudios' cable
  • Shows which modes all pins are active
  • Has high visibility of color codes
  • Includes pin numbers and signal names

Here's a sample image

png:http://the-bus-pirate.googlecode.com/svn/trunk/documents/V3/ImprovedBusPirateRef.png
The downlod contains a PDF for printing in high quality, and an XLS file ( you can modify it with this).  I used LibreOffice to make this, so Microsoft Office will look different. 
 The proper printing size of the PDF is: 42% for sticker which covers the back, 38% for paper with clear tape over the top

Download the High Quality PDF and Spreadsheet
http://the-bus-pirate.googlecode.com/sv ... ateRef.pdf
http://the-bus-pirate.googlecode.com/sv ... ateRef.ods

Please review for accuracy.  Use this as you wish, no copyrights, I made it for myself.  I'll make any changes required.  Let me know if there's anything I should add.
11
Bus Pirate Support / UART non-standard bitrate?
I am trying to communicate with the SIM card port on my phone.  Apparently it uses 9700bps.  I would like to try to talk to it.  How would i specify this non-standard bit-rate?
12
Open Bench Logic Sniffer / New Logic sniffer is broken???
Hello, I am receiving eratic readings from my logic sniffer.

I hooked up my logic sniffer to my Arduino Mega.  Then I set it up to read the pins.  The unit showed very unexpected results.

( ! ) 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.01452421576session_write_close ( )...(null):0
20.01482553168ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01482553944Database_MySQL->query( ).../DatabaseHandler.php:119
40.05712692680Database_MySQL->error( ).../Db-mysql.class.php:273