Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

Linux/TDA2PXEVM: TDA2PXEVM

$
0
0

Part Number:TDA2PXEVM

Tool/software: Linux

Hi,

The usecase is below.

I'd like to check the disparity map working well or not using still images which is right and left view image.

NullSrc(A15) ->  Alg_Census(EVE) -> Alg_DisparityHamDist(EVE) ->  Alg_StereoPostProcess(DSP) -> Display_Disparity(IPU)

The NullSrc is 2 channels, right and left image.

Is this usecase possible?

Regards,

Heechang


IWR1443: Decoupling capacitors

$
0
0

Part Number:IWR1443

My customer started their board design based on IWR1443BOOST.

Customer found there are some mismatches in decoupling capacitor values between IWR1443BOOST and HardwareDesignChecklist(SWRR150).
Which ones are right values?

Thanks and regards,
KoT

ADS8330: ADS8330 in Manual Mode

$
0
0

Part Number:ADS8330

I use FPGA to control the ADS8330  with the mannual mode, when I power off the ADS8330 and power on again, the chip is frozen, but the FPGA is always powered on.  Please help me, thank you!

TPS65983B: usb2.0

$
0
0

Part Number:TPS65983B

Hi Sir 

As I know TPS65983B tool have new version 3.19 

May I know have any register can be program for below USB2.0 Mux 

Or Mux default is fixed for C_USB_TP to USB_RP_P

UCC28881: tida-01097 and sub-1g chip issue

$
0
0

Part Number:UCC28881

TI tida-01097 single firewire communication chip is bluetooth, is it feasible to use sub-1g chip si4432 (sending data working current in 35ma/10ms)?

Is there a good suggestion that a capacitor be added before LDO?

How to select capacitance?

Thankyou very much.

TMS320F28335: PPM Decoding using Ecap

$
0
0

Part Number:TMS320F28335

Hello ,

           I am using TMS320F28335 evaluation board and I was hoping to decode the PPM signals using the ecap where it could give me the high time of the signal. I tried the example program of ecap_capture with PWM, it wasn't working. I am not sure why? I connected GPIO0 to GPIO34 as mentioned in the comments. If there is any alternate way to do this, please let me know. Also, do check the code i'm pasting below. it is the same example program but it wouldn't work. Also, you could suggest me if there is any hardware connections that has to be made apart from the GPIO pins.

// TI File $Revision: /main/8 $
// Checkin $Date: April 21, 2008 15:41:29 $
//###########################################################################
//
// FILE: Example_2833xECap_Capture_Pwm.c
//
// TITLE: Capture EPWM3.
//
// ASSUMPTIONS:
//
// This program requires the DSP2833x header files.
//
// Make the following external connection:
// EPWM3 on GPIO4 should be connected to ECAP1 on GPIO24.
//
// As supplied, this project is configured for "boot to SARAM"
// operation. The 2833x Boot Mode table is shown below.
// For information on configuring the boot mode of an eZdsp,
// please refer to the documentation included with the eZdsp,
//
// $Boot_Table:
//
// GPIO87 GPIO86 GPIO85 GPIO84
// XA15 XA14 XA13 XA12
// PU PU PU PU
// ==========================================
// 1 1 1 1 Jump to Flash
// 1 1 1 0 SCI-A boot
// 1 1 0 1 SPI-A boot
// 1 1 0 0 I2C-A boot
// 1 0 1 1 eCAN-A boot
// 1 0 1 0 McBSP-A boot
// 1 0 0 1 Jump to XINTF x16
// 1 0 0 0 Jump to XINTF x32
// 0 1 1 1 Jump to OTP
// 0 1 1 0 Parallel GPIO I/O boot
// 0 1 0 1 Parallel XINTF boot
// 0 1 0 0 Jump to SARAM <- "boot to SARAM"
// 0 0 1 1 Branch to check boot mode
// 0 0 1 0 Boot to flash, bypass ADC cal
// 0 0 0 1 Boot to SARAM, bypass ADC cal
// 0 0 0 0 Boot to SCI-A, bypass ADC cal
// Boot_Table_End$
//
// DESCRIPTION:
//
// This example configures ePWM3A for:
// - Up count
// - Period starts at 2 and goes up to 1000
// - Toggle output on PRD
//
// eCAP1 is configured to capture the time between rising
// and falling edge of the PWM3A output.
//
//###########################################################################
// $TI Release: DSP2833x/DSP2823x Header Files V1.20 $
// $Release Date: August 1, 2008 $
//###########################################################################

