Have replaced TWR-MEM board with a new one. Still have same memory read/write problem. Addressability is correct. Simple peek/poke works correctly. Tried several read after write techniques and NOP delays to change timing. Far more errors are counted if I init the memory bits to one rather than zero. Writing with integer boundary rather than byte boundary does not change situation.
I cannot reliably read/write to the TWR-MEM board work with the K60 tower and have submitted a support ticket.
Re: memory test with the K60 tower and TWR-MEM board.
When I tested the TWR-MEM MRAM chip using the Freescale test software about 25% of the 512kb bytes were in error.
Freescale support reproduced the problem and verified that it is their problem. No answer as to
what will be their next step.
I'm newbie to ARM and trying to utilize MRAM. Believe MRAM is interfaced as FlexBus which is addressed at x6000-0000. Looked over example of mfs/example/ramdisk (in Shell_Task) and don't understand how linker moved RAM_DISK_BASE to x6000-0000. It would seem the ram disk was allocated in SRAM. In what units is the ram disk size 0x1800?
Bill
Hi Microfelix,
In general the TWR-MEM card was validated with the TWR-MCF52259.
If you open TWR-MCF52259 projects look for the MRAM target that is using the MRAM on the TWRMEM card.
Hope this helps.
Regards,
David
Hi Maurizio,
I was making a fast attemp to test the MRAM and found the following the TWR-K60N512.h:
/*
* MRAM cannot be reliably used on TWR_K60N512 due to a hardware conflict unless a hw modification is done:
* disconnecting IrDA receiver e.g. by removing R14 makes MRAM usage possible.
*/
//#define BSP_EXTERNAL_MRAM_RAM_SIZE ((uint_32)__EXTERNAL_MRAM_RAM_SIZE)
I was able to add the TWR-MEM card to my K60 setup and access the MRAM OK.
Regards,
David
Maybe in next revision of the TWR-K60N512 of the board the hardware engineers will put a jumper on that IR led to connect if I want to use that future or if I want to use an external ram memory.
This is only a suggestion i hope will be sent to the devs.
Thank you,
Electronic and Software Engineer
Alexandru Nan
Using TWR-MEM with K60 tower. Can read/write various MRAM locations with no issue but using a memory
test program in MRAM address space found many bit errors. Have made the IRDA R14 removal. TWR-MEM
jumpered J10 on, J11 off, J16 off.
Is my problem jumper configuration, bad board, or ? Does someone have this board/K60 working with no issues?