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 - andersm

34
Project development, ideas, and suggestions / Re: Freescale Freedom Dev board, $13
The Cortex-M0+ is an interesting core, but AFAIK none of the open-source tools support on-board debugger interface (but the interface itself should be open, so it's "only" a matter of implementation), and SWD support is still experimental at best, so it looks pretty much Windows-only at the moment.
35
Bus Pirate Support / Re: General i2C question
Normal I2C addresses are 7 bits, so 127 addresses total, of which 16 are reserved for special purposes. There's a protocol extension that allows 10-bit addresses, but it's relatively rare. Now keep in mind these are device addresses, not IDs. The address tells you how to talk to a device, not what kind of device it is, so the limitation is that you can have a bit over a hundred slave devices on the same bus. To avoid address collisions, most I2C devices allow you to configure their address eg. using a few package pins.

There is an optional device ID extension to the I2C protocol with USB-like registered vendor and device IDs, see page 20 of the spec.
37
Bus Pirate Support / Re: General i2C question
I2C doesn't use chip selects, instead the bus master generates a START condition to signal the start of a transaction, and a STOP condition to signal the end of the transaction. After generating the START condition, the master sends a byte containing the 7-bit slave address, and a single bit indicating the data direction (1 = read, 0 = write). So your example becomes:
START, indicate you want to send data to device 0x77, send the two data bytes 0xF4, 0x2E, STOP, START, indicate you want to read data from device 0x77, read four bytes, STOP.

There's more to how I2C works, but that is the basic idea. The official standard explains everything in detail, but is maybe not the best tutorial.
40
Bus Pirate Support / Re: Bus Pirate V4 Probe Connector
Do you have any good advice for making ribbon cables? When I've tried either the latches on the side of the top part of the connector tend to break, or the whole thing comes apart.
44
General discussion / Re: Microchip PIC simulator for iPad
Apple at least used to be pretty weird about all sorts of emulators and virtual machines on iOS (first a blanket ban, then allowed for a fixed set of emulated applications, then I guess they even allowed a C64 emulator to run the Basic interpreter). I dunno what the current rules are, but hopefully this guy has done his homework and won't run into problems on that front.

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