loup-garou
New Member
do anybody have a C pogram exemple of writing/reading in flash memory ? (without using of I2C or SPI )
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
loup-garou said:hi,
are there any build-in functions suitable for my application ?
Nigel Goodwin said:Well you've got the compiler, what do the instructions say?.
But as it's a completely obscure requirement, I would say it's VERY unlikely.
Assuming it's a normal addressed memory?, you need a LOT of I/O pins to feed it, but it's simple enough to do.
Nigel Goodwin said:Don't do C, so I've no idea.
loup-garou said:thank you for your replays Nigel Goodwin & blueroomelectronics ,
I have a question, how can I send ,via PIC's output ports, hundreds of ns (nano seconds) timing frames (Attached Thumbnails in one of my lasts posts) ?
should I use timers and prescalers to get this short cycles or is it possible by another way ?
how will be the procedure in C code ?
Nigel Goodwin said:I don't see as you need any great accuracy for that timing, it's only giving minimum time requirements.
with C you probably wouldn't need any delays at all - the code itself would delay enough.
blueroomelectronics said:It's an old Parallax app note on interfacing dynamic RAM with the ancient 16F54 using the obscure CVASM assembler (I used to love this assembler). Might give you some insight.
loup-garou said:can you explain me more this detail ?
Nigel Goodwin said:The nS delays are all less than a single assembler NOP, any C instructions are going to be longer than that - so there's no problem about exceeding the minimum times.