Tool/software: TI-RTOS
Hi TI,
beaglebone black, processor SDK RTOS 4.2.0.9, ccs 7.4
I am working on usb bulk transfer, and tried to use USBHCDPipeWrite() instead of USBHCDPipeSchedule(). However this adjustment is hit by error message of "No source available for "do_AngelSWI(int, void *) ". Below attaches my codes,
void USBHCDCSendChars(unsigned char *pucData, uint32_t ulSize, tUSBHCDCInstance *USBHCDCDevice)
{
USBHCDPipeWrite( USBHCDCDevice->ulIndex,
USBHCDCDevice->ulBulkOutPipe,
pucData,
ulSize);
// USBHCDPipeSchedule( USBHCDCDevice->ulIndex,
// USBHCDCDevice->ulBulkOutPipe,
// pucData,
// ulSize);
}
I am wondering whether this error actually relates to stack/heap memory size. There is an icf file in IAR system (I am more familiar with) defines
define symbol __ICFEDIT_intvec_start__ = 0xFFFF0000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x00000000;
define symbol __ICFEDIT_region_RAM_start__ = 0x80000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x87FFFFF8;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x10000;
define symbol __ICFEDIT_size_svcstack__ = 0x1300;
define symbol __ICFEDIT_size_irqstack__ = 0x3000;
define symbol __ICFEDIT_size_fiqstack__ = 0x3000;
define symbol __ICFEDIT_size_undstack__ = 0x1300;
define symbol __ICFEDIT_size_abtstack__ = 0x1300;
define symbol __ICFEDIT_size_heap__ = 0x20000;
my questions come in two-fold,
1. Please advise how to define stack/heap memory in CCS7 for TI_RTOS.
2. is this error specific for my codes, i.e., USBHCDPipeWrite must follow particular procedure.
Please advise, thanks in advance
Mike