jancoow has quit [Quit: Ping timeout (120 seconds)]
jancoow has joined #openocd
slobodan__ is now known as slobodan
MGF_Fabio has quit [Ping timeout: 252 seconds]
Haohmaru has quit [Quit: saionara]
nerozero has quit [Ping timeout: 252 seconds]
<soundfox1>
Hello, I was wondering if could get help again on my project? I am trying to flash a Xilinx Zynq-7000 chip using a raspberry pi. I am using the command 'sudo openocd -f interface/raspberrypi-native.cfg -f target/zynq_7000.cfg -c "program binFiles/file_name.bin verify reset exit 0x0"', where 0x0 is the memory location I want to flash the binary file to. According to the output the gbd server for zynq.cpu0 started on port 3333 so I believe the jtag
<soundfox1>
connection is correct. The issue is that I get the error "Error: zynq.cpu0: how to reset? **Unable to reset target** shutdown command invoked" and had trouble find resources to resolve that issue
<PaulFertser>
soundfox1: hi again
<soundfox1>
hello, nice to see you again
<PaulFertser>
soundfox1: that program command is only appropriate for flashing target flash memory of an MCU or similar.
<soundfox1>
I got more information about the chip I was using like you suggested thank you
<PaulFertser>
soundfox1: what are you trying to do exactly, what is that binary for?
<PaulFertser>
Is there some flash memory for CPU codes connected to Zynq ?
<soundfox1>
Oh I see my mistake. I am trying to load a .bin file for a FPGA using openocd and a raspberry pi
<soundfox1>
I am not sure, do you know how I would check that?
<PaulFertser>
What's bin file?
<soundfox1>
oh the file ends in .bin so I figured it was a binary file
<PaulFertser>
Is it supposed to configure the logic?
<PaulFertser>
What is it supposed to do?
<soundfox1>
Yeah that is correct
<PaulFertser>
Hm, how was it generated? It looks unusual to have FPGA configuration named with .bin at the end.
<soundfox1>
Honestly I am not sure, I am working with some other people and they just asked me to put the .bin file on the fpga using openocd. My bad on the lack of info kinda figuring this out as I go along
<PaulFertser>
Does this FPGA use external memory? Is it a dump bit-for-bit for that memory?
<soundfox1>
I actually don't know the memory aspects of the FPGA. I can ask but I probably won't know for a bit on the hardware configuration of it.
<PaulFertser>
soundfox1: why is it a bin file anyway? Usually people do not use raw FPGA configuration flash dumps.
<PaulFertser>
soundfox1: why don't you get people who understand what they're asking for come here?
<soundfox1>
I am not sure why it is a bin file that is just what was given to me. Also the other people are busy doing other things and I had some free time so they asked me to look into this for them.
<PaulFertser>
WTF
<soundfox1>
Thanks for the help anyways, I was able to gain more areas to look into hopefully I'll be able to figure something out, honestly I probably just missed something simple
<PaulFertser>
Zynq-7000 is a damn complex beast, with hard CPU cores and plenty of logic fabric. And one just doesn't give a "bin" file for it without any clarifications whatsoever.
<soundfox1>
Oh yeah honestly it's kinda overwhelming since I don't really work on hardware either. Yet, I am learning alot about openocd and FPGAs so that is a positive.
slobodan_ has joined #openocd
<PaulFertser>
So far you connected with RPi to a hard CPU core and can probably halt it, manipulate its registers, access its memory bus etc.
<PaulFertser>
Regular on chip debug stuff.
<soundfox1>
Oh I see so I didn't actually set it up to be flashed?
slobodan has quit [Ping timeout: 268 seconds]
<PaulFertser>
soundfox1: I have no idea, people usually do not "flash FPGAs" with "bin" files.
<soundfox1>
Oh I see I must be lacking some context around this. Thank you for taking the time to answer my questions. I will try reaching out to the other people in the project since it seems like an issue beyond not know how to use openocd.
<PaulFertser>
Yep
<PaulFertser>
I know plenty things about OpenOCD but can't understand the task.
HelloShitty has quit [Ping timeout: 240 seconds]
HelloShitty has joined #openocd
shibboleth has joined #openocd
shibboleth has quit [Quit: shibboleth]
slobodan_ has quit [Remote host closed the connection]
slobodan has joined #openocd
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
slobodan_ has joined #openocd
slobodan has quit [Read error: Connection reset by peer]