Author |
Message |
Topic: Save parameter to FLASH in 16f1508 |
edi
Replies: 5
Views: 12780
|
Forum: General CCS C Discussion Posted: Fri Mar 11, 2016 2:36 am Subject: Save parameter to FLASH in 16f1508 |
Many thanks. |
Topic: Save parameter to FLASH in 16f1508 |
edi
Replies: 5
Views: 12780
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2016 11:27 pm Subject: Save parameter to FLASH in 16f1508 |
Thanks for your reply.
Does the CCS commands do all the job behind? Including read all the row before (read/modify/write).
Do I need to use more commands beside:
write_program_memory
read_program_ ... |
Topic: Save parameter to FLASH in 16f1508 |
edi
Replies: 5
Views: 12780
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2016 3:55 pm Subject: Save parameter to FLASH in 16f1508 |
What is the simplest way to write 1 byte (int8) to the flash of the pic 16f1508?
What is the way to read this int8?
And what I need to do if I want to re-program this single byte with a new value. |
Topic: Flash write and read functions - 16F526 |
edi
Replies: 11
Views: 26491
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2016 3:45 pm Subject: Flash write and read functions - 16F526 |
You are right apology. |
Topic: Flash write and read functions - 16F526 |
edi
Replies: 11
Views: 26491
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2016 3:33 pm Subject: Flash write and read functions - 16F526 |
So what is the simplest way to write 1 byte (int8) to the flash of 16f1508?
What is the way to read this int8?
And what I need to do if I want to re-program this single byte with a new value. |
Topic: Flash write and read functions - 16F526 |
edi
Replies: 11
Views: 26491
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2016 2:11 pm Subject: Flash write and read functions - 16F526 |
I'm using PCWHD 5.015 |
Topic: Flash write and read functions - 16F526 |
edi
Replies: 11
Views: 26491
|
Forum: General CCS C Discussion Posted: Thu Mar 10, 2016 2:06 pm Subject: Flash write on 16F1508 |
Ttelmah thanks for your detailed example.
I'm using 16F1508 and need to store in the FLASH some bytes (1-2) for ID of the board and read them from time to time.
I tried to use your code but get th ... |
Topic: USB - where to start |
edi
Replies: 3
Views: 7035
|
Forum: General CCS C Discussion Posted: Mon Nov 10, 2014 9:25 am Subject: USB - where to start |
Thanks for your reply. |
Topic: USB - where to start |
edi
Replies: 3
Views: 7035
|
Forum: General CCS C Discussion Posted: Mon Nov 10, 2014 1:48 am Subject: USB - where to start |
I'm starting a new project of a simple data logger.
The PIC supposed to save some small amount of data (temperature, humidity, altitude, etc.).
Every few days need to plug to a PC via USB and downlo ... |
Topic: Store board serial number in High-Endurance Flash |
edi
Replies: 3
Views: 6856
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 10:53 am Subject: Store board serial number in High-Endurance Flash |
Many thanks.
Do you have an example code for the erase + program a short string please? |
Topic: Store board serial number in High-Endurance Flash |
edi
Replies: 3
Views: 6856
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 3:53 am Subject: Store board serial number in High-Endurance Flash |
Can someone please help me with a code to store parameters like board serial number or product ID into the "High-Endurance Flash" like in 16F1507 device?
Can I store the parameters during r ... |
Topic: Possible to Output_high & check input in place of a pull |
edi
Replies: 8
Views: 14110
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 6:33 am Subject: Possible to Output_high & check input in place of a pull |
Thanks a lot.
PU will be added... |
Topic: Save the need of pull up |
edi
Replies: 5
Views: 7944
|
Forum: General CCS C Discussion Posted: Wed Mar 05, 2014 12:24 am Subject: Save the need of pull up |
I have a very cost sensitive project so I want to save the need of external pull ups resistors on inputs pins.
Is there a trick of eliminate the needs of external pull ups for inputs from switches to ... |
Topic: 7 segment flickering problem |
edi
Replies: 6
Views: 11684
|
Forum: General CCS C Discussion Posted: Wed Jan 15, 2014 6:33 am Subject: 7 segment flickering problem |
Thanks.
Is there an elegant way to perform the 2Sec on time?
Or just add counter that count the timer interrupts and after crossing threshold to turn the display off? |
Topic: 7 segment flickering problem |
edi
Replies: 6
Views: 11684
|
Forum: General CCS C Discussion Posted: Wed Jan 15, 2014 12:34 am Subject: Making the display light for short period |
Ttelmah, your code works perfect thanks.
In my project the 7 Seg should light only when the counter is change and only for short period of 2-3 sec.
I will appreciate if you suggest a proper way to ... |
|