Author Topic: Bare metal programming of Cortex-R5 with TE0802 ?  (Read 2207 times)

jsm

  • Active Member
  • *
  • Posts: 10
Bare metal programming of Cortex-R5 with TE0802 ?
« on: March 13, 2021, 09:41:28 AM »
Hi all,

I am trying to do bare-metal programming only on the Cortex-R5 of the TE0802, initially I don't want to run anything in the A53 or FPGA. I have just recently started learning how to work with this board, do you have any advice about the simplest toolchain and flashing/debugging environment I could use? Is it possible to use gdb/OpenOCD?

Thanks,
Juan.

JH

  • Administrator
  • Hero Member
  • *****
  • Posts: 2060
Re: Bare metal programming of Cortex-R5 with TE0802 ?
« Reply #1 on: March 18, 2021, 06:55:59 AM »
Hi,
Hello World with R5 should be similar like Hello World with A53, select other core on your Vitis setup. Debugging with together with U+ Zynq is not the easiest way, I would more recommend to create Boot.bin and boot design from SD.

Quote
Is it possible to use gdb/OpenOCD?
Sorry I haven't any experience with this open Source software

br
John

jsm

  • Active Member
  • *
  • Posts: 10
Re: Bare metal programming of Cortex-R5 with TE0802 ?
« Reply #2 on: March 18, 2021, 02:02:20 PM »
Thanks, I am now installing Vitis, I will see how it goes.