#include "DSP28x_Project.h" // Device Headerfile and Examples Include File


// Configure the start/end period for the timer
#define PWM3_TIMER_MIN 10
#define PWM3_TIMER_MAX 8000

// Prototype statements for functions found within this file.
interrupt void ecap1_isr(void);
void InitECapture(void);
void InitEPwmTimer(void);
void Fail(void);

// Global variables used in this example
Uint32 ECap1IntCount;
Uint32 ECap1PassCount;
Uint32 EPwm3TimerDirection;

// To keep track of which way the timer value is moving
#define EPWM_TIMER_UP 1
#define EPWM_TIMER_DOWN 0

void main(void)
{

// Step 1. Initialize System Control:
// PLL, WatchDog, enable Peripheral Clocks
// This example function is found in the DSP2833x_SysCtrl.c file.
InitSysCtrl();

// Step 2. Initalize GPIO:
// This example function is found in the DSP2833x_Gpio.c file and
// illustrates how to set the GPIO to it's default state.
// InitGpio(); // Skipped for this example

InitEPwm3Gpio();
InitECap1Gpio();

// Step 3. Clear all interrupts and initialize PIE vector table:
// Disable CPU interrupts
DINT;

// Initialize the PIE control registers to their default state.
// The default state is all PIE interrupts disabled and flags
// are cleared.
// This function is found in the DSP2833x_PieCtrl.c file.
InitPieCtrl();

// Disable CPU interrupts and clear all CPU interrupt flags:
IER = 0x0000;
IFR = 0x0000;

// Initialize the PIE vector table with pointers to the shell Interrupt
// Service Routines (ISR).
// This will populate the entire table, even if the interrupt
// is not used in this example. This is useful for debug purposes.
// The shell ISR routines are found in DSP2833x_DefaultIsr.c.
// This function is found in DSP2833x_PieVect.c.
InitPieVectTable();

// Interrupts that are used in this example are re-mapped to
// ISR functions found within this file.
EALLOW; // This is needed to write to EALLOW protected registers
PieVectTable.ECAP1_INT = &ecap1_isr;
EDIS; // This is needed to disable write to EALLOW protected registers

// Step 4. Initialize all the Device Peripherals:
// This function is found in DSP2833x_InitPeripherals.c
// InitPeripherals(); // Not required for this example
InitEPwmTimer(); // For this example, only initialize the ePWM Timers
InitECapture();


// Step 5. User specific code, enable interrupts:

// Initalize counters:
ECap1IntCount = 0;
ECap1PassCount = 0;

// Enable CPU INT4 which is connected to ECAP1-4 INT:
IER |= M_INT4;

// Enable eCAP INTn in the PIE: Group 3 interrupt 1-6
PieCtrlRegs.PIEIER4.bit.INTx1 = 1;

// Enable global Interrupts and higher priority real-time debug events:
EINT; // Enable Global interrupt INTM
ERTM; // Enable Global realtime interrupt DBGM

// Step 6. IDLE loop. Just sit and loop forever (optional):
for(;;)
{
asm(" NOP");
}

}


