Is it possible to assign a “name” to an I2C address ?
I’ve a lot of I2C components onto my board, and during debug session, rather than see ‘Setup Write to [0x52]’ for instance, i would prefer ‘Setup Write to [EEPROM]’.
A kind of table I2C ADDRESS <=> NAME that we can populated if needed.
Maybe someone has already developped a High-Level Analyzer using I2C protocol ? I can then start from this … Is there any place to look for existing High-Level Analyzer ?
Being behind a firewall in my compagny, i cannot access to the extensions tab … access is denied by the firewall and then no extensions appears.
I installed manually the HLA you mentionned. And i’ve modified it to display the name. It’s OK.
I’ve another question : Sometimes, the I2C Read/Write command is NACKed (this is normal cause the IC is not available at that time). Can i display also the IC Name is such case ?
@jj_bordes , could you send us a sample capture? I don’t think I actually tested the i2c transactions hla with address NAKs, it might not handle them properly.
That describes the frames that the I2C analyzer produces. frame.data["ack"] should be True or False.
If it’s not working, try printing it! Python print() statements in the HLA get printed to the console in the application. You just need to click the console icon next to the protocol analyzer results view to see them.