Skip to main content

Messages

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

Messages - PGMarv

1
Bus Pirate Support / Re: Identifying a Bus Protocol
That is stuff with kind of a high level and probably not worth it. As long as you don't simulate an existing device on the bus (and kick the original out) a new device has to be "commissioned" on the bus and you need to buy "credits" before you can do so. If i do not succeed in hacking the remote control i will get back to it and tell you here ;)

But it seems like no one except for me is interested in this industrial special stuff...
2
Bus Pirate Support / Re: Identifying a Bus Protocol
I get a faster USB-Scope tomorrow so i hope to get better results...

An alternative to hack the remote would be to attach to the bus between the modules for the heating, solar module and stuff. That is a LON-Bus but reading other forums that bus sounded far more difficult to enter than i expected the remote control to be...

Or did anyone here play "LON" with a bus pirate?
3
Bus Pirate Support / Identifying a Bus Protocol
Hey there! I am trying to read data from my heating system and need to identify the protokol spoken on the wires. Many Days of searching the web did not bring any results so it looks like i am on my own. I do not have a real scope but maybe my Bus Pirate's readings help to identify what's spoken on that bus...

There are three wires connected to the remote control i want to hack. A is probably "App", B "App/Ground" and C what's remaining of 12V behind a long cable. I measured 9,5V between B and C. Between A and B there are 3,49 V so i connected the Bus Pirate with the miniscope to those two.

I don't know it the slow sampling or the low resolution is the problem here, but i expected one high and one low level and the signal changing just between thos two levels - but that's not what i get:

[attachment=1]

One Datagram every 1 or 1,4 Seconds or so. But the Voltage falls and rises from "silence-level"!? What is that?

[attachment=0]

I would really appreciate any help over here ;)
4
Bus Pirate Support / Re: AVRdude support broken, revert to v3?
You probably solved it another way but if somebody else needs to use AVRDude (and finds this thread)...

There is a solution without the hassle of going back to an older bootloader. Firmware 4.1 with Bootloader 4.1 works perfectly fine with AVRDude over here! Maybe the others below FW5.0 work, too?

Isn't there a list of working combinations of Firmware and AVRDude somewhere?
5
Bus Pirate Support / Re: BusPirate oscilloscope
Updating Python did not help here but now at least i know why there is a problem. It is Windows/Unix-Difference!

From the Python Docs:
Quote
select.select(rlist, wlist, xlist[, timeout])¶
This is a straightforward interface to the Unix select() system call. The first three arguments are sequences of ‘waitable objects’: either integers representing file descriptors or objects with a parameterless method named fileno() returning such an integer:

rlist: wait until ready for reading
wlist: wait until ready for writing
xlist: wait for an “exceptional condition” (see the manual page for what your system considers such a condition)
Empty sequences are allowed, but acceptance of three empty sequences is platform-dependent. (It is known to work on Unix but not on Windows.) The optional timeout argument specifies a time-out as a floating point number in seconds. When the timeout argument is omitted the function blocks until at least one file descriptor is ready. A time-out value of zero specifies a poll and never blocks.

The return value is a triple of lists of objects that are ready: subsets of the first three arguments. When the time-out is reached without a file descriptor becoming ready, three empty lists are returned.

Among the acceptable object types in the sequences are Python file objects (e.g. sys.stdin, or objects returned by open() or os.popen()), socket objects returned by socket.socket(). You may also define a wrapper class yourself, as long as it has an appropriate fileno() method (that really returns a file descriptor, not just a random integer).

Note File objects on Windows are not acceptable, but sockets are. On Windows, the underlying select() function is provided by the WinSock library, and does not handle file descriptors that don’t originate from WinSock.

And that's what happens in pyBusPirateLiteBitBang.py, line 113:
Quote
select.select([], [], [], timeout

So that does not work under Windoze :/
7
Bus Pirate Support / Re: BusPirate oscilloscope
Did anyone get this to work on Windows? I'm stuck here...

Code: [Select]
IDLE 2.6.4      ==== No Subprocess ====
>>>
Entering binmode:
Traceback (most recent call last):
  File "N:BPpyBusPirateLiteoscope_v1.2.py", line 72, in <module>
    if bp.BBmode():
  File "N:BPpyBusPirateLitepyBusPirateLiteBitBang.py", line 51, in BBmode
    self.resetBP()
  File "N:BPpyBusPirateLitepyBusPirateLiteBitBang.py", line 95, in resetBP
    self.reset()
  File "N:BPpyBusPirateLitepyBusPirateLiteBitBang.py", line 61, in reset
    self.timeout(0.1)
  File "N:BPpyBusPirateLitepyBusPirateLiteBitBang.py", line 113, in timeout
    select.select([], [], [], timeout)
error: (10022, 'Ein ungxfcltiges Argument wurde angegeben')
>>>

Win7x64, pyBusPirateLite and Oszi from SVN...

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