Questions tagged as 'arm'

6
answers

Programming in C for ARM

I will start a project in C that will have as a% of a board Colibri T20 processor with NVIDIA Tegra 2 ARM , running a lightweight version of Linux. I would like to know if, in addition to having to use a processor-compatible cross compiler...
asked by 20.12.2013 / 18:54
1
answer

Mathematical operations on ARM-M4 lock when PWM interrupt is on

When I turn off the timer overflow interruption of PWM (+ - 15Khz) operations occur normally. But when it's turned on the processor gets lost in floating-point operations. I follow the debug in step mode but at some point the debug does n...
asked by 08.04.2014 / 20:48
1
answer

Atomic operations in ARM without Visual Studio

When programming in C / C ++ on the x86 and x86-64 (AMD64) architecture and using the Microsoft compiler that comes with Visual Studio, there are two intrinsic functions to perform atomic operations, _InterlockedCompareExchange32 and _I...
asked by 20.06.2014 / 17:31
1
answer

multiple commands with python subprocess

I'm developing a system (college work) that consists of a website for the use of a particular board. The problem is that to run the code on the card, I need to execute a lot of commands. Currently my code looks like this: def run(): com...
asked by 04.07.2018 / 20:46
1
answer

When programming an ARM microcontroller is it possible to change its clock after running SystemInit ()?

I resumed my studies on ARM this month, and a question that has been bothering me for some time and I have not yet gotten the test in my testing environment is whether I can change the Clock("SystemCoreClock") of my microcontroller even...
asked by 18.06.2015 / 05:25
1
answer

Error while running project: Can not set up guest memory 'android_arm': Invalid argument

I am not able to run my application, first leave a memory error corrects not to exceed the maximum in MB. Now, I get this error that I did not understand, saying that the arm is invalid . How do you get rid of this problem? Failed to creat...
asked by 17.01.2015 / 21:12
0
answers

can not load IA 32-bit .so on ARM-bit platform

I have a jni .so library to run on a Raspberry PI, but the architectures are not compatible. How can I make it roll? I have all the sources. EDIT: I was able to compile the library through the RPi, but now it does not recognize the methods. I...
asked by 14.03.2017 / 14:07
1
answer

Recorder LR with zero value in IRQ Interruption handler

Interrupt vector configuration: interruption vector: b RESET_HANDLER .org 0x08 b SVC_HANDLER .org 0x18 b IRQ_HANDLER In the first line of the IRQ_HANDLER routine, the value of register LR (seen...
asked by 20.12.2014 / 03:38
0
answers

Error printing string in ARM Assembly

Hello I'm doing a job at ARM Assembly using the Unicamp simulator and I have a problem. I need to make a simple list with the Insert, Remove, and Print options. I am able to insert items (name and price of a product), however I am doing tests fo...
asked by 17.06.2018 / 01:20
0
answers

Handling of strings communicating with cortex arm M3 and M4

The following code is supposed to add a "CD" string to another "AB" but it does not seem to be expected. func_3 ;void *memcpy(void *dest, const void *src size_t n) <code> ALIGN func3_string1 DCB "AB",0x00...
asked by 06.06.2018 / 16:53