Cyclone V - Bare Metal OpenOCD

Hey guys!

Anyone could make OpenOCD work to debbug bare-metal applications? I was searching through the internet and only found people complaining about some issues, but not a tutorial of how to configure OpenOCD to make it work. Thank you!