NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
erhankur has joined #openocd
erhankur has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #openocd
borneoa___ has joined #openocd
erhankur has joined #openocd
erhankur has quit [Ping timeout: 258 seconds]
nerozero has joined #openocd
borneoa___ has quit [Quit: Connection closed for inactivity]
Hawk777 has quit [Quit: Leaving.]
borneoa___ has joined #openocd
Pokey has quit [Quit: Hecc! My server must have died!]
borneoa___ has quit [Quit: Connection closed for inactivity]
borneoa___ has joined #openocd
pedro_a has joined #openocd
<pedro_a> hi , anyone here could give me some tips on how to configure openocd to read and write an epprom using tumpa device (tiao) on swd header for 24c64 chip ? , there no information available on openocd to use this option or even this epprom , thank you
<pedro_a> 1
<PaulFertser> pedro_a: hi
<pedro_a> hi paul
<PaulFertser> pedro_a: what is EEPROM connected to? Just TUMPA alone, no CPUs involved?
<PaulFertser> What's "swd header" then?
<pedro_a> just to umpa
<pedro_a> tumpa
<PaulFertser> pedro_a: ok, so there's no JTAG, no SWD, no microcontrollers, just an I2C EEPROM connected directly to TUMPA and nothing else, right?
<pedro_a> yes
<pedro_a> wait
<pedro_a> look 5.15
<PaulFertser> Yes, I know what TUMPA is.
<pedro_a> i have connected eprom 24c24 using that connection on SWD header
<pedro_a> 24c64 sorry
<PaulFertser> pedro_a: ok, I do not have a ready made solution for you, what I can suggest is using "libftdi" library and writing your own minimal eeprom flashing implementation using that.
<pedro_a> do you mean using ftdi_eeprom tool ?
erhankur has joined #openocd
<PaulFertser> pedro_a: I think that tool is meant for flashing an EEPROM that's connected to certain ftdi pins for ftdi configuration itself, so no.
erhankur has quit [Ping timeout: 240 seconds]
<pedro_a> ok , got it
<pedro_a> i have set this config in my openocd
<pedro_a> adapter driver ftdi
<pedro_a> ftdi vid_pid 0x0403 0x8a98 0x0403 0x6010
<pedro_a> my issue now is set swd communication in config
<pedro_a> added now transport select swd
<pedro_a> got this warning from openocd : SWD mode is active but SWD_EN signal is not defined
<pedro_a> i also added adapter speed to epprom to 100 Khz witch it is according to manufacturer specifications : adapter_khz 100
<pedro_a> now i am lost , the datasheet of this ic is here https://pdf1.alldatasheet.com/datasheet-pdf/view/22897/STMICROELECTRONICS/24C64.html , any tips ? Memory mapping and how adapter will comunicate to chip configurations in openocd are missing , and i have no idea how to set them up :) .
slobodan has joined #openocd
<PaulFertser> pedro_a: why are you talking about SWD?
borneoa___ has quit [Quit: Connection closed for inactivity]
borneoa___ has joined #openocd
<pedro_a> because the specific port where i have the chip connected is called swd .
<PaulFertser> pedro_a: you shouldn't be connecting an i2c eeprom to SWD port, it makes no sense to do that.
<pedro_a> the reason is because this chip uses the same pin for input and output of data , on other times i used openocd the cips or cpus had specific pins for input and output witch was more easier , i also have tried before this swd option this chematic here https://ao2.it/en/blog/2012/09/23/tumpa , where he uses the jtag port and 2 resistors , however he used ftdi_epprom , the only thing i got from this connection was the FT2232 header , so i am lost in with
<pedro_a> this chip
<PaulFertser> pedro_a: reading and writing i2c eeprom has nothing to do with SWD.
<PaulFertser> pedro_a: you're also misreading the blog post. One thing is external eeprom, another is the one that ftdi uses to store configuration.
<PaulFertser> The post says libmpsse with a custom app was used to access external eeprom.
nerozero has quit [Ping timeout: 255 seconds]
<pedro_a> so , do you advice conecting the chip to jtag port using that schematic ?
<PaulFertser> pedro_a: it doesn't matter since you have no software that supports it anyway
<pedro_a> flashcat supports it , sadly my pcb version is the 1.8 and it is only supported after pcb version 2.1 , i will figure it out
<PaulFertser> pedro_a: if you have SWD connector then your tumpa is the newest version.
<PaulFertser> pedro_a: where do you see flashcat supports ftdi for talking to i2c eeprom?
<pedro_a> on their manual
<PaulFertser> Please give a link
<PaulFertser> pedro_a: but flashcat is for some other hardware, not just ftdi board, right?
<pedro_a> yes , it is not the tumpa device i have here , i was trying with this one
<pedro_a> i have here the flashcat 1.8 but it does not work with this eeprom
<PaulFertser> You can use tumpa but apparently you need to write or find an app.
<PaulFertser> Yeah, I'd just use that.
<pedro_a> i will have first to compile a little detail from here https://github.com/devttys0/libmpsse
<PaulFertser> pedro_a: btw, don't you have a raspberrypi?
<pedro_a> :D yeas i have it , but it is not working and i will not dedicate my time over it , it have a power source issue , if this does not work then i will probably order a new flashcat to get over this issue
uuser has joined #openocd
uuser has quit [Quit: Leaving]
erhankur has joined #openocd
erhankur_ has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
<pedro_a> well i give up , libmpsse-dev is so old and was never updated its code that print all errors on compiling , mostly deprecated instructions no longer used , and even if i install it anyway then i get gcc errors when it tries to compile i2ceeprom , i will go to flashcat hardware , more simple and faster
erhankur_ has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Hawk777 has joined #openocd
pedro_a has quit [Quit: Leaving]
Kerr has quit [Quit: Bye.]
erhankur has quit [Remote host closed the connection]
borneoa___ has quit [Quit: Connection closed for inactivity]
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
crabbedhaloablut has quit []
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
pedro_a has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
pedro_a has quit [Quit: Leaving]
slobodan has quit [Ping timeout: 240 seconds]
erhankur_ has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
erhankur_ has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
Steffanx has quit [Ping timeout: 260 seconds]
Steffanx has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
Hawk777 has quit [Quit: Leaving.]