Author |
Message |
Topic: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Tronic19
Replies: 12
Views: 30277
|
Forum: General CCS C Discussion Posted: Thu May 05, 2022 2:15 am Subject: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
I understand but there is HUGE MATTER with that...
My data stored are very important, and i need to kept them always,
even if i upgrate my program with a new flash.
With that directive, it wro ... |
Topic: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Tronic19
Replies: 12
Views: 30277
|
Forum: General CCS C Discussion Posted: Thu May 05, 2022 1:25 am Subject: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Ok finally i found a way to check and now i am sure nothing runs :(
Here is the problems i found,
1) i need to remove the #ROM define, because if not , it wrotes always 1,2,3,4 at the adress F8 ... |
Topic: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Tronic19
Replies: 12
Views: 30277
|
Forum: General CCS C Discussion Posted: Wed May 04, 2022 10:35 am Subject: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Yep sorry about this, i am using a 16F1578...(SSOP20).
I update the code, and now after trying to program: 0xCF (207 dec), i read (after switch off and switch on again, and making ONLY read sequenc ... |
Topic: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Tronic19
Replies: 12
Views: 30277
|
Forum: General CCS C Discussion Posted: Wed May 04, 2022 8:31 am Subject: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
I need only to backup some data of my product.
(Tiny needs for now, 3 or 4 bytes is OK)
I check your code, but not running.
Value i read all the time is 535 (decimal value)
For your info, i ca ... |
Topic: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Tronic19
Replies: 12
Views: 30277
|
Forum: General CCS C Discussion Posted: Wed May 04, 2022 3:30 am Subject: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Thanks a lot for fast reply:)
I got the last release of the compiler.
Yes, it is painful but i have no choice, my space on pcb is fully optimised (tricky also) and no more space available for ad ... |
Topic: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Tronic19
Replies: 12
Views: 30277
|
Forum: General CCS C Discussion Posted: Wed May 04, 2022 1:18 am Subject: PIC16F157x How to flash read-write on it ? 128 bytes HEF |
Hi to all,
On classic PICs i use the integrated functions from CCS.
But actually, i need to read and write some bytes (non-volatile) with a PIC16F1578...
Does someone got a library to do that ? ... |
|