Hi all,
In a RZ system with an external flash rom, a small program is copied to RAM which in itself speeds up the Flash access (see attached fragment) and copies other ROM sections to RAM.
Eventually the user program now residing in RAM is called. This user program will copy the data section (containing .data .bss and COMMON) from ROM to RAM.
In this step a weird phenomenon is encountered: when reading the contents of the ROM section each 32 bit word is filled with 0 (zero). When stepping this copy routine in E2 studio the correct values are copied, but if changed to 8 bit copy operations also the 0 (zero) value is copied.
It seems as if the access to the flash rom has become faulty...
What needs to be performed to keep correct access to the flash rom for the RZ perspective?
Is the attached code fragment correct or should the flash rom be left in another state?
Are there any examples for proper flash access?
Thanx for your response,
Ischa
(Please visit the site to view this file)