I'm using a C167CS-LM with external Flash und RAM!
Has anyone of you implemented a function to store some data to the Flash?
Thanks for your postings!
Robert Heinzlreiter
Read-Only
Author Brad Holeman
Posted 9-Sep-2003 20:46 GMT
Toolset C166
RE: in-system flash programming
Brad Holeman
I have and it works quite well. The way to do it is setup up your system to run out of ram while programming the flash.
Read-Only
Author Robert Heinzlreiter
Posted 10-Sep-2003 07:15 GMT
Toolset C166
RE: in-system flash programming
Robert Heinzlreiter
how do you write to the flash?
Read-Only
Author Andy Neil
Posted 10-Sep-2003 08:20 GMT
Toolset C166
RE: in-system flash programming
Andy Neil
You would need to read the Data Sheet(s) for your flash device(s) to find their programming (and erasing) details.
Read-Only
Author Robert Heinzlreiter
Posted 10-Sep-2003 10:15 GMT
Toolset C166
RE: in-system flash programming
Robert Heinzlreiter
which command do you use to send this commands to the flash?
Read-Only
Author Brad Holeman
Posted 10-Sep-2003 13:43 GMT
Toolset C166
RE: in-system flash programming
Brad Holeman
Robert,
LISTEN!!!!!!!!
You totally ignored Andy's correct advice. You have to get the data sheet for the flash device to know how to program it. It generally is as easy writing data to an address.
What flash device are you are trying to program?
Read-Only
Author Robert Heinzlreiter
Posted 10-Sep-2003 15:17 GMT
Toolset C166
RE: in-system flash programming
Robert Heinzlreiter
i looked at the datasheet and have implemented the routines now.
But I have a problem with pointers.
With WORD pointers my routines works, but I need long pointers cause of the address space and then e.g. the erase command has no effect!
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.