void InitEPwmTimer()
{

EALLOW;
SysCtrlRegs.PCLKCR0.bit.TBCLKSYNC = 0;
EDIS;

EPwm3Regs.TBCTL.bit.CTRMODE = TB_COUNT_UP; // Count up
EPwm3Regs.TBPRD = PWM3_TIMER_MIN;
EPwm3Regs.TBPHS.all = 0x00000000;
EPwm3Regs.AQCTLA.bit.PRD = AQ_TOGGLE; // Toggle on PRD

// TBCLK = SYSCLKOUT
EPwm3Regs.TBCTL.bit.HSPCLKDIV = 1;
EPwm3Regs.TBCTL.bit.CLKDIV = 0;


EPwm3TimerDirection = EPWM_TIMER_UP;

EALLOW;
SysCtrlRegs.PCLKCR0.bit.TBCLKSYNC = 1;
EDIS;

}

void InitECapture()
{
ECap1Regs.ECEINT.all = 0x0000; // Disable all capture interrupts
ECap1Regs.ECCLR.all = 0xFFFF; // Clear all CAP interrupt flags
ECap1Regs.ECCTL1.bit.CAPLDEN = 0; // Disable CAP1-CAP4 register loads
ECap1Regs.ECCTL2.bit.TSCTRSTOP = 0; // Make sure the counter is stopped

// Configure peripheral registers
ECap1Regs.ECCTL2.bit.CONT_ONESHT = 1; // One-shot
ECap1Regs.ECCTL2.bit.STOP_WRAP = 3; // Stop at 4 events
ECap1Regs.ECCTL1.bit.CAP1POL = 1; // Falling edge
ECap1Regs.ECCTL1.bit.CAP2POL = 0; // Rising edge
ECap1Regs.ECCTL1.bit.CAP3POL = 1; // Falling edge
ECap1Regs.ECCTL1.bit.CAP4POL = 0; // Rising edge
ECap1Regs.ECCTL1.bit.CTRRST1 = 1; // Difference operation
ECap1Regs.ECCTL1.bit.CTRRST2 = 1; // Difference operation
ECap1Regs.ECCTL1.bit.CTRRST3 = 1; // Difference operation
ECap1Regs.ECCTL1.bit.CTRRST4 = 1; // Difference operation
ECap1Regs.ECCTL2.bit.SYNCI_EN = 1; // Enable sync in
ECap1Regs.ECCTL2.bit.SYNCO_SEL = 0; // Pass through
ECap1Regs.ECCTL1.bit.CAPLDEN = 1; // Enable capture units


ECap1Regs.ECCTL2.bit.TSCTRSTOP = 1; // Start Counter
ECap1Regs.ECCTL2.bit.REARM = 1; // arm one-shot
ECap1Regs.ECCTL1.bit.CAPLDEN = 1; // Enable CAP1-CAP4 register loads
ECap1Regs.ECEINT.bit.CEVT4 = 1; // 4 events = interrupt

}

interrupt void ecap1_isr(void)
{

// Cap input is syc'ed to SYSCLKOUT so there may be
// a +/- 1 cycle variation

if(ECap1Regs.CAP2 > EPwm3Regs.TBPRD*2+1 || ECap1Regs.CAP2 < EPwm3Regs.TBPRD*2-1)
{
Fail();
}

if(ECap1Regs.CAP3 > EPwm3Regs.TBPRD*2+1 || ECap1Regs.CAP3 < EPwm3Regs.TBPRD*2-1)
{
Fail();
}

if(ECap1Regs.CAP4 > EPwm3Regs.TBPRD*2+1 || ECap1Regs.CAP4 < EPwm3Regs.TBPRD*2-1)
{
Fail();
}


ECap1IntCount++;

if(EPwm3TimerDirection == EPWM_TIMER_UP)
{
if(EPwm3Regs.TBPRD < PWM3_TIMER_MAX)
{
EPwm3Regs.TBPRD++;
}
else
{
EPwm3TimerDirection = EPWM_TIMER_DOWN;
EPwm3Regs.TBPRD--;
}
}
else
{
if(EPwm3Regs.TBPRD > PWM3_TIMER_MIN)
{
EPwm3Regs.TBPRD--;
}
else
{
EPwm3TimerDirection = EPWM_TIMER_UP;
EPwm3Regs.TBPRD++;
}
}

ECap1PassCount++;

ECap1Regs.ECCLR.bit.CEVT4 = 1;
ECap1Regs.ECCLR.bit.INT = 1;
ECap1Regs.ECCTL2.bit.REARM = 1;

// Acknowledge this interrupt to receive more interrupts from group 4
PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;
}


