Questions tagged [arm7]

ARM7 is an older generation of ARM processor designs.

This generation introduced the Thumb 16-bit instruction set providing improved code density.

The ARM7 family is the world’s most widely used 32-bit embedded processor family, with more than 170 silicon licensees and over 10 Billion units shipped since its introduction in 1994.

More information at Wikipedia page of ARM7

93 questions
25
votes
6 answers

Apple Mach-O Linker Errors (20) - Undefined symbols for architecture armv7

I received these errors after I added " -all_load " in the "Other Linker Flags" build setting once I added "libPusher-combined.a" and its header files. I followed the instructions exactly up to the part of typing in "-all_load" (under "Using a…
chrisjr
  • 760
  • 3
  • 11
  • 18
16
votes
1 answer

Not allowing to use Constant defined in Objective C header file in swift class. Undefined symbols for architecture armv7

I created Objective C Header file. and added some properties in it. i declared static NSString* const kColor005C98 = @"005C98"; in Constants.h file I defined this file in Bridging-Header file as #import "Constants.h" Now when i want to use this…
waseemwk
  • 1,499
  • 3
  • 15
  • 44
14
votes
5 answers

Keil vs GCC for ARM7?

How does Keil compare to GCC for ARM7 development? I'm in the process of choosing hw consultants for a medium size project and some use keil and some use gcc. I'd like to know the gotchas involved in going with either option...
c0m4
  • 4,343
  • 10
  • 35
  • 40
11
votes
2 answers

Could not determine GDB version after sending: arm-none-eabi-gdb --version, response:

I'm trying to debug a project on Kinetis Design Studio with GDB PEMicro Interface Debugging but I get this error: 'Launching myProject' has encountered a problem. Could not determine GDB version after sending: arm-none-eabi-gdb --version,…
Jeff Pal
  • 1,519
  • 1
  • 17
  • 28
7
votes
5 answers

What is non-aligned access? (ARM/Keil)

I'm using Keil to write Assembly for ARM 7. I have the following runtime error: Non-aligned Access: ARM Instruction at 000000F8H, Memory Access at 7F7F7F7FH Data Abort: ARM Instruction at 000000F8H, Memory Access at 7F7F7F7FH This doesn't really…
OJFord
  • 10,522
  • 8
  • 64
  • 98
6
votes
2 answers

error: #29: expected an expression in C

my code contains #define READ_TAMPER_PIN() {((FIO2PIN & PIN_TAMPER) >> 12) ;} where PIN_TAMPER is again a macro- #define PIN_TAMPER 0x00001000; in one of the header file, and it is called in main() like x = READ_TAMPER_PIN(); it gives an…
YMJ
  • 154
  • 1
  • 2
  • 7
6
votes
4 answers

Efficient floating point comparison (Cortex-A8)

There is a big (~100 000) array of floating point variables, and there is a threshold (also floating point). The problem is that I have to compare each one variable from the array with a threshold, but NEON flags transfer takes a really long time…
Alex
  • 9,891
  • 11
  • 53
  • 87
5
votes
5 answers

"Expected a statement" error in embedded C

I'm getting error like "expected an statement" my code is as follows #define IN_Tamper 0X00001000 /*P2.12 = EINT2*/ #define DIR_IN_Tamper { FIO2DIR &= ~0X00001000 ; } /* main */ DIR_IN_Tamper(); if(((IN_Tamper >> 12) & 0x01) == 1) …
YMJ
  • 154
  • 1
  • 2
  • 7
3
votes
1 answer

arm7tdmi IRQ and FIQ priority

Hello I am currently working with a AT91SAM7X256 running on "bare metal". I have thoroughly read the datasheet as well as the architecture manual, with that in mind I came away with the conclusion that FIQ is higher priority than IRQs therefore FIQs…
maguirre
  • 399
  • 4
  • 20
3
votes
1 answer

Floating point status transfer on ARM7 Cortex A8

There is a comparison: if( val0 > val1 ) where val0 and val1 are double variables. The code generated by the Apple LLVM compiler is +0x184 vcmpe.f64 d17, d16 +0x188 vmrs APSR_nzcv, fpscr <-- FP…
Alex
  • 9,891
  • 11
  • 53
  • 87
3
votes
2 answers

How to right rotate a 64-bit value efficiently in ARM7 assembler?

The ARM7-command set offers efficient ways to right rotate 32-bit values by an arbitrary amount in assembler. For the 2nd operand of an operation it is even "for free" by specifying ror #n as shifter operand, but for 64-bit integers no direct…
Whoever
  • 33
  • 1
  • 7
3
votes
1 answer

Why does ARM have 64KB Large Pages?

The ARM720T user manual mentions small and large pages. Since the ARM 720T requires a 64KB page table entry to be duplicated 16 times in the page table, why not place 16 small page (4KB) entries to mimic a 64KB page entry instead of using a large…
3
votes
1 answer

Error: ld: warning: ignoring file libfile01.a, file was built for archive which is not the architecture being linked (armv7): libfile01.a

I'm trying to compile a project developed in C language for iOS devices. It uses custom library file, libcurl, libcrypto, libssl and libpthread. I have successfully compiled it for Mac OS X, but having issues compiling it for iOS. Also, any help I…
satinder
  • 173
  • 3
  • 16
2
votes
2 answers

facebook ios sdk build fails on device, works on simulator

I am trying to build an app (with ARC) that uses the facebook_ios_sdk (the latest version on github). As recommended by Facebook, I used the build script to create a static library and then added it to the project. Now when I build the project for…
Devang
  • 1,531
  • 3
  • 22
  • 38
2
votes
2 answers

Trying to understand an assembly line of ARM7

I have this assembly line : 01000AD8: 979FF103 LDRLS PC,[PC,R3,LSL #2] With PC = 0x01000AD8 R3 = 0x00000008 CDPS = 800000D3 (so C=0, Z=0) When I execute this line, the new value for PC should be(if I understand LDRLS correctly*) PC =…
Martin Allard
  • 283
  • 1
  • 7
  • 16
1
2 3 4 5 6 7