Re: [beagleboard] Re: Write to EEPROM on BBB?
Am Donnerstag, 7. August 2014 17:00:03 UTC+2 schrieb Gerald: Make sure you remove the write protect that is on the EEPROM Is there any other write-protection than the WP-pin of the chip that has t obe pulled to LOW? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Write to EEPROM on BBB?
No, Make sure you are using 16b data. Gerald On Fri, Aug 8, 2014 at 1:26 AM, karlkarpfe...@gmail.com wrote: Am Donnerstag, 7. August 2014 17:00:03 UTC+2 schrieb Gerald: Make sure you remove the write protect that is on the EEPROM Is there any other write-protection than the WP-pin of the chip that has t obe pulled to LOW? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Write to EEPROM on BBB?
On Thursday, August 7, 2014 5:15:57 PM UTC+6, Karl Karpfen wrote: OK, so that's my current code, based on StarterWare example, writeEEPROM() is called e.g. with addr=4 and length=4 plus some reasonable data: void writeEEPROM(unsigned int addr,unsigned int length,const unsigned char *data) ... Well, here is a BeagleBoard forum. I wish you meet somebody using Starterware here, but more luck should be if asking on e2e.ti.com forums. My suggestion was to look at the i2c diagram (using oscilloscope). This surely helped you understand the case. If you cannot, sorry.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Write to EEPROM on BBB?
Make sure you remove the write protect that is on the EEPROM and that you do not mess with what is there that is needed to make sure the board boots. Gerald On Thu, Aug 7, 2014 at 9:56 AM, serge.ns...@gmail.com wrote: On Thursday, August 7, 2014 5:15:57 PM UTC+6, Karl Karpfen wrote: OK, so that's my current code, based on StarterWare example, writeEEPROM() is called e.g. with addr=4 and length=4 plus some reasonable data: void writeEEPROM(unsigned int addr,unsigned int length,const unsigned char *data) ... Well, here is a BeagleBoard forum. I wish you meet somebody using Starterware here, but more luck should be if asking on e2e.ti.com forums. My suggestion was to look at the i2c diagram (using oscilloscope). This surely helped you understand the case. If you cannot, sorry.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Write to EEPROM on BBB?
Write Protect pin is LOW-Active. This means that by grounding this pin you do memory protection 2014-07-30 9:34 GMT+04:00 serge.ns...@gmail.com: So...anything else that could be missing? Hi, seems nothing is missed. In this case I'd proceed with an oscilloscope: 1) ensure the WP (U7.5) is really Low level. 2) look at the i2c diagram and ensure there is an acnowledge to (page) write operation 3) ensure there is long acnowledge delay on the second page write (otherwise the EEPROM is write protected or some other device responds with the i2c ACK!) You say you use bare metal soft support. Are you sure your i2c diagarm is correct (correct stop condition)? If not, bytes could be read successfully but page write may not begin.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- LinkedIn - http://www.linkedin.com/in/maximpodbereznyy Company - http://www.linkedin.com/company/mentorel Facebook - https://www.facebook.com/mentorel.company -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [beagleboard] Re: Write to EEPROM on BBB?
Am Mittwoch, 30. Juli 2014 11:14:05 UTC+2 schrieb lisarden: Write Protect pin is LOW-Active. This means that by grounding this pin you do memory protection https://www.facebook.com/mentorel.company Sure? EEPROM documentation says, write-protection is disabled when WP-input is pulled to Vss. On BBB, Vss is ground so pulling WP to ground should do the trick. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[beagleboard] Re: Write to EEPROM on BBB?
So...anything else that could be missing? Hi, seems nothing is missed. In this case I'd proceed with an oscilloscope: 1) ensure the WP (U7.5) is really Low level. 2) look at the i2c diagram and ensure there is an acnowledge to (page) write operation 3) ensure there is long acnowledge delay on the second page write (otherwise the EEPROM is write protected or some other device responds with the i2c ACK!) You say you use bare metal soft support. Are you sure your i2c diagarm is correct (correct stop condition)? If not, bytes could be read successfully but page write may not begin.. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.