On 04/03/2012 08:23 AM, [email protected] wrote:
Hi,
In my a Linux based device there are CPU( yes, it is MIPS) and BIOS
and SDRAM modules.
If I have BIOS chip in that device, I can easily write to SDRAM and I
read the same value I wrote.
But if I remove BIOS I can not read the same values that should have
been written.
( Yes, MIPS CPU is in debug mode as well)
I thought that JTAG depends on working CPU only but NOT on BIOS.
Is that so ?
Or BIOS can prevent/mask the values coming to/from SDRAM?
If your description above is right, it does not *prevent* SDRAM
operation, but you *need* the BIOS for SDRAM to operate, right?
Most SDRAM controllers require some setup after reset. That can be done
by bootloader/BIOS (which means if you halt the target at the reset
vector, there will be no working SDRAM), or by setup scripts in OpenOCD.
The exact steps depend on your SoC - the datasheet for the SDRAM
controller should tell you what you need to write to which registers.
cu
Michael
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel