Questions tagged [greenhills]

Green Hills Software is a company which makes tools and operating systems for embedded platforms.

Green Hills Software is a company which makes tools and operating systems for embedded platforms. Their flagship products include:

  • the Multi compiler/debugger suite
  • the Integrity real-time OS
  • the µ-velOSity real-time microkernel
  • hardware debugging probes
62 questions
0
votes
1 answer

MULTI debugger off by one breakpoint

Has anyone ever seen Multi debugger get the line number wrong or have a breakpoint hit off by one? I've got a MULTI script (scripty.rc) that goes through a process that depends upon hitting a breakpoint at the end of this program. The program…
Philip
  • 1,539
  • 14
  • 23
0
votes
0 answers

How to delete debug symbols in static libs

I have four libraries that I wrote in C. Now I want to share these libraries (static libs for example, libA.a) with a software developer who will use them to generate a "final" executable. My question is, how can I delete the debug symbols so that…
SDE
  • 129
  • 1
  • 7
0
votes
3 answers

For LOOP throw away by Compiler optimization

I was doing an experiment to measure the execution time of ''for loop'' on microcotroller. This ''for loop'' contain some integer and pointer operation. Case 1: when I set compiler optimizaion flag to '' none'' (no optimization) there is assembly…
0
votes
2 answers

The compiler takes the padding bytes of a structure into consideration while reading it

My code has a structure type-defined as follows: typedef struct { Structure_2 a[4]; UCHAR b; UCHAR c; }Structure_1; where the definition of Structure_2 is as follows: typedef struct { ULONG x; USHORT y; UCHAR …
Armia Wagdy
  • 567
  • 6
  • 22
0
votes
2 answers

GHS C++: extra semicolon diagnostic message - purpose?

In the GHS compiler, if you have multiple semicolons in a row without any intervening statements, this generates a diagnostic message (warning). For example: void myfunc() { }; // warning #381-D: extra ';' ignored. This doesn't seem like a very…
MuertoExcobito
  • 9,741
  • 2
  • 37
  • 78
0
votes
3 answers

How to test inside a for loop (unit testing)

I'm using VectorCAST for unit testing, with Green Hills compiler and Renesas v850e2v3 microcontroller, and VectorCAST indicates that I have two branches to test in the following for loop. typedef enum { MIN_ENUM_VAL = 0x00, ENUM_VAL_1 =…
Helbirah
  • 61
  • 9
0
votes
1 answer

GHS INTEGRITY delay between uboot bootelf and the target beginning execution?

When running an INTEGRITY 178 ARINC/APEX image on a PPC SBC, using uboot console we load the program with tftpboot and initiate execution with bootelf. (We actually enter an extra RETURN after the bootelf command so that the INTEGRITY copyright…
0
votes
1 answer

Using CppUnit with Integrity

I am not a C++ guy- but I have been assigned to evaluate some testing tools for it. As an organization, we use C++ compiled with GHS Multi for Integrity. We have an existing in-house set of testing tools that we have been using. We are now…
Paul Becotte
  • 9,767
  • 3
  • 34
  • 42
0
votes
1 answer

Phantom Input When Running Green Hills Debugger

I'm running on a Marvell Monahans PXA320 under Green Hills INTEGRITY 5.0.10. I'm using MULTI 4.2.3 for development. I'm using an RTSERV connection for debugging, I've been asked to take over a menu-driven program. I've noticed that if I halt the…
Dave
  • 1,519
  • 2
  • 18
  • 39
0
votes
3 answers

Heap / C++ Standard Library use Under Green Hills INTEGRITY

I'm running under Green Hills INTEGRITY 5.0.10 targeting a Marvell Monahans PXA 320. For development, I'm using MULTI 4.2.3 and my language of choice is C++. I'm just learning about INTEGRITY memory management and am wondering about use of dynamic…
Dave
  • 1,519
  • 2
  • 18
  • 39
0
votes
2 answers

compiling gcc code with greenhills

I am new person in this area. I am working on a project with other person but I got a problem what I don't know how to do. I and the other person have different compiler, I got a greenhills for freescale MPC and the other got a freescale MPC…
user1808808
  • 33
  • 1
  • 5
0
votes
1 answer

How to use global variable in Inline Assembly in Greenhills Compiler?

I want to use a global variable in inline assembly. asm(" LDR R0,g_TsInitStackPointerAddress"); Here g_TsInitStackPointerAddress is a global variable. While compiling its not showing any error . But while linking it shows the following…
suraj
  • 283
  • 3
  • 5
  • 13
-1
votes
2 answers

Flashing target with GHS probe using command line

We're using Greenhills Multi IDE and Greenhills Debug Probe to program and debug our target system (a Coldfire based, bare metal system). Currently I flash the target using the IDE debugger GUI, but I would prefer to use a command line interface to…
Bjorn Rudolfsson
  • 99
  • 1
  • 1
  • 10
-1
votes
1 answer

Greenhills programming target through command line only

Hi I was wondering if greenhills provided any kind of utility to allow for downloading a .elf to a target through a ghs probe through the command line only.
-1
votes
2 answers

(error) unresolved symbols when build C++ application for ARM using Green Hills toolchain

I cross compile an application for target device using ARM arch using Green Hills toolchain (the device will run INTEGRITY OS) but it fail with some error like that __vec_new from ... __vec_delete from ... I don't understand what it means and how…
TuanPM
  • 685
  • 8
  • 29