Questions tagged [soc]

SoC stands for System on a Chip and is an integrated circuit (a.k.a "chip") that integrates all components of a computer or other electronic systems. Use the tag only with questions related to programming.

SoC stands for System on a Chip and is an integrated circuit (a.k.a "chip") that integrates all components of a computer or other electronic systems. SoCs are very common in the mobile computing market.

Its typical usage is in the area of embedded systems. In contrast to microcontrollers, SoC integrates a microcontroller with advanced peripherals like graphics processing unit (GPU), Wi-Fi module, or coprocessor.

Use the tag only with questions related to programming.

108 questions
2
votes
1 answer

How to achieve separation of concerns without using any framework but Tomcat + Servlets?

I have a code that works fine. The important parts are as follows: My model class: package biz.tugay.sakila.model; /* User: koray@tugay.biz Date: 25/06/15 Time: 12:48 */ public class Actor { private long id; private String firstName; …
Koray Tugay
  • 22,894
  • 45
  • 188
  • 319
2
votes
0 answers

BeagleBone balck GPIO as a data bus

I want to connect a 16 bit fifo chip to the BeagleBone black GPIO pins. The GPIO needs to be configured as input only, output is not needed except to configure one GPIO as a Read clock to the fifo. This can be bit banged to produce the read clock. I…
2
votes
1 answer

Another discussion on when a specific DTO class is required

I am working on a large project which, in part, is to replace an existing server stack. With a large, very normalized database, it was clear that we would need to construct many composite objects. An example of one of my queries is such: My…
SASS_Shooter
  • 2,186
  • 19
  • 30
1
vote
1 answer

To configure pin define in a SoC, what's different between doing it in U-Boot and Linux Device Tree?

As my knowledge about the booting flow of a (embedded) Linux platform, there's a bootloader (e.g. U-Boot) running on the CPU first, then load the Linux kernel into memory. While both U-Boot and Linux kernel can configure pin-define (or pin-mux),…
Qiao
  • 452
  • 5
  • 15
1
vote
0 answers

Free() a safe-copied string array crashes?

I am trying to run the following C program on an SoC platform (baremetal application). I have a couple of string arrays, defined as char *init_array[] = { "foo", "bar bar" } I know this works as an array of char arrays : *init_array[0] returns the…
Snoops
  • 11
  • 2
1
vote
0 answers

Trying to detect GPIO pin rise and falls using .Net Core 5 on Orange Pi Zero. Pin rise sometimes only detected together with Pin fall

I am trying to detect a change in a GPIO pin of an Orange Pi Zero (basically the same as the Raspberry Pi). it is running Armbian Buster (i.e. Debian 10) I created a simple .Net Core 5 console app, using .Net's builtin System.Device.Gpio library, to…
Fabricio Rodriguez
  • 3,769
  • 11
  • 48
  • 101
1
vote
0 answers

Cannot read/write interval timer register DE1-SoC HPS

I have a DE1-SoC (Cyclone V) board where I am trying to get timer interrupts to work on the HPS. I found an example in the Intel FPGA University Program called "interrupt_example", and when I run it on the Intel FPGA Universioty Program, it runs…
Roy Meijer
  • 13
  • 3
1
vote
1 answer

sysfs_create_group() not deleting attributes

I am trying to write a driver for a DMA device in the FPGA portion of my SoC (Zynq 7000). By calling sysfs_create_group in my probe() function, I am able to create an attribute for each of my devices. That attribute is created in…
agave1987
  • 33
  • 3
1
vote
1 answer

How to drive the DDS Compiler IP core from Xilinx

I completed Anton Potočniks' introductory guide to the red pitaya board and I am now able to send commands from the linux machine running on the SoC to its FPGA logic. I would like to further modify the project so that I can control the phase of the…
1
vote
1 answer

Booting from SRAM

I was reading the specification of the microcontroller. In Booting, they mentioned three option. 1.Main Flash memory 2.System Memory 3.Embedded SRAM Memory. First two memory is non-volatile memory, so you put…
user12844397
1
vote
0 answers

Encoding / decoding performance estimation question of HDVICP2 of TI DM385

I am estimating the encoding and decoding performance of HDVICP2 of TI DM385. The SOC is very very old so FAEs just ignored me. My question is: How to calculate encoding / decoding performance of HDVICP2 encoder / decoder correctly? For…
Bruce Hsu
  • 43
  • 6
1
vote
0 answers

Error (10558): VHDL error at keypad.vhd(53): cannot associate formal port "code" of mode "out" with an expression

Error (10482): VHDL error at keypad.vhd(53): object "code" is used but not declared Error (10558): VHDL error at keypad.vhd(53): cannot associate formal port "code" of mode "out" with an expression First of all, I'm sorry for my bad English.() I…
김정우
  • 23
  • 4
1
vote
1 answer

How to share memory (of SDRAM) between HPS and FPGA in Cyclone-V?

I want to share memory between HPS and FPGA in Cyclone-V. I instantiated "sdram_slave" interface in Qsys(Platform Designer) with avalon master and everything.I want to send the base_address of memory in SDRAM from HPS to FPGA, so that FPGA can read…
Ram Chandra
  • 41
  • 1
  • 6
1
vote
1 answer

How do I increase the Heap Size for FreeRTOS in Zynq702 SoC?

I am using Zynq 702 SoC. It has 2 CPU's. CPU0 is loaded with Petalinux and Cpu1 with FreeRtos and my FreeRtos current heap Size is 6MB. The actual size of the RAM is 1GB, in this 512MB being set in the Petalinux Kernel and rest is not used and want…
1
vote
0 answers

SD_CARD formatting to ext4

I have been working on gaming application. I am trying to load the image on flash memory of board. For this i am using sdcard and from sdcard i am writing the image into flash memory of board. Before writing into flash the sdcard format is FAT. But…
Srinath
  • 11
  • 2