Author |
Message |
Topic: Non-volatile memory dilemna..... |
epitalon
Replies: 22
Views: 34467
|
Forum: General CCS C Discussion Posted: Wed Jan 27, 2016 4:25 am Subject: Non-volatile memory dilemna..... |
Hi JAM2014,
for some of my projects, I use a software library from Microchip that allows emulating an EEPROM in program flash.
I adapted it to CCS compiler.
Look at
http://www.microchip.com/ste ... |
Topic: Writing to flash rom |
epitalon
Replies: 3
Views: 8115
|
Forum: General CCS C Discussion Posted: Tue Jan 26, 2016 8:17 am Subject: Writing to flash rom |
Make it a critical section. In other words disable interrupts before and re-enable after.
Yes, I used that solution but I wonder if there is a fix in the compiler or a compilation option.
The PIC ... |
Topic: Writing to flash rom |
epitalon
Replies: 3
Views: 8115
|
Forum: General CCS C Discussion Posted: Tue Jan 26, 2016 6:10 am Subject: Writing to flash rom |
Hello all,
I use a program (supplied by CCS) that emulates EEPROM by writing data into program flash ROM.
It works as long there is no interrupt during write to flash. I realize that the problem ... |
Topic: conversion from int32 to float32 |
epitalon
Replies: 2
Views: 6083
|
Forum: General CCS C Discussion Posted: Fri Nov 29, 2013 3:13 am Subject: conversion from int32 to float32 |
Hi Ttelmah,
I made the test. And you are right. It is only the printf that goes wrong.
Thanks for your help ! |
Topic: conversion from int32 to float32 |
epitalon
Replies: 2
Views: 6083
|
Forum: General CCS C Discussion Posted: Thu Nov 28, 2013 12:38 pm Subject: conversion from int32 to float32 |
Hi all,
I use a PCH/PCW compiler V4.101 for a PIC 18F86J50.
I experience problems when converting some large integers to float.
The following simple test :
signed int32 j;
for (j = 148000 ... |
Topic: interpolation method |
epitalon
Replies: 9
Views: 10828
|
Forum: General CCS C Discussion Posted: Thu Mar 17, 2011 3:20 am Subject: interpolation method |
My interpolator works in the the available time
That is clever. But achieved precision is limited.
I wonder if you could achieve better precision and similar or better execution time by precal ... |
Topic: interpolation method |
epitalon
Replies: 9
Views: 10828
|
Forum: General CCS C Discussion Posted: Tue Mar 15, 2011 12:47 pm Subject: interpolation method |
I can not use lookup tables because the user can set the ANA_L, ANA_H, OUT_L and OUT_H himself...
You can compute the look up table each time the user changes one value. Would it be too costly ... |
Topic: setjmp.h for PCH |
epitalon
Replies: 0
Views: 23597
|
Forum: Code Library Posted: Tue Mar 15, 2011 12:20 pm Subject: setjmp.h for PCH |
Hi,
I use a PIC18F4550 along with PCH compiler version 4.104.
I bumped into a bug in the library file setjmp.h
setjmp.h usage :
1. The longjmp() function causes program execution to resume ... |
Topic: Pic 32bits compiler |
epitalon
Replies: 4
Views: 4645
|
Forum: General CCS C Discussion Posted: Thu Mar 18, 2010 12:45 pm Subject: Pic 32bits compiler |
Thanks for the information. |
Topic: Pic 32bits compiler |
epitalon
Replies: 4
Views: 4645
|
Forum: General CCS C Discussion Posted: Wed Mar 17, 2010 10:38 am Subject: Pic 32bits compiler |
Hello all,
I am about to switch from PIC18 to PIC32 family;
I need to choose a compiler and need some advice.
Which, in your opinion, is the best :
CCS PCD
or
Microchip C30 ?
Not that I a ... |
Topic: Reading and writing to USB |
epitalon
Replies: 17
Views: 22020
|
Forum: General CCS C Discussion Posted: Thu Mar 11, 2010 11:42 am Subject: USB Host (and OTG) software example |
Hi all,
one year ago, someone asked if Microchip USB OTG stack had been ported to CCS compiler....
Maybe today, this has been done ?
Or there exist some partial samples for USB Host on PIC32 ? ... |
|