void Fail()
{
asm(" ESTOP0");
}

//===========================================================================
// No more.
//===========================================================================

Thank you,

Akhil Pillai

TMDXICE110: GEL file issue

$
0
0

Part Number:TMDXICE110

Hi all,

I connected TMDXICE110 with CCS using the following Gel file.
C:\ti\ccsv8\ccs_base\emulation\boards\ice_amic110\gel\iceAMIC110.gel

After connecting, executing the following resulted in an error.
Scripts -> AMIC110 DDR Tests -> DDR_DataTransferCheck

When looking at the value of 0x80000000 in the memory browser, erroneous values were written.
This value changes randomly.

Next, I connected TMDXICE110 with CCS using the following Gel file.
C:\ti\ccsv8\ccs_base\emulation\boards\evmam3358\gel\AM335x_15x15_EVM.gel

The connection succeeded when we did the following.
Scripts -> AM335x DDR Tests -> DDR_DataTransferCheck

Why does DDR3 not work properly when using Gel for TMDXICE110?
Is this a gel file malfunction?

My CCS Version is v8.1.0.00011.

My JTAG is XDS200.

Best regards,
Sasaki

Linux/AM5728: RTOS on second ARM core

$
0
0

Part Number:AM5728

Tool/software: Linux

Hello:

My board is EVM-AM5728.

Now i want to run arm0 by  linux and arm1 by bios.

What do you think about the practicability of this plan? Can you give me some help about it ?


BLDC better motor driver needed

CC1310: NVS driver write issue

$
0
0

Part Number:CC1310

Hello,

I want to use the NVS diver to write in flash, and after i do a write of 8 bytes of data i change the offset of the next write to write after the 8 bytes but erases them, how can i do successive write without erasing the previous writes.

CC3220S-LAUNCHXL: Anyone got the Cloud OTA sample working on IAR?

$
0
0

Part Number:CC3220S-LAUNCHXL

Hi,

I've been trying to get the cloud OTA (github) sample working in IAR, but every time I try to build, it gives me the below error. How can I fix this?

AM3352: HW design

$
0
0

Part Number:AM3352

  1. I want to use “timer functionality but no RTC-only mode” , but if power fails I need to give power backup threw coin cell or super cap. How to do in our design
  2. Do I need to add VTT regulator termination in DDR3 SDRAM ?
  3. Do TI provide us AM335x BSP (Board support package) 

IWR1443: Pins are not in use

$
0
0

Part Number:IWR1443

What is recommendation for pins not used on a custom board?

CSI2/HS_Debug signals
Analog Test/GPADC inputs
SPI signals
GPIOs
etc.

They can be left unconnected or should be pull-up/down?
I checked HardwareDesignChecklist(SWRR150), but it is not clearly shown.

Thanks and regards,
KoT

UCC2897A:the calculation of UCC2897A

ISO5452: Minimal time propagation of IGBT driver ISO5452

$
0
0

Part Number:ISO5452

Dear you,

I have a question about the minimal time propagation of the IGBT driver ISO5452.

In datasheet, we find the typical and the maximal value but not the minimal.

Can you give me an idea for minimal propagation time value?

Best regards


Linux/EMBEDDED-PROGRAMMING: Write MLO, uboot.img, uImage,am335x-boneblack, rootfs on to eMMC/mNAND

$
0
0

Part Number:EMBEDDED-PROGRAMMING

Tool/software: Linux

Hi I'm a newbie of embeded linux.  I'm following this tutorial (embedjournal.com/.../)for boot make a custom linux . I have MLO, uboot.img, uImage,am335x-boneblack on the BOOT folder , and  bin, dev, home ,lost+found, mnt, run, sys, usr ,boot, etc, lib, media, proc, sbin, tmp ,var on RFS folder

I can boot my linux on beaglebone black with sdcard. So now I want to boot the linux with eMMC flash 

Sorry my English is not good. Does anybody have any idea of what did I do wrong or did I miss something?

RTOS/AM5728: DSP code results issue

$
0
0

Part Number:AM5728

Tool/software: TI-RTOS

When I run this code on x86 or arm, the output is what I intended, but the result was different on dsp.

The problem with dsp is that the address of the memory does not occasionally increase, and something seems to align the address.

The dsp, arm, x86  program has an optimization option of -O3.

test source is

main()
{
char *srcbuf = (char*)malloc(256);
char *destbuf =(char*)malloc(256);

int i;
for(i=0; i < 256; i++)
{
*(srcbuf+i) = i;
}

int *src = (int*)srcbuf;
int *dest = (int*)destbuf;

for(i=0; i < 256/4 ; i++)
{

*dest = *src;
printf("[%08x][%08x][%08x][%08x]\n",*dest, *src, dest, src);
dest+=2;
src = (char*)src+3;



}

free(srcbuf);
free(destbuf);

}

x86 or arm result

[03020100][03020100][00021110][00021008]
[06050403][06050403][00021118][0002100b]
[09080706][09080706][00021120][0002100e]
[0c0b0a09][0c0b0a09][00021128][00021011]
[0f0e0d0c][0f0e0d0c][00021130][00021014]
[1211100f][1211100f][00021138][00021017]
[15141312][15141312][00021140][0002101a]
[18171615][18171615][00021148][0002101d]
[1b1a1918][1b1a1918][00021150][00021020]
[1e1d1c1b][1e1d1c1b][00021158][00021023]
[21201f1e][21201f1e][00021160][00021026]
[24232221][24232221][00021168][00021029]
[27262524][27262524][00021170][0002102c]
[2a292827][2a292827][00021178][0002102f]
[2d2c2b2a][2d2c2b2a][00021180][00021032]
[302f2e2d][302f2e2d][00021188][00021035]
[33323130][33323130][00021190][00021038]
[36353433][36353433][00021198][0002103b]
[39383736][39383736][000211a0][0002103e]
[3c3b3a39][3c3b3a39][000211a8][00021041]
[3f3e3d3c][3f3e3d3c][000211b0][00021044]
[4241403f][4241403f][000211b8][00021047]
[45444342][45444342][000211c0][0002104a]
[48474645][48474645][000211c8][0002104d]
[4b4a4948][4b4a4948][000211d0][00021050]
[4e4d4c4b][4e4d4c4b][000211d8][00021053]
[51504f4e][51504f4e][000211e0][00021056]
[54535251][54535251][000211e8][00021059]
[57565554][57565554][000211f0][0002105c]
[5a595857][5a595857][000211f8][0002105f]
[5d5c5b5a][5d5c5b5a][00021200][00021062]
[605f5e5d][605f5e5d][00021208][00021065]
[63626160][63626160][00021210][00021068]
[66656463][66656463][00021218][0002106b]
[69686766][69686766][00021220][0002106e]
[6c6b6a69][6c6b6a69][00021228][00021071]
[6f6e6d6c][6f6e6d6c][00021230][00021074]
[7271706f][7271706f][00021238][00021077]
[75747372][75747372][00021240][0002107a]
[78777675][78777675][00021248][0002107d]
[7b7a7978][7b7a7978][00021250][00021080]
[7e7d7c7b][7e7d7c7b][00021258][00021083]
[81807f7e][81807f7e][00021260][00021086]
[84838281][84838281][00021268][00021089]
[87868584][87868584][00021270][0002108c]
[8a898887][8a898887][00021278][0002108f]
[8d8c8b8a][8d8c8b8a][00021280][00021092]
[908f8e8d][908f8e8d][00021288][00021095]
[93929190][93929190][00021290][00021098]
[96959493][96959493][00021298][0002109b]
[99989796][99989796][000212a0][0002109e]
[9c9b9a99][9c9b9a99][000212a8][000210a1]
[9f9e9d9c][9f9e9d9c][000212b0][000210a4]
[a2a1a09f][a2a1a09f][000212b8][000210a7]
[a5a4a3a2][a5a4a3a2][000212c0][000210aa]
[a8a7a6a5][a8a7a6a5][000212c8][000210ad]
[abaaa9a8][abaaa9a8][000212d0][000210b0]
[aeadacab][aeadacab][000212d8][000210b3]
[b1b0afae][b1b0afae][000212e0][000210b6]
[b4b3b2b1][b4b3b2b1][000212e8][000210b9]
[b7b6b5b4][b7b6b5b4][000212f0][000210bc]
[bab9b8b7][bab9b8b7][000212f8][000210bf]
[bdbcbbba][bdbcbbba][00021300][000210c2]
[c0bfbebd][c0bfbebd][00021308][000210c5]



dsp result

[03020100][03020100][95a1c318][95a1c210]
[03020100][03020100][95a1c320][95a1c213]
[07060504][07060504][95a1c328][95a1c216]
[0b0a0908][0b0a0908][95a1c330][95a1c219]
[0f0e0d0c][0f0e0d0c][95a1c338][95a1c21c]
[0f0e0d0c][0f0e0d0c][95a1c340][95a1c21f]
[13121110][13121110][95a1c348][95a1c222]
[17161514][17161514][95a1c350][95a1c225]
[1b1a1918][1b1a1918][95a1c358][95a1c228]
[1b1a1918][1b1a1918][95a1c360][95a1c22b]
[1f1e1d1c][1f1e1d1c][95a1c368][95a1c22e]
[23222120][23222120][95a1c370][95a1c231]
[27262524][27262524][95a1c378][95a1c234]
[27262524][27262524][95a1c380][95a1c237]
[2b2a2928][2b2a2928][95a1c388][95a1c23a]
[2f2e2d2c][2f2e2d2c][95a1c390][95a1c23d]
[33323130][33323130][95a1c398][95a1c240]
[33323130][33323130][95a1c3a0][95a1c243]
[37363534][37363534][95a1c3a8][95a1c246]
[3b3a3938][3b3a3938][95a1c3b0][95a1c249]
[3f3e3d3c][3f3e3d3c][95a1c3b8][95a1c24c]
[3f3e3d3c][3f3e3d3c][95a1c3c0][95a1c24f]
[43424140][43424140][95a1c3c8][95a1c252]
[47464544][47464544][95a1c3d0][95a1c255]
[4b4a4948][4b4a4948][95a1c3d8][95a1c258]
[4b4a4948][4b4a4948][95a1c3e0][95a1c25b]
[4f4e4d4c][4f4e4d4c][95a1c3e8][95a1c25e]
[53525150][53525150][95a1c3f0][95a1c261]
[57565554][57565554][95a1c3f8][95a1c264]
[57565554][57565554][95a1c400][95a1c267]
[5b5a5958][5b5a5958][95a1c408][95a1c26a]
[5f5e5d5c][5f5e5d5c][95a1c410][95a1c26d]
[63626160][63626160][95a1c418][95a1c270]
[63626160][63626160][95a1c420][95a1c273]
[67666564][67666564][95a1c428][95a1c276]
[6b6a6968][6b6a6968][95a1c430][95a1c279]
[6f6e6d6c][6f6e6d6c][95a1c438][95a1c27c]
[6f6e6d6c][6f6e6d6c][95a1c440][95a1c27f]
[73727170][73727170][95a1c448][95a1c282]
[77767574][77767574][95a1c450][95a1c285]
[7b7a7978][7b7a7978][95a1c458][95a1c288]
[7b7a7978][7b7a7978][95a1c460][95a1c28b]
[7f7e7d7c][7f7e7d7c][95a1c468][95a1c28e]
[83828180][83828180][95a1c470][95a1c291]
[87868584][87868584][95a1c478][95a1c294]
[87868584][87868584][95a1c480][95a1c297]
[8b8a8988][8b8a8988][95a1c488][95a1c29a]
[8f8e8d8c][8f8e8d8c][95a1c490][95a1c29d]
[93929190][93929190][95a1c498][95a1c2a0]
[93929190][93929190][95a1c4a0][95a1c2a3]
[97969594][97969594][95a1c4a8][95a1c2a6]
[9b9a9998][9b9a9998][95a1c4b0][95a1c2a9]
[9f9e9d9c][9f9e9d9c][95a1c4b8][95a1c2ac]
[9f9e9d9c][9f9e9d9c][95a1c4c0][95a1c2af]
[a3a2a1a0][a3a2a1a0][95a1c4c8][95a1c2b2]
[a7a6a5a4][a7a6a5a4][95a1c4d0][95a1c2b5]

...

I want to know why the output differs from the dsp only.

CCS/TMS320F28069: TMS320F28069

$
0
0

Part Number:TMS320F28069

Tool/software: Code Composer Studio

Hi sir,

I have doubt about BIOS and Non BIOS applications in tms320f28069, and please explain difference between BIOS and NON-BIOS System.

with reagards,

P M Manoj Kumar.

RTOS/AM5728: How to use CMEM memory on the DSP side?

$
0
0

Part Number:AM5728

Tool/software: TI-RTOS

HI:

Software version: TI_RTOS 4.3, hardware version: AM5728-ES2.0, custom board

Apply a 640-byte memory on the linux side via the CMEM_alloc2 function and use CMEM_getPhys to return the physical address. Then use MessageQ to send the virtual address and physical address to the DSP. What should I do to operate the CMEM memory on the DSP side?

Reference Code:

processor_sdk_rtos_am57xx-evm_4.3/ipc_3_47_01_00/linux/src/tests/

Compiler: CLA_type1 scratchpad linker definition

$
0
0

Tool/software: TI C/C++ Compiler

Hi all,

I'm trying to get two the scratchpad of two CLA objects (CLA1_main.c and CLA2_main.c) in one union.

But get the message 10030-D expecting section type (COPY, DSECT, or NOLOAD) instead of ".scratchpad"

[code]

  UNION (ClaScratchpads) > CLA_DRAMLS2 PAGE(DataPage)
   {     CLA1_main.obj(.scratchpad)
         CLA2_main.obj(.scratchpad)
   }

[/code]

while this declaration does work:

[code]

  ClaScratchpads > CLA_DRAMLS2 PAGE(DataPage)
   {     CLA1_main.obj(.scratchpad)
   }

[/code]

And what I would like to have is:

[code]

UNION (ClaScratchpads) > CLA_DRAMLS2 PAGE(DataPage)
{    GROUP (CLA1scratch)
    {   CLA1_main.obj (.scratchpad)
        CLA1_task1.obj(.scratchpad)
        CLA1_task2.obj(.scratchpad)
    }
    GROUP (CLA2scratch)
    {   CLA2_main.obj (.scratchpad)
        CLA2_task1.obj(.scratchpad)
        CLA2_task2.obj(.scratchpad)
    }
}

[/code]

Is this an issue in the compiler/linker?

Best regards,

Viewing all 262198 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>