Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Develpoing project using ARM-DS5

Hi,

I am using Altera Cyclone V. I had planned to develop a project using ARM-DS5 studio.

I had done projects purely for Micro-controller(Not FPGA related). I am new to FPGA related controllers. It will be much helpful if I get some basic guidelines for developing the basic project for Cyclone V SX SoC—5CSXFC6D6F31C6N (SoC) using ARM-DS5 IDE.

I has some queries,,

1. Whether we can develop the C-code like Embedded programming. (i.e for Microcontroller we may add the register definition files and change the registers bits of controller, compile the code and program the code using the flash programmer).

Whether we can do the same for Altera Cyclone V controllers using ARM-DS5.??

2. Please guide me to get the register definition file for "Cyclone V SX SoC—5CSXFC6D6F31C6N (SoC)" and their respective linker files.

3. It will be helpful if I get any sample project(LED blinking or UART transmission) developed using ARM-DS5 studio.

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    1. You can use ethernet to debug your applications on ARM. I advice you to use Linux on top of Arm. Baremetal development is not so easy.

    2. Check HPS Technical Manual

    3. UART = printf on Linux on systems like DE1-SOC, check for your system
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Thanks for your suggestion,

    In manual they had mentioned that we can program the flash memory using quatrus_HPS.exe.

    1. Whether this quatrus_hps.exe program the HPS system.??

    2. The HPS sytem has 2 memory Onchip RAM and BootROM.

    May I know which memory it will program? I thnik that we can't write the BootROM of HPS system.

    So could you please guide what type of memory the HPS.exe will program??
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    agreed that bare metal is not so easy, but at least there is a lot of document and working example to start off, as you also using Cyclone V,

    maybe can refer to some of the work here at http://rocketboards.org/