>>
>> Thanks for your reply. I'm sure that the flash is not empty, it contains
>> the original firmware of the device which boots up correctly.
>
>OK. Then the next step should be to get a dump of the correct memory area to
>display the flash contents.
>
Ok, I tried to reset halt the board, but the problem is that it does not have a
hardware srst signal pin. According to
the documentation this should be required to have it halted at the reset
vector. It does however have
a trst pin, but I'm not sure if I configured it correctly (using reset_config
trst_only and enabling the trst cable option in the interface/buspirate.cfg as
well) and according
to the documentation this can be simulated by using TMS signalling (so maybe it
doesn't really matter).
I tried several reads from the flash memory after halting the board, and most
of the time got 0xffff's as result (same result when querying using cfi)
Sometimes I saw other (repetitive) data coming out, like 0xbbbb, but mostly
everything was filled with 0xf's. The modem does work correctly, tho.
This is probably because I can't halt it directly so it starts executing the
boot loader.
I think there must be some kind of chip enable that has to be triggered on the
flash in order to access it even after booting. I found another reference
specific to this
issue (not being able to detect flash memory on this board) on another website.
http://www.usbjtag.com/jtagdevices/sb5100.php
They advise to use a bunch of 'poke' commands with their closed source utility
poke fffe230c 3
poke fffe2304 0
poke fffe2300 a
poke fffe2300 9
poke fffe2300 9
poke fffe2300 9
poke fffe2300 9
poke fffe2300 9
poke fffe2300 9
poke fffe2300 9
poke fffe2300 9
poke fffe2300 1c
I saw that openOCD contains the poke command, too, when compiled with the
--enable-ioutil option. What is exactly the difference between poke (writing a
word) and mww here?
I expect mww to be used for memory operations only and poke for accessing
registers, as the addresses used here are not in the declared ram or flash
range (0x8000000 - 0x9fc00000)
Thanks,
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel