CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 6 matches
CCS Forum Index
Author Message
  Topic: Using Canbus and TCPIP at the same time
user_1066

Replies: 3
Views: 11464

PostForum: General CCS C Discussion   Posted: Wed Nov 15, 2017 9:12 am   Subject: Using Canbus and TCPIP at the same time
Thanks for the Help.

After looking further I found that

#BANK_DMA
uint16_t ecan1_message_buffer[32][8];


in can-PIC24.c is giving

"Not enough RAM for al ...
  Topic: Using Canbus and TCPIP at the same time
user_1066

Replies: 3
Views: 11464

PostForum: General CCS C Discussion   Posted: Wed Nov 15, 2017 7:28 am   Subject: Using Canbus and TCPIP at the same time
Hi

I'm working on a project that uses TCPIP via an ENC28J60 on a dsPic33. All works fine.

I need to add canbus to the project but immediately run into compiler issues.

I've gone back and used ...
  Topic: Issue passing parameters to a function
user_1066

Replies: 10
Views: 20687

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2017 10:35 am   Subject: Issue passing parameters to a function
mmm, that fixed it,
That item "format" in the struct is a unsigned int8, and i did try casting it before passing it over.

Could it be the way the struct is packed? I normally work on ...
  Topic: Issue passing parameters to a function
user_1066

Replies: 10
Views: 20687

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2017 9:29 am   Subject: Issue passing parameters to a function
Yes interrupts are being used, the failure happens 100% time from that call. If it happened only sometimes i would suspect interrupts.

The stack size is currently set to 0x300, but I did increase t ...
  Topic: Issue passing parameters to a function
user_1066

Replies: 10
Views: 20687

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2017 5:35 am   Subject: Issue passing parameters to a function
Hi

I guess letting you know which compiler and hardware might have been useful.

I'm using PCD 5.068, the latest i think, but have also tried on 5.064.
The chip is a dsPIC33EP512MC806.

I've ...
  Topic: Issue passing parameters to a function
user_1066

Replies: 10
Views: 20687

PostForum: General CCS C Discussion   Posted: Fri Feb 10, 2017 4:44 am   Subject: Issue passing parameters to a function
Hi

I've stumbled across an issue that I've not been able to get to the bottom off.

i'm calling a function declared as

void function (int8 var1, int8 var2 , int8 var3, int8 var4, int16 va ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group