Questions tagged [xc16]

3 questions
2
votes
1 answer

Pointer to array gets highest bit toggled by ... compiler? (dsPIC33EP & XC16)

Brief: Pointer to a const-int-array, nested in a struct Using ptr to this struct (type) in various places ptr-deref causes address-error, because value was changed from i.e. 0x00AE to 0x80AE -> highest bit was toggled. Detailed: Declarations…
Raphael B.
  • 31
  • 5
0
votes
0 answers

dsPIC33CH512MP508 CAN Transmit Error

I am using dspic33ch512mp508. When I call the CAN1_Transmit function, it transmitting continuously with 100us second gaps. Even if I put it in the 1 second timer, it doesn't work.I tested it, the timer works, it doesn't send for the first second,…
emnbke
  • 9
  • 2
0
votes
0 answers

Makefile error with my MPLAB X

I am working on a PIC24 project, and I went to the project folder and moved a file to another directory inside the project folder, however, I got a makefile error. I created a new project and copied the source codes into the project I still get the…
Embedded_Dude
  • 589
  • 4
  • 25