Post Reply 
41CL Maximum registers for DATA/PROGS storage
07-20-2018, 12:20 PM
Post: #9
RE: 41CL Maximum registers for DATA/PROGS storage
Patrik,

(07-20-2018 11:39 AM)CY-CL Wrote:  Your information about the RAMBOX was very helpfully for me, I was not aware that I can set an XROM number for a PRGM-STORE with INITPG.
I have now an easy setup after a complete MEMORY LOST. I connect over the PIL Box to an IL-Drive and load an Autorun/Program.
After 2 minutes my CL is configured as OSX3 with WARP, RAMBOX etc… and all RAM Pages are filled up with the PRGM-STORE’s.

Great! Smile

(07-20-2018 11:39 AM)CY-CL Wrote:  I made some tests to store a RAM Page on a Flash Sector, but when I copy the Flash Sector back to a RAM Page, something goes wrong. The content is complete damaged and useless.

Flash does not work like RAM, I am at the office right now and cannot give you the exact procedure but here is the pseudo code that you need to do.
  1. copy Flash sector (64K) into 8 continuous RAM pages (ex.: 0x810..0x817)
  2. update RAM pages (4K) that need to be updated (ex.: within 0x810..0x817)
  3. erase Flash sector (64K)
  4. copy back the 8 continuous RAM pages (ex.: 0x810..0x817) into the newly erased Flash sector (64K)

Sylvain
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 41CL Maximum registers for DATA/PROGS storage - Sylvain Cote - 07-20-2018 12:20 PM



User(s) browsing this thread: 1 Guest(s)