Go to advanced search

by gregeric
Thu Sep 18, 2014 2:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C EEPROM not read identically on RPi
Replies: 20
Views: 5989

Re: I2C EEPROM not read identically on RPi

Did you sudo the echo and dd lines?

Are you now trying on another Pi, perhaps now an original model B which exposes i2c bus 0 instead of 1 like all later Pi's?

PS I can assure you the commands definitely work for me ( I nicked them from https://github.com/raspberrypi/hats/tre ... epromutils)
by gregeric
Thu Sep 18, 2014 12:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C EEPROM not read identically on RPi
Replies: 20
Views: 5989

Re: I2C EEPROM not read identically on RPi

I suspect the at24 serial-eeprom kernel module was not loaded. Did you get any error with "sudo modprobe at24" ?
by gregeric
Thu Sep 18, 2014 9:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Anyone interested in testing my avrdude with SPI support?
Replies: 23
Views: 9655

Re: Anyone interested in testing my avrdude with SPI support

I had a look at avrdude's linuxgpio.c source. There you can see that care *is* taken, when closing the programmer, to set the GPIOs used for MOSI & SCLK as inputs before allowing the reset to go high & the AVR run. It's not so clear to me that this is taken into account when opening the programmer. ...
by gregeric
Wed Sep 17, 2014 9:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Anyone interested in testing my avrdude with SPI support?
Replies: 23
Views: 9655

Re: Anyone interested in testing my avrdude with SPI support

I hadn't considered the possibility of the MOSI's fighting each other. The Gertduino uses resistor voltage dividers for logic-level conversion - I suppose such an arrangement offers some protection in case both are trying to output. So if using 3V3 powered AVR, instead of connecting directly, perhap...
by gregeric
Tue Sep 16, 2014 5:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C EEPROM not read identically on RPi
Replies: 20
Views: 5989

Re: I2C EEPROM not read identically on RPi

You can dump the eeprom using the sys/class file interface. Run the following (as sudo): modprobe i2c-bcm2708 modprobe i2c-dev modprobe at24 echo "24c02 0x50" > /sys/class/i2c-adapter/i2c-1/new_device dd if=/sys/class/i2c-adapter/i2c-1/1-0050/eeprom of=24c02.bin echo "0x50" > /sys/class/i2c-adapter/...
by gregeric
Mon Sep 15, 2014 6:50 pm
Forum: Beginners
Topic: DVB-T with GPU acceleration
Replies: 4
Views: 961

Re: DVB-T with GPU acceleration

You may try tvheadend as a server, plus pidvbip as client/viewer under raspbian. Alternatively, use the raspbmc build of xbmc which has tvheadend server & client built in. In both cases you will need the mpeg2 licence/key for standard def, but you can watch h264 encoded hd channels without. An addit...
by gregeric
Mon Sep 15, 2014 5:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Unbrick a wireless router using the I/0 pings
Replies: 10
Views: 4900

Re: Unbrick a wireless router using the I/0 pings

Correct, just those three wires, no connection to Vcc. Have you disabled the Raspbian boot console's use of /dev/ttyAMA0? It's an option on the advanced section of sudo raspi-config (you may need to choose the self-update option if it's not there). Connect those three wires, boot the Pi, then start ...
by gregeric
Mon Sep 15, 2014 2:35 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Unbrick a wireless router using the I/0 pings
Replies: 10
Views: 4900

Re: Unbrick a wireless router using the I/0 pings

Do NOT connect the Vcc's together, just ground & the TX/Rx lines crossed over. Damage may occur if you do. In your scheme above, you do not have Rx/Tx crossed over. So router Tx goes to Pi Rx on GPIO header pin 10, router Rx goes to header pin 8 on the Pi. Linux screen command is a handy tool, both ...
by gregeric
Mon Sep 15, 2014 6:56 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: New OLED in the Town - Troubles with SPI
Replies: 31
Views: 7124

Re: New OLED in the Town - Troubles with SPI

acpadhi wrote:MY WIRING DIAGRAM for SPI :
wiring.jpg
Larger version : http://transworldsoft.net/raspberry/oled/wiring.jpg
Dangerous mix of 5V & 3V3 logic there? Better supply the module with 3V3.
by gregeric
Mon Sep 08, 2014 10:56 am
Forum: Beginners
Topic: avrdude 6.1 in raspbian?
Replies: 8
Views: 2632

Re: avrdude 6.1 in raspbian?

You can safely ignore those warnings unless you intend to use an avr programmer which requires those libs to operate. Most likely on the Pi you will use the gpio pins, either by bit-banging abitrary gpios or using the Pi's dedicated spi. I recommend you read this thread http://www.raspberrypi.org/fo...
by gregeric
Sat Sep 06, 2014 6:24 pm
Forum: Beginners
Topic: How to I use the GPIO as controller input?
Replies: 4
Views: 797

Re: How to I use the GPIO as controller input?

Have a read here: https://learn.adafruit.com/retro-gaming-with-raspberry-pi/buttons - especially the retrogame software to generate keyboard events from GPIO events. One word of caution: retrogame uses the Pi`s internal pullup resistors, and I've no idea if the switches on the keyboard you link to h...
by gregeric
Sat Sep 06, 2014 6:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Anyone interested in testing my avrdude with SPI support?
Replies: 23
Views: 9655

Re: Anyone interested in testing my avrdude with SPI support

Good job on this, nice to see the SPI hardware being used instead of bit-banging GPIOs! I too was caught out with the default 400kHz clock being too high on the 3V3 powered AVR. The max SPI clock before failing was 120kHz on an ATmega8515L with internal 1MHz clock. Maybe better to set a lower freque...
by gregeric
Fri Sep 05, 2014 10:39 am
Forum: Camera board
Topic: B+ Camera is not detected (workaround available)
Replies: 83
Views: 66350

Re: B+ Camera is not detected (workaround available)

rpi-update should fix the problem now. https://github.com/raspberrypi/linux/commit/e2f9e159af34aa9d9e39f3c74c756f6467c7a86f https://github.com/raspberrypi/firmware/commit/e45f94ddadeccfe56566c560e938378d5cc81180 If, for whatever reason, you need to override the new behaviour, add bcm2708.vc_i2c_ove...
by gregeric
Tue Sep 02, 2014 4:07 pm
Forum: HATs and other add-ons
Topic: Pi B+ ID EEPROM: Multiple HATs, multiple EEPROMs?
Replies: 26
Views: 12312

Re: Pi B+ ID EEPROM: Multiple HATs, multiple EEPROMs?

Simple, manual scheme for stacking two boards: Connect HAT1, boot & take copy of eeprom. Repeat for HAT2. Have some utility attempt to merge eeprom contents, advising of any gpio conflicts. If none exist, write new combined gpio requirements to bottom board's eeprom. Now, if the bottom board's pass-...
by gregeric
Tue Sep 02, 2014 12:22 pm
Forum: General discussion
Topic: Broadcoms BCM 4319 WICED. Wished for in next model please.
Replies: 22
Views: 7484

Re: Broadcoms BCM 4319 WICED. Wished for in next model plea

Pretty similar to TI's Sensortag, even down to the name. It's missing the IR temperature MEM of the TI product but adds a microusb port (for debug / flashing I assume).

Nice! Let's hope there's a usable, free sdk.
by gregeric
Mon Sep 01, 2014 12:39 pm
Forum: General discussion
Topic: Transfer aerial feed to iPad
Replies: 13
Views: 1642

Re: Transfer aerial feed to iPad

There exist usb capture devices with on-board (hardware) mpeg2 encoders. You'll have a better chance with one of those, for example I believe they are supported by tvheadend as a means of streaming over the network, whereas those without the onboard mpeg2 are not.
by gregeric
Thu Aug 28, 2014 9:54 pm
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 27648

Re: What features/issues to address?

A big thanks to both of 6by9 & JamesH for all your paid & unpaid work on the Pi & its camera, and your contributions to this forum.

Hope you both find fulfilling future employment, yet somehow are given the means to continue to contribute here where you can!
by gregeric
Thu Aug 28, 2014 11:54 am
Forum: General discussion
Topic: Idle curiosity...A+ USB power
Replies: 13
Views: 2812

Re: Idle curiosity...A+ USB power

Wonder if the A+ might have a Pi HAT form factor - looks like there might be space for a single USB socket where the LAN/hub chip sits on the B+?
by gregeric
Tue Aug 26, 2014 1:48 pm
Forum: General discussion
Topic: Call for testers: new MMC driver
Replies: 19
Views: 6655

Re: Call for testers: new MMC driver

I made some tests using Mathematica to compute π, more rounds of timing/testing needed but it looks like the new mmc code offers a small speedup over the old code whether writing to sdcard or not. Still no adverse findings in general use. Thanks!
by gregeric
Fri Aug 22, 2014 8:41 am
Forum: General discussion
Topic: Call for testers: new MMC driver
Replies: 19
Views: 6655

Re: Call for testers: new MMC driver

Likewise, new mmc driver enabled with no apparent issues. On my B+ with 1200MHz overclock, I notice total idle interrupts (ie no uSD access) are at ~760/s with the new driver, ~610 with the old. However, while reading from the uSD, they are lower with the new driver at ~1300/s, vs 1460/s with the ol...
by gregeric
Thu Aug 21, 2014 11:51 am
Forum: General discussion
Topic: Call for testers: new MMC driver
Replies: 19
Views: 6655

Re: Call for testers: new MMC driver

doh!
by gregeric
Thu Aug 21, 2014 11:47 am
Forum: General discussion
Topic: Call for testers: new MMC driver
Replies: 19
Views: 6655

Re: Call for testers: new MMC driver

Hi gellert. Just done an rpi-update, edited /boot/config.txt accordingly, but on reboot I cannot see the dmesg confirmation of any new mmc driver in use.

Equally, "vcgencmd get_config int" does not list any such mmc entry as appears in my config.txt

I have #704 PREEMPT Wed 20 Aug
by gregeric
Thu Aug 21, 2014 9:02 am
Forum: General discussion
Topic: Adding RAM to Pi
Replies: 52
Views: 100547

Re: Adding RAM to Pi

Not so pluggy, as rpdom says: 1GiB is the physical limit for the POP memory, but practically limited to 512MiB cos no-one has manufactured a compatible chip. From the rather hoarse Broadcom Eng's mod's mouth: http://www.raspberrypi.org/forums/viewt ... op#p222583

Go to advanced search