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 31 matches
CCS Forum Index
Author Message
  Topic: [Solved] dsPIC33CH512MP505 and ADC issue
adcor

Replies: 3
Views: 13118

PostForum: General CCS C Discussion   Posted: Wed Jun 02, 2021 4:18 am   Subject: SOLVED - dsPIC33CH512MP505 and ADC issue
Yes it did the trick. Thank you!
  Topic: [Solved] dsPIC33CH512MP505 and ADC issue
adcor

Replies: 3
Views: 13118

PostForum: General CCS C Discussion   Posted: Wed Jun 02, 2021 12:17 am   Subject: [Solved] dsPIC33CH512MP505 and ADC issue
I am trying to read a simple ADC value but it does not work. The loop stops after trying to to read_adc(), no printouts. Am I missing something? compiler v5.103
thanks
#include <33CH512MP505.h> ...
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Fri Jan 08, 2021 5:46 pm   Subject: SOLVED -Handling big data array in ROM
I got it working by not using LOCATION=0x4000 as a physical address interpretation rather as a label id e.g. LOCATION=ph1 and then use this label into the function retrieving the data from the ROM. M ...
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Fri Jan 08, 2021 4:27 pm   Subject: Handling big data array in ROM
Thanks MrTT, the only way I could make it work is to look in the lst file to see where the compiler put the ROM data and use that address as starting range as in "locn".
There is no correla ...
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Mon Jan 04, 2021 9:18 pm   Subject: Handling big data array in ROM
No luck, I compiled this program where "test1_16.raw" was either 1kB or 16 bytes size and the compiler puts the data in the #015xxx address area for some reason. However I changed the proces ...
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Mon Jan 04, 2021 6:10 pm   Subject: Handling big data array in ROM
At 0x16000 I think there is some memory violation...the chip is resetting in a loop.
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Mon Jan 04, 2021 3:47 pm   Subject: Handling big data array in ROM
Thanks Mr TT, I made some progress with your math. For a full screen resolution I do have some sort of image showing somewhere in the middle and squeezed...
However I wanted to get some grasp on this ...
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Fri Jan 01, 2021 9:29 pm   Subject: Handling big data array in ROM
Thanks, it is a picture in my case 128w x 151h pixels.
I tried the #import way but it draws some garbage, sort of horizontal
bands.
Since I have an int16 for each pixel, it means I have 256 byte ...
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Fri Jan 01, 2021 3:40 am   Subject: Handling big data array in ROM
Thanks for your solution, I'll try it.
So, index variable is total number of bytes from the raw file and basically in 8 bytes used in ROM I can retrieve 3 x int16 data.
I could also try to boost th ...
  Topic: Handling big data array in ROM
adcor

Replies: 14
Views: 29540

PostForum: General CCS C Discussion   Posted: Wed Dec 30, 2020 6:52 pm   Subject: Handling big data array in ROM
I am using a dspic33ch128mp505 with 128k flash to display on a ST7735 GLCD 128x160 resolution (compiler 5.097)
On full resolution the data takes 20.5k pixels x 16bit space.It is declared as ROM unsig ...
  Topic: Issues with setting IO on SOSC
adcor

Replies: 2
Views: 12087

PostForum: General CCS C Discussion   Posted: Sat Dec 12, 2020 1:57 pm   Subject: Issues with setting IO on SOSC
Thank you, I was hoping to use the entire 16-bit PortB structure ...looks like I have to chnge the processor.
  Topic: Issues with setting IO on SOSC
adcor

Replies: 2
Views: 12087

PostForum: General CCS C Discussion   Posted: Sat Dec 12, 2020 3:30 am   Subject: Issues with setting IO on SOSC
I can not set the IO SOSC pins RB4/RA4 on 24FJ64GA004, compiler 5.093.
I have tried different fuses configurations but no luck. In the lst file there is always SOSC_SEC fuse set. I have a LED on RA8 ...
  Topic: SSD1306 driver with big fonts issues
adcor

Replies: 11
Views: 22000

PostForum: General CCS C Discussion   Posted: Thu Oct 04, 2018 2:51 am   Subject: SSD1306 driver with big fonts issues
Yes, it worked. You are the expert !
thank you very much!
  Topic: SSD1306 driver with big fonts issues
adcor

Replies: 11
Views: 22000

PostForum: General CCS C Discussion   Posted: Thu Oct 04, 2018 2:30 am   Subject: SSD1306 driver with big fonts issues
wow, thanks for your effort. Do you think is a compiler bug? or a weird chip?

I wonder if it is the extra crypto engine from this chip which is the culprit in manipulating the data somehow, althoug ...
  Topic: SSD1306 driver with big fonts issues
adcor

Replies: 11
Views: 22000

PostForum: General CCS C Discussion   Posted: Thu Oct 04, 2018 1:17 am   Subject: SSD1306 driver with big fonts issues
I tried to lower the speed but it does not work, and it does not make sense in this case because OLED_text(text,strlen(text)) works on GB202. It is only OLED_BigText functions which display a white s ...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group