Chris Sears
2006-04-24 05:36:46 UTC
I am getting the I2cTransfer error again. I've had a working
gumstix/robostix pair and I use the following script on the gumstix:
modprobe i2c-dev
modprobe i2c-pxa
insmod /mnt/mmc/char-driver.ko
insmod /mnt/mmc/robostix_drv.ko
/mnt/mmc/uisp --wr_fuse_l=0xbf --wr_fuse_h=0xc2 --wr_fuse_e=0xff
Atmel AVR ATmega128 is found.
Fuse Low Byte set to 0xbf
Fuse High Byte set to 0xc2
Fuse Extended Byte set to 0xff
sleep 2
/mnt/mmc/uisp --erase --upload if=/mnt/mmc/i2c-Boot-m128-16MHz.hex
Atmel AVR ATmega128 is found.
Erasing device ...
Reinitializing device
Atmel AVR ATmega128 is found.
Uploading: flash
sleep 2
/mnt/mmc/i2c-load --reboot 0x0b write /mnt/mmc/i2c-io.hex
ERROR: I2cTransfer: ioctl failed: Remote I/O error (121)
ERROR: I2cReadBlock failed
ERROR: Unable to retrieve boot information from i2c address 0x0b
I have changed any software. Is there any way to recover my robostix?
Any script I can run?
Chris
gumstix/robostix pair and I use the following script on the gumstix:
modprobe i2c-dev
modprobe i2c-pxa
insmod /mnt/mmc/char-driver.ko
insmod /mnt/mmc/robostix_drv.ko
/mnt/mmc/uisp --wr_fuse_l=0xbf --wr_fuse_h=0xc2 --wr_fuse_e=0xff
Atmel AVR ATmega128 is found.
Fuse Low Byte set to 0xbf
Fuse High Byte set to 0xc2
Fuse Extended Byte set to 0xff
sleep 2
/mnt/mmc/uisp --erase --upload if=/mnt/mmc/i2c-Boot-m128-16MHz.hex
Atmel AVR ATmega128 is found.
Erasing device ...
Reinitializing device
Atmel AVR ATmega128 is found.
Uploading: flash
sleep 2
/mnt/mmc/i2c-load --reboot 0x0b write /mnt/mmc/i2c-io.hex
ERROR: I2cTransfer: ioctl failed: Remote I/O error (121)
ERROR: I2cReadBlock failed
ERROR: Unable to retrieve boot information from i2c address 0x0b
I have changed any software. Is there any way to recover my robostix?
Any script I can run?
Chris