*** tpb has joined #timvideos | 00:00 | |
*** springermac has quit IRC | 01:34 | |
*** springermac has joined #timvideos | 01:35 | |
*** rohitksingh has quit IRC | 02:48 | |
*** rohitksingh has joined #timvideos | 03:04 | |
*** Bertl is now known as Bertl_zZ | 03:58 | |
*** sb0 has quit IRC | 04:23 | |
CarlFK | mithro: pattern -> encoder q85 -> mplayer shows the "column of dots" that I often see in places I don't expect it | 05:49 |
---|---|---|
*** rohitksingh has quit IRC | 05:52 | |
*** sb0 has joined #timvideos | 06:19 | |
*** se6astian|away is now known as se6astian | 07:50 | |
*** se6astian is now known as se6astian|away | 09:39 | |
*** Bertl_zZ is now known as Bertl | 10:41 | |
*** se6astian|away is now known as se6astian | 10:52 | |
*** se6astian is now known as se6astian|away | 10:55 | |
*** se6astian|away is now known as se6astian | 11:09 | |
*** sb0 has quit IRC | 11:18 | |
*** se6astian is now known as se6astian|away | 11:22 | |
*** se6astian|away is now known as se6astian | 11:25 | |
*** se6astian is now known as se6astian|away | 11:30 | |
mithro | ysionneau: ping? | 11:49 |
ysionneau | mithro: pong! | 11:53 |
mithro | ysionneau: did you see my email? | 11:53 |
ysionneau | yes, thanks for the explanations | 11:53 |
ysionneau | those days I have very few time to work on anything... | 11:54 |
ysionneau | I'm in a pretty bad situation on several regards... | 11:54 |
ysionneau | I've given a bit of thoughts on your point 1°) however | 11:54 |
ysionneau | I can see 2 solutions | 11:54 |
ysionneau | 1°) make the fx2 fw toggle some pin when booting so that the lm32 code can know it has booted and can stop the bootloading process | 11:55 |
ysionneau | 2°) just assume in the lm32 code that when the fx2 has requested the last byte of data, we stop | 11:55 |
mithro | ysionneau: if you can get a moment to reply with some more details on how to replicated your slave set up - I'll give try and see if the third thing works or not | 11:55 |
mithro | ysionneau: one thing I think I also identified was - your code only deals with 8 bit addresses right? | 11:57 |
ysionneau | the I2C addresses ? | 11:58 |
mithro | EEPROM addresses | 11:58 |
ysionneau | for the fx2 loader, it needs to handle 2 bytes addresses, and that's what it does | 11:58 |
ysionneau | since the fw is 16 kB size | 11:58 |
ysionneau | it could'nt have worked with only 1-byte address | 11:58 |
mithro | ysionneau: oh - I must have misread | 11:58 |
ysionneau | np | 11:59 |
mithro | ysionneau: can if you can fit the firmware in 256 bytes :P | 11:59 |
ysionneau | yep, but so far I only tested with big firmwares | 11:59 |
ysionneau | and I think the fx2 will anyway issue 2 bytes addresses | 11:59 |
mithro | ysionneau: it depends on the address of the EEPROM | 11:59 |
mithro | With address 000 it will use 1 byte, with 001 it will use 2 byte | 12:00 |
ysionneau | https://github.com/fallen/i2cslave/blob/shift_register_complex/i2cslave/software/main.c#L39 < that's where I load the 2 bytes address | 12:00 |
tpb | Title: i2cslave/main.c at shift_register_complex · fallen/i2cslave · GitHub (at github.com) | 12:00 |
ysionneau | ah I didn't test with the other eeprom address | 12:00 |
ysionneau | ok | 12:00 |
ysionneau | 12:52 <@mithro> ysionneau: if you can get a moment to reply with some more details on how to replicated your slave set up < the setup I used to validate that my code work ? | 12:01 |
mithro | ysionneau: yeah - you where using the pipstrello connected to the FX2 dev board and an analyzer or something? | 12:02 |
ysionneau | yes exactly | 12:02 |
mithro | ysionneau: how did you write them together? | 12:03 |
mithro | s/write/wire/ | 12:03 |
ysionneau | I used the SCL and SDA pins on the fx2 board | 12:03 |
ysionneau | connected those to https://github.com/fallen/i2cslave/blob/shift_register_complex/i2cslave/platforms/pipistrello_i2c.py#L120 | 12:04 |
tpb | Title: i2cslave/pipistrello_i2c.py at shift_register_complex · fallen/i2cslave · GitHub (at github.com) | 12:04 |
ysionneau | which are C14 and c15 of the pipistrello if I'm not mistaking | 12:04 |
ysionneau | I added some 2k pull-up resistor on a breadboard | 12:05 |
ysionneau | on the sda and scl lines | 12:05 |
ysionneau | and I just boot the pipistrello with the i2cslave design before booting the fx2 | 12:05 |
mithro | you also had a bunch of debugging lines? | 12:06 |
ysionneau | depends on what I was testing for | 12:06 |
ysionneau | but lastly I was just dumping the SDA / SCL lines | 12:06 |
ysionneau | by adding 2 wires on the breadboard and connecting those to the logic analyzer | 12:06 |
ysionneau | also, I didn't want to unsolder the EEPROM chip on the fx2 board, so I removed the jumper which handles eeprom address | 12:07 |
ysionneau | the one with J2 marking | 12:07 |
ysionneau | it's a bit hackish because it makes the eeprom have the same address as the virtual fpga eeprom, but since the onboard eeprom is empty, it will always answer 0xFF which is a loser in I2C protocol | 12:09 |
ysionneau | the best would be to unsolder the eeprom chip to make sure it doesn't say anything | 12:09 |
ysionneau | but I'm not very gifted with soldering, not telling about unsoldering :) | 12:10 |
ysionneau | to check the fx2 was indeed booting the fw, in the fx2 fw I've put some led blinking (or lighting I don't remember) | 12:10 |
ysionneau | you can wire an LED to the PA0 pin of the fx2 board to see if it boots | 12:11 |
ysionneau | an LED or a scope of a logic analyzer etc | 12:11 |
ysionneau | + I obviously connected GND from the two boards (fx2 and pipistrello) together | 12:11 |
mithro | okay | 12:13 |
ysionneau | if you need more info I can send you a mail, but that would be during the week-end I think | 12:15 |
*** Bertl is now known as Bertl_oO | 12:43 | |
*** sb0 has joined #timvideos | 14:34 | |
*** rohitksingh has joined #timvideos | 14:47 | |
*** rohitksingh has quit IRC | 17:00 | |
*** rohitksingh has joined #timvideos | 17:15 | |
*** se6astian|away is now known as se6astian | 20:38 | |
*** se6astian is now known as se6astian|away | 21:46 | |
*** rohitksingh has quit IRC | 23:48 | |
*** rohitksingh has joined #timvideos | 23:53